Skip to content

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.

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.

You have two paths. Pick based on where you’re running the agent.

Terminal window
nyx login

Opens 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.

After one nyx login to bootstrap, create a named long-lived token:

Terminal window
nyx token create my-ci-runner
# → prints the plaintext ONCE — store it as a secret

Use the printed value as the Bearer. Rotate with nyx token delete <id> followed by another create.

Ask your agent to list MCP tools (in Claude Code: /mcp; in Cursor: tool palette). You should see at minimum:

  • nyx_deploy_start
  • nyx_help
  • nyx_app_list, nyx_app_get, nyx_app_deployments
  • nyx_project_*, nyx_account_*, nyx_domain_*

If they’re all there, you’re done. Next: try Quickstart.