Commit graph typescript-sdk/docs
Author SHA1 Message Date
Felix Weinberger
42cb6b2b72
feat(compat): export InMemoryTransport from public API surface (#1834)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-04-27 13:24:05 +01:00
Jonathan Hefner
7d7e62ccc8
Update README.md and docs/faq.md to link full quickstart guides (#1554)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-22 19:42:15 +01:00
Konstantin Konstantinov
1eb80c4d08
v2: add guard methods (#1842) 2026-04-11 16:29:13 +03:00
Konstantin Konstantinov
7ba58dac51
v2: cf workers fix (#1843)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-04-04 08:40:45 +03:00
Jonathan Hefner
653c5d000c
Rewrite docs/server.md as a code-heavy, prose-light how-to guide (#1552)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 12:57:11 +00:00
Konstantin Konstantinov
5f32a90f0d
fix(core): make fromJsonSchema() use runtime-aware default validator … (#1825)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:06:08 +01:00
Konstantin Konstantinov
2fd7f5ff26
v2: Web standards Request object in ctx (#1822)
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-31 12:02:37 +01:00
Felix Weinberger
045c62a1e0
feat!: remove WebSocketClientTransport (#1783)
Co-authored-by: Konstantin Konstantinov <KKonstantinov@users.noreply.github.com>
2026-03-30 21:58:26 +03:00
Felix Weinberger
9d924b1550
docs: note type vs interface for structuredContent (#1784) 2026-03-30 17:27:34 +00:00
Konstantin Konstantinov
e86b1835cc
[v2] Minor task-related refactors (#1758)
Co-authored-by: Luca Chang <lucalc@amazon.com>
Co-authored-by: Luca Chang <131398524+LucaButBoring@users.noreply.github.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-27 20:25:06 +00:00
Konstantin Konstantinov
5516c1ba66
chore: add instructions docs (#1778) 2026-03-27 12:19:32 +00:00
Konstantin Konstantinov
0ed723748b
v2: limit public exports (#1680)
Co-authored-by: Felix Weinberger <fweinberger@anthropic.com>
Co-authored-by: Felix Weinberger <3823880+felixweinberger@users.noreply.github.com>
2026-03-25 20:25:01 +00:00
Felix Weinberger
e563e63bd2
feat: introduce minimal AuthProvider interface with OAuthClientProvider adapter (#1710) 2026-03-25 13:09:16 +00:00
Felix Weinberger
0784be1a67
feat: support Standard Schema for tool/prompt schemas (#1689)
Co-authored-by: Matt Carey <mcarey@cloudflare.com>
2026-03-23 14:44:38 +00:00
sagar-okta
ccb78f2043
Implement SEP-990 Enterprise Managed OAuth (#1593)
Co-authored-by: Paul Carleton <paulc@anthropic.com>
2026-03-15 14:18:14 +00:00
Konstantin Konstantinov
049f26ef53
v2 ci: add Bun and Deno integration tests (#1607)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 21:38:17 +02:00
Konstantin Konstantinov
4663a26f2a
v2 switch client examples to .callTool usage (#1628) 2026-03-05 11:25:06 +02:00
Konstantin Konstantinov
f88c376c52
v2 refactor!: remove Zod schema parameter from public-facing APIs (#1606) 2026-03-04 20:34:47 +02:00
Paul Carleton
3391bfb57f
docs: make DNS rebinding protection more prominent in server.md (#1586) 2026-02-26 16:58:46 +00:00
Den Delimarsky
16b0fb80e4
fix: update doc links to custom domain and add project documents (#1589) 2026-02-25 15:44:57 -08:00
Felix Weinberger
137cf7c9c8
fix: fix multidoc cross-version links and remove duplication (#1588) 2026-02-25 22:54:20 +00:00
Den Delimarsky
ff06828def
docs: update v1 references to link to hosted V1 API docs (#1584) 2026-02-25 22:26:16 +00:00
Jonathan Hefner
c4ee360aac
Rewrite docs/client.md as a code-heavy, prose-light how-to guide (#1551)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 02:36:52 +00:00
Jonathan Hefner
ad6b177e73
Replace Claude for Desktop with VS Code + Copilot in server quickstart (#1557)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-20 02:34:46 +00:00
Jonathan Hefner
d6dc0abde9
Import "Build an LLM-powered chatbot" quickstart guide (#1550)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-18 00:09:20 +00:00
Jonathan Hefner
6cd75c67ed
Import "Build a weather server" quickstart guide (#1549)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-18 00:06:12 +00:00
Jonathan Hefner
284a4135f2
Dissolve capabilities.md into server.md and client.md (#1532)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-17 23:23:23 +00:00
Jonathan Hefner
288eaf8c21
Add new sections and inline code snippets to docs/client.md (#1526)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:47:27 +00:00
Jonathan Hefner
20d5e4ea42
Overhaul docs/server.md to be a more complete, self-contained server guide (#1525)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-02-13 17:44:35 +00:00
Felix Weinberger
7bb79ebbbb
refactor: replace RequestHandlerExtra with structured context types (#1467) 2026-02-03 20:35:02 +00:00
Matt
be5670f4fa
feat!: drop Zod v3 support (#1460) 2026-02-03 19:48:08 +00:00
Matt
bc883afe3c
feat: auto-select JSON Schema validator based on runtime (#1456) 2026-02-03 19:22:39 +00:00
Konstantin Konstantinov
0f0a4eb7c8
v2: Errors refactor (ProtocolError, SdkError, OAuthError) (#1454) 2026-02-03 18:41:22 +02:00
Matt
f6e8204b86
fix: replace schema-based handlers with string method names (#1446) 2026-02-02 23:57:07 +00:00
Felix Weinberger
4a0db70a42
docs: add v1 to v2 migration guide (#1438) 2026-02-02 17:10:51 +00:00
Konstantin Konstantinov
bf6f16c8be
eslint fixes in tests (#1418) 2026-01-22 12:26:48 +00:00
Jonathan Hefner
25f288be1b
Add API documentation with GitHub Pages deployment (#1109)
Co-authored-by: Konstantin Konstantinov <konstantin@mach5technology.com>
2026-01-20 17:22:24 +02:00
Konstantin Konstantinov
f495077e08
[v2] Decouple server from express and hono - http framework-agnostic MCP server (#1326) 2026-01-16 12:13:25 +02:00
Konstantin Konstantinov
71ae3acee0
[v2] Мonorepo, sdk-client, sdk-server, sdk-core package split (#1279) 2025-12-19 14:19:02 +01:00
Dale Seo
67d79d45ee
Update server examples and docs (#1285) 2025-12-11 11:58:47 +00:00
Konstantin Konstantinov
5a9de1c638
Relocate tests under /test (#1220) 2025-12-05 23:56:12 +00:00
Wuma
7c9257cdf5
refactor: make Server class framework-agnostic by moving express to separate module (#1223) 2025-12-03 11:58:42 +00:00
Paul Carleton
09623e2aa5
Merge commit from fork
* Add secure default for DNS rebinding, use in examples

* Update README examples to use createMcpExpressApp, bump to 1.23.0

- Update all server examples to use createMcpExpressApp() for secure defaults
- Rewrite DNS Rebinding Protection section to document new middleware approach
- Bump version from 1.23.0-beta.0 to 1.23.0

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Add IPv6 support, allowedHosts option, and warning for unprotected servers

- Use native URL API to parse Host headers (handles IPv6 correctly)
- Add [::1] (IPv6 localhost) to localhostHostValidation
- Add ::1 to list of localhost hosts that get automatic protection
- Add allowedHosts option to createMcpExpressApp for custom host validation
- Warn when binding to 0.0.0.0 or :: without allowedHosts configured
- Add tests for IPv6 and allowedHosts functionality

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update remaining examples to use createMcpExpressApp and add DNS rebinding docs

- Update simpleTaskInteractive.ts, ssePollingExample.ts, and elicitationUrlExample.ts
  to use createMcpExpressApp() instead of express() + express.json()
- Add DNS rebinding protection section to docs/server.md explaining how to use
  createMcpExpressApp() and hostHeaderValidation middleware

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-12-02 13:23:06 +00:00
Konstantin Konstantinov
74ab69ffa0
README refactor (#1197) 2025-12-01 18:04:23 +02:00