Connect with Claude Desktop
In Claude Desktop, go to Settings -> Developer, and add/edit your config as shown below. Save your updated claude_desktop_config.json
and restart Claude Desktop for the change to become effective. Since Claude Desktop currently only supports stdio transports, we recommend an adapter such as mcp-remote to connect it to MCPX.
{
"mcpServers": {
"mcpx": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:9000/sse",
"--header",
"x-lunar-consumer-tag: developers",
"--header",
"x-lunar-api-key: abc123"
]
}
}
}
Make sure to configure the args
for your use case. Change x-lunar-consumer-tag
to your desired consumer name and add you Lunar.dev API Key to x-lunar-api-key
. This can be found in the Control Plane by clicking on the API Keys menu option under Configuration.
You should now have the time
target MCP servers tools available via Claude Desktop.
A prompt such as "what is the time in Paris right now?" should use the get_current_time
tool.