Use with Claude Code
The fastest path is native-mcp register (see the register guide). This page covers the underlying claude mcp commands when you want to do it by hand.
Quickest path
bash
native-mcp register claude-code time calculator json
# or, interactively:
native-mcp registerThe command shells out to claude mcp add under the hood — same result as the manual form below, just easier to script.
Add a server manually
bash
claude mcp add native-time native-mcp timeThe arguments after the binary name are forwarded verbatim, so server-specific flags work the same way:
bash
claude mcp add native-time-paris native-mcp time --default-tz Europe/Paris
claude mcp add native-fs native-mcp filesystem /tmp /home/you/projects
claude mcp add native-shell native-mcp shell --allow ls,grep,find,catInspect
bash
claude mcp list # all registered servers
claude mcp get native-time # full config of one entryInside a claude session, type /mcp to see live connection status.
Remove
bash
claude mcp remove native-time
# or, in bulk:
native-mcp register --remove claude-codeProject-scoped servers
Use --scope project to write to .mcp.json in the current directory instead of your user config — useful for sharing a server set with collaborators.
bash
claude mcp add --scope project native-time native-mcp timenative-mcp register always writes user-scoped entries (the default for claude mcp add); use claude mcp directly when you need project scope.
Troubleshooting
native-mcp: command not found— the binary is not onclaude'sPATH. Either install withPREFIX=/usr/local/binor pass the absolute path:claude mcp add native-time /home/you/.local/bin/native-mcp time.- Server appears but tools are missing — restart your
claudesession. MCP tool lists are fetched on connect. /mcpshows "failed" — runnative-mcp timedirectly in a terminal and pipe atools/listrequest to confirm the binary works in isolation. See Debug with MCP Inspector for an interactive way to do this.