User Tools

Site Tools


ai:claude-code:add-mcp-servers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ai:claude-code:add-mcp-servers [2025/06/22 14:26] – created odeftaai:claude-code:add-mcp-servers [2025/06/22 14:48] (current) odefta
Line 3: Line 3:
 <code bash> <code bash>
 claude mcp add context7 -- npx -y @upstash/context7-mcp@latest claude mcp add context7 -- npx -y @upstash/context7-mcp@latest
-claude mcp add my_server -- python /path/to/server.py+claude mcp add my_server -- python /path/to/server.py <args> 
 +</code> 
 + 
 +<code> 
 +claude mcp add localmcp -- python3 /mnt/c/tools/mcp_server.py 
 +</code> 
 + 
 +<note important>All of these are stdio mcps, there is another type: http mcp with different syntax</note> 
 +<note>-- (two minus) is an argument separator</note> 
 +<note>after add keyword is the name of the mcp server (can be any name)</note> 
 +<note>after python script you can add arguments to that script (args)</note> 
 + 
 +To view all mcps: 
 +<code bash> 
 +claude mcp list 
 +</code>
  
 +To remove an mcp:
 +<code bash>
 +claude mcp remove mcpname
 </code> </code>
  
-<note>-- is an argument separator</note> 
-<note>-- after add keyword is the name of the mcp server (can be any name)</note> 
ai/claude-code/add-mcp-servers.1750591579.txt.gz · Last modified: 2025/06/22 14:26 by odefta