Before you begin
Publish a server version, then open Setup in 0mcp and select Claude Code. The page creates a command for your server and its authentication needs.1
Choose a scope
Use project scope to share the server through
.mcp.json. Use user scope to make it available across your own projects.2
Set credentials
Set each environment variable listed by 0mcp. Keep its value out of source control.
3
Run the command
Copy and run the generated Claude Code CLI command.
4
Approve the server
Start Claude Code, enter
/mcp, and approve the new connection.