Skip to main content

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.
If you edit configuration by hand, use the exact server URL, header names, and environment variable names from Setup. Reconnect after any change.
Keep credential values out of .mcp.json and source control. Use the environment variables shown on the Setup page.
See Tool discovery problems if the server connects but tools are missing.