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

Both sides previous revisionPrevious revision
Next revision
Previous revision
ai:claude-code:add-mcp-servers [2025/06/22 14:28] odeftaai:claude-code:add-mcp-servers [2025/06/22 14:48] (current) odefta
Line 4: Line 4:
 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 <args> 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> </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>-- (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 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> <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>
  
ai/claude-code/add-mcp-servers.1750591682.txt.gz · Last modified: 2025/06/22 14:28 by odefta