Model Context Protocol (MCP) 1 · Connecting to Claude Code
Add your own Python server
Register a server you wrote, started with Python.
claude mcp add --transport stdio demo -- python /absolute/path/to/server.py
Official Model Context Protocol (MCP) 1 documentation
More connecting to claude code commands
- Add a remote HTTP server
- Add a local stdio server
- Share a server with your team
- List configured servers
- Show one server's details
- Remove a server
All connecting to claude code commands · Model Context Protocol (MCP) 1 cheatsheet