AI Hints
Home›MCP Tutorial›Real Hosts
MCP · Lesson 74 of 120

Claude Code and Other Hosts

Adding a server.

⏱ 2 min read▶ Video at 1:05:54🎓 Free
Watch this lesson in the MCP courseWatch on YouTube ↗Full MCP course

Most AI tools can now act as MCP hosts. Coding assistants, editors, and chat apps. The details differ, but they all need the same thing. How to start your server, or its URL.

Claude Code and Other Hosts
From the video: Claude Code and Other Hosts
  • Many hosts
  • Same idea
  • Command or URL

terminal

In Claude Code, MCP add registers a server. After the double dash comes the command that starts it. For an HTTP server, give the transport and the URL. And MCP list shows what's registered.

terminalpython
# a local stdio server
claude mcp add northwind -- uv run --directory /Users/sam/northwind northwind.py

# a remote HTTP server
claude mcp add --transport http northwind-web https://mcp.northwind.example/mcp

# see what's registered
claude mcp list

Other hosts

Editors like VS Code and Cursor read a JSON file in the project. Chat apps usually take a remote URL. Whatever the host, the same server works in all of them.

HostHow you add a server
Claude Codeclaude mcp add
Claude Desktopconfig JSON
VS Code / Cursormcp.json in the project
Chat appsa remote URL

Summary

Every host needs a command or a URL, and the same server works in all of them. Next, testing by hand with the Inspector.

Key takeaways
  • claude mcp add
  • --transport http
  • Same server
Next up: The MCP Inspector — test by hand