First, get a token
In the editor, open the account menu and choose MCP access token, then copy it (it is shown once). Your endpoint is your editor's URL plus /mcp. In the snippets below, replace https://your-editor.example.com/mcp and YOUR_TOKEN with your own.
Claude Code
One command (the CLI and the VS Code extension share this config):
claude mcp add --transport http nanoesis https://your-editor.example.com/mcp --header "Authorization: Bearer YOUR_TOKEN"
Claude in VS Code
The Claude Code extension reads the same configuration, so the command above makes nanoesis available in VS Code too. You can also add it from the extension's MCP settings using the same URL and header.
Claude Desktop
Claude Desktop reaches a remote server through a small bridge. Open Settings, Developer, Edit config, and add:
{
"mcpServers": {
"nanoesis": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://your-editor.example.com/mcp", "--header", "Authorization:${AUTH}"],
"env": { "AUTH": "Bearer YOUR_TOKEN" }
}
}
}
Restart Claude Desktop, and nanoesis appears in the tools menu.
Cursor
Add it to .cursor/mcp.json in your project (or the global file in your home folder):
{
"mcpServers": {
"nanoesis": {
"url": "https://your-editor.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
VS Code (Copilot)
Add it to .vscode/mcp.json in your workspace, then start it from the MCP view and use it in Copilot's agent mode:
{
"servers": {
"nanoesis": {
"type": "http",
"url": "https://your-editor.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_TOKEN" }
}
}
}
Exposing the endpoint on your own host
These steps assume your editor serves an MCP endpoint. The hosted editor and the reference Azure host already do. To add it to your own host, mount the package's MCP handler (@xtrable-ltd/nanoesis/mcp) alongside your /api route, just a few lines. See the integration guides.