MCP tutorials
Step-by-step guides for connecting AI clients to MCP servers, building your own and deciding what each agent can call, with every step run before it was published.
Connect AI clients
- How to add MCP servers to Claude CodeAdd remote and local MCP servers to Claude Code with claude mcp add, pick the right scope, pass credentials without committing them, and check that the tools loaded.
- How to set up MCP servers in CursorConfigure MCP servers in Cursor with mcp.json: global or project config, local and remote servers, keys from environment variables, and how to check that the tools loaded.
Build MCP servers
- How to build an MCP server in PythonBuild a small MCP server in Python with the official SDK: three tools, stdio and Streamable HTTP, a test client, and the setup to use it from Claude Code.
- How to build an MCP server in TypeScriptBuild an MCP server in TypeScript with version 2 of the official SDK: three tools with zod schemas, stdio and Streamable HTTP on Node.js, a test client, and Claude Code setup.
- How to turn an OpenAPI spec into an MCP serverGenerate a hosted MCP server from an OpenAPI 3 spec with Statio's mcp-gen: prepare the spec, pick a generation mode, deploy it privately and grant its tools one at a time.