MCP server
The public web-ai-sdk MCP server gives agents read-only access to canonical project documentation.
Endpoint: https://mcp.web-ai-sdk.dev/mcp
Connect
Section titled “Connect”Choose your client. MCP defines the protocol and transport, but each client owns its configuration format.
Add the server with the Codex CLI:
codex mcp add web-ai-sdk-mcp --url https://mcp.web-ai-sdk.dev/mcpRestart Codex, then use /mcp to view the server. See the Codex MCP guide for other setup methods.
Add the server with the Gemini CLI:
gemini mcp add --transport http web-ai-sdk-mcp https://mcp.web-ai-sdk.dev/mcpRun gemini mcp list to verify the connection. See the Gemini CLI MCP guide for JSON configuration.
Add the server with the Claude Code CLI:
claude mcp add --transport http web-ai-sdk-mcp https://mcp.web-ai-sdk.dev/mcpUse /mcp in Claude Code to verify the connection. See the Claude Code MCP guide for configuration scopes.
Add this entry to .cursor/mcp.json in a project. Use ~/.cursor/mcp.json to make it available across projects.
{ "mcpServers": { "web-ai-sdk-mcp": { "url": "https://mcp.web-ai-sdk.dev/mcp" } }}See the Cursor MCP guide for other configuration options.
A common JSON configuration uses mcpServers, type, and url. MCP does not standardize client configuration files.
{ "mcpServers": { "web-ai-sdk-mcp": { "type": "http", "url": "https://mcp.web-ai-sdk.dev/mcp" } }}Claude Code accepts this form. Cursor omits type, Gemini CLI uses httpUrl, and VS Code uses a top-level servers key.
For another MCP client, add the endpoint as a Streamable HTTP server. The server does not require authentication.
| Tool | Purpose |
|---|---|
search_docs |
Search package references, guides, React hooks, and concepts. |
read_doc |
Read one complete canonical documentation page. |
get_browser_support |
Read current Chrome and Edge support. |
Every documentation page is also available as an MCP resource under web-ai-sdk://docs/.
Limits
Section titled “Limits”The server is public, read-only, and stateless. It does not execute browser AI APIs or access user data.
Requests accept a maximum 64 KiB body. Cloudflare allows 120 requests per minute for each client IP.
MCP and WebMCP
Section titled “MCP and WebMCP”This MCP server gives external agents access to web-ai-sdk project context.
The @web-ai-sdk/webmcp package lets a webpage register tools through document.modelContext. The two surfaces are independent.