Implement MCP 2026-07-28 (#2286)
Co-authored-by: Matt <77928207+mattzcarey@users.noreply.github.com> Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
e4227d135c
commit
1823aae891
1 changed files with 69131 additions and 9001 deletions
|
|
@ -112,16 +112,19 @@ Then:
|
|||
|
||||
### Running Examples
|
||||
|
||||
See [`examples/server/README.md`](examples/server/README.md) and [`examples/client/README.md`](examples/client/README.md) for a full list of runnable examples.
|
||||
See [`examples/README.md`](examples/README.md) for the full list of runnable examples — one self-verifying client/server pair per directory.
|
||||
|
||||
Quick start:
|
||||
|
||||
```bash
|
||||
# Run a server example
|
||||
pnpm --filter @modelcontextprotocol/examples-server exec tsx src/simpleStreamableHttp.ts
|
||||
# Run any story's server
|
||||
pnpm --filter @mcp-examples/tools server -- --http --port 3000
|
||||
|
||||
# Run a client example (in another terminal)
|
||||
pnpm --filter @modelcontextprotocol/examples-client exec tsx src/simpleStreamableHttp.ts
|
||||
# Run its client (in another terminal)
|
||||
pnpm --filter @mcp-examples/tools client -- --http http://127.0.0.1:3000/
|
||||
|
||||
# Run every story over every transport × era leg
|
||||
pnpm run:examples
|
||||
```
|
||||
|
||||
## Releasing v1.x Patches
|
||||
|
|
|
|||
Loading…
Reference in a new issue