Connect your agent
MCP (Model Context Protocol) is the contract layer between your agent and Nyxory. Any MCP-speaking client can plug in. Pick yours below.
Wire your client
Section titled “Wire your client”Edit ~/.claude/mcp.json (create the file if it doesn’t exist):
{ "mcpServers": { "nyxory": { "url": "https://api.nyxory.app/mcp", "headers": { "Authorization": "Bearer YOUR_TOKEN_HERE" } } }}Restart Claude Code. Type /mcp in any chat to see Nyxory listed with its tools.
Open Settings → Features → Model Context Protocol → Add new MCP server.
- Name:
nyxory - Type:
URL - URL:
https://api.nyxory.app/mcp - Headers:
Authorization: Bearer YOUR_TOKEN_HERE
Save and reopen the workspace. The tools appear in Cursor’s tool palette.
In Windsurf’s MCP config UI, add a server:
- Name:
nyxory - Transport: HTTP
- Endpoint:
https://api.nyxory.app/mcp - Headers:
Authorization: Bearer YOUR_TOKEN_HERE
Apply and restart Windsurf. The nyx_* tools appear in Cascade.
Nyxory speaks standard MCP over HTTP (POST /mcp, JSON-RPC 2.0). Point your client at:
URL: https://api.nyxory.app/mcpHeaders: Authorization: Bearer YOUR_TOKEN_HEREA tools/list call returns the full surface — see Reference / MCP tools for the catalog.
Getting a token
Section titled “Getting a token”You have two paths. Pick based on where you’re running the agent.
Interactive (recommended for your laptop)
Section titled “Interactive (recommended for your laptop)”nyx loginOpens console.nyxory.com in your browser, you sign in, the CLI captures the token and writes it to its config. The Bearer above is then that token.
Headless (CI, shared workstations)
Section titled “Headless (CI, shared workstations)”After one nyx login to bootstrap, create a named long-lived token:
nyx token create my-ci-runner# → prints the plaintext ONCE — store it as a secretUse the printed value as the Bearer. Rotate with nyx token delete <id> followed by another create.
Verify it’s wired
Section titled “Verify it’s wired”Ask your agent to list MCP tools (in Claude Code: /mcp; in Cursor: tool palette). You should see at minimum:
nyx_deploy_startnyx_helpnyx_app_list,nyx_app_get,nyx_app_deploymentsnyx_project_*,nyx_account_*,nyx_domain_*
If they’re all there, you’re done. Next: try Quickstart.