User Tools

Site Tools


ai:claude-code:add-mcp-servers

This is an old revision of the document!


Add MCP servers in Claude Code

claude mcp add context7 -- npx -y @upstash/context7-mcp@latest
claude mcp add my_server -- python /path/to/server.py <args>
claude mcp add localmcp -- python /mnt/c/tools/mcp_server.py
– (two minus) is an argument separator
after add keyword is the name of the mcp server (can be any name)
after python script you can add arguments to that script (args)
ai/claude-code/add-mcp-servers.1750591991.txt.gz · Last modified: 2025/06/22 14:33 by odefta