Skip to content

MCP Server Setup

The @reoclo/theta MCP server lets AI coding tools manage your Reoclo infrastructure directly — servers, applications, deployments, domains, logs, monitors, status pages, and scheduled operations.

  1. An API key — create an Integration Key from API Keys in the dashboard. See API Keys for details.
  2. Node.js 18+ — required to run the MCP server via npx.
Terminal window
claude mcp add reoclo -e REOCLO_API_KEY=rk_t_your_key_here -- npx -y @reoclo/theta

This registers the server immediately. Restart Claude Code to pick it up.

Add to .mcp.json in your project root (or ~/.claude/mcp.json for global access):

{
"mcpServers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "${REOCLO_API_KEY}"
}
}
}
}

In Claude Code, type:

/mcp

You should see reoclo listed with its tools. Try asking: “List my servers” or “Show recent deployments”.

Add to .cursor/mcp.json in your project root:

{
"mcpServers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "rk_t_your_key_here"
}
}
}
}

Restart Cursor after saving. The MCP server appears in Settings > MCP once connected.

Add to ~/.codeium/windsurf/mcp_config.json:

{
"mcpServers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "rk_t_your_key_here"
}
}
}
}

Restart Windsurf. Cascade will pick up the server and list available tools automatically.

VS Code supports MCP servers through GitHub Copilot Chat (agent mode). Add to .vscode/mcp.json in your project root:

{
"servers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "${REOCLO_API_KEY}"
}
}
}
}

VS Code supports ${VAR} syntax and will read from your shell environment.

After saving, open Copilot Chat in agent mode (@workspace or the agent panel) — the Reoclo tools will be available.

Add to your Zed settings (~/.config/zed/settings.json):

{
"context_servers": {
"reoclo": {
"command": {
"path": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "rk_t_your_key_here"
}
}
}
}
}

Restart Zed. The server will appear in the Assistant panel’s context server list.

JetBrains (IntelliJ, WebStorm, PyCharm, etc.)

Section titled “JetBrains (IntelliJ, WebStorm, PyCharm, etc.)”

JetBrains IDEs support MCP through AI Assistant. Add to .idea/mcp.json in your project root:

{
"mcpServers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "rk_t_your_key_here"
}
}
}
}

Restart the IDE. The MCP server will be available in the AI Assistant tool window.

Add via the Cline MCP settings UI (Cline > MCP Servers > Add), or edit your config directly at ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json (macOS) or the equivalent path on your OS:

{
"mcpServers": {
"reoclo": {
"command": "npx",
"args": ["-y", "@reoclo/theta"],
"env": {
"REOCLO_API_KEY": "rk_t_your_key_here"
}
}
}
}

After saving, Cline will show a connection indicator next to the server name. Click it to verify the tools loaded.

Any MCP-compatible client can use the server. Run it directly:

Terminal window
REOCLO_API_KEY="rk_t_your_key_here" npx -y @reoclo/theta

The server communicates over stdio using the Model Context Protocol. Point your client at this command and it will discover tools automatically.

The tools registered depend on your API key’s permissions. A key with read-only access will only see read tools.

CategoryTools
Serverslist_servers, get_server, get_server_metrics, get_server_health, check_server_health, list_containers, inspect_container, restart_container, port_scan
Applicationslist_applications, get_application, get_app_config, update_app_config, trigger_deploy
Deploymentslist_deployments, get_deployment, get_deployment_logs, get_deployment_stages, get_deployment_build_log
Domainslist_domains, get_domain, get_dns_overview, check_domain_health, add_domain, verify_domain
Logssearch_logs, live_logs, get_system_logs, get_log_usage, get_server_log_sources, get_log_stats
Monitorslist_monitors, get_monitor, create_monitor, update_monitor
Status Pageslist_status_pages, get_status_page, create_incident, update_incident
Scheduled Opslist_scheduled_operations, get_scheduled_operation, create_scheduled_operation, trigger_scheduled_operation
Otherwhoami, list_repositories, list_env_vars, set_env_var, get_dashboard, get_audit_log
VariableRequiredDescription
REOCLO_API_KEYYesYour Integration Key (starts with rk_t_)
REOCLO_API_URLNoAPI endpoint override (defaults to https://api.reoclo.com/mcp)
  • Verify Node.js 18+ is installed: node --version
  • Test the server manually: REOCLO_API_KEY="rk_t_..." npx -y @reoclo/theta
  • Check your editor restarted after config changes
  • Verify the API key is valid and not revoked
  • Check the key has permissions for the resources you expect (a Read Only key won’t show write tools)
  • Run whoami through the MCP server to confirm the key’s permission scope
  • Ensure the key starts with rk_t_ (Integration Key prefix)
  • Check for trailing whitespace or newlines in the key value
  • Verify the key hasn’t expired (check API Keys in the dashboard)