Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fix-incur-mcp-server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'curl.md': patch
---

Bumped `incur` to `0.4.11` to fix a startup crash (`SyntaxError: ... does not provide an export named 'StdioServerTransport'`) caused by `incur@0.4.5`'s static root import of `StdioServerTransport` from `@modelcontextprotocol/server`, which moved that export to the `./stdio` subpath in `2.0.0-alpha.4` and later.
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"dependencies": {
"hono": "catalog:",
"incur": "0.4.5",
"incur": "0.4.11",
"picocolors": "1.1.1"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ test('help', async () => {

Integrations:
completions Generate shell completion script
mcp add Register as MCP server
mcp Register as MCP server (add, doctor)
skills Sync skill files to agents (add, list)

Global Options:
Expand Down
21 changes: 20 additions & 1 deletion docs/guide/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,18 @@ $ curl.md completions <bash|fish|nushell|zsh>
| -------- | -------------------------- | --------------------------------- |
| `shell` | `bash\|fish\|nushell\|zsh` | Shell to generate completions for |

<a id="mcp"></a>
### `mcp`

Register as MCP server (add, doctor)

| Command | Description |
| ----------------------- | -------------------------------------------- |
| [`add`](#mcp-add) | Register as MCP server |
| [`doctor`](#mcp-doctor) | Validate MCP server startup and tool listing |

<a id="mcp-add"></a>
### `mcp add`
#### `add`

Register as MCP server

Expand All @@ -663,6 +673,15 @@ $ curl.md mcp add [options]
| `--command, -c` | `string` | Override the command agents will run (e.g. "pnpm my-cli --mcp") |
| `--no-global` | `boolean` | Install to project instead of globally |

<a id="mcp-doctor"></a>
#### `doctor`

Validate MCP server startup and tool listing

```sh
$ curl.md mcp doctor
```

<a id="skills"></a>
### `skills`

Expand Down
17 changes: 12 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading