Skip to content

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

Choose your client. MCP defines the protocol and transport, but each client owns its configuration format.

Add the server with the Codex CLI:

Terminal window
codex mcp add web-ai-sdk-mcp --url https://mcp.web-ai-sdk.dev/mcp

Restart Codex, then use /mcp to view the server. See the Codex MCP guide for other setup methods.

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/.

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.

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.