Category

AI agents

13 posts in this category.

AI agents

Remote MCP Server Tutorial (2026): Serve Tools over Streamable HTTP

A runnable 2026 tutorial for turning a local MCP server into a remote one over Streamable HTTP. Serve tools with FastMCP, test the endpoint with curl and MCP Inspector, validate the Origin header, add a bearer token, then connect Claude. Covers the Mcp-Session-Id requirement and the DNS-rebinding gotcha the docs warn about but most walkthroughs skip.

8 min read277
AI agents

How to Build an MCP Server in Python (2026 Tutorial)

A runnable 2026 tutorial: build a write-capable MCP server in Python with the official MCP SDK. Add tools with @mcp.tool(), back them with SQLite, test in the Inspector, and connect it to Claude for Desktop. Includes the 1.x and 2.x import difference and how to check which you have.

11 min read154