Deploy and Operate AI Agents from Claude Code with MCP (2026)

Deploy, message, schedule and retire autonomous agents from Claude Code, Cursor or Codex through an MCP server, with spending guarded.

On this page
  1. What you can ask for
  2. Step 1: Create a key with the right scope
  3. Step 2: Add the server to your assistant
  4. What the server exposes
  5. Cloud or GPU
  6. How spending stays safe
  7. Orchestrate several agents
  8. Schedule recurring work
  9. Known limits
  10. What leaves your machine

The Model Context Protocol (MCP) lets an assistant like Claude Code, Cursor or Codex call tools that live outside it. Most people use it to give the assistant read access to something: a database, a ticket tracker, documentation. It can also give it the power to run other agents: deploy them, send them work, schedule them and shut them down, all from the chat you already have open.

This guide shows how that works with Voight's open-source MCP server, what an assistant can and cannot do with it, and how spending stays under control when a model is the one pressing the buttons.

What you can ask for

Once the server is connected, requests like these become tool calls:

Text
Deploy three research agents, give each a topic, and merge what they find.
Which of my agents are running, and how much did they use this week?
Schedule a daily 8:00 brief on my research agent.
Delete the test agents we deployed this morning.

The agents are autonomous Voight Agents: hosted, always on, with their own memory, model and channels. The MCP server is the remote control.

Step 1: Create a key with the right scope

Open agent.voight.xyz, open the account menu and choose MCP / API. There are two levels:

AccessWhat the assistant can doExpires
Agents: operateList agents, read usage and tasks, chat, wake GPUsNever
Agents: fullAll of the above, plus deploy, renew, schedule and deleteAfter 90 days

Start with operate. Give an assistant full only when you want it to spend credits.

Step 2: Add the server to your assistant

Claude Code:

Terminal
claude mcp add --env VOIGHT_API_KEY=vk_your_key --transport stdio voight-agents -- npx -y @voightxyz/agents-mcp

Cursor, in ~/.cursor/mcp.json:

JSON
{
  "mcpServers": {
    "voight-agents": {
      "command": "npx",
      "args": ["-y", "@voightxyz/agents-mcp"],
      "env": { "VOIGHT_API_KEY": "vk_your_key" }
    }
  }
}

Codex, in ~/.codex/config.toml:

TOML
[mcp_servers.voight_agents]
command = "npx"
args = ["-y", "@voightxyz/agents-mcp"]
startup_timeout_sec = 30

[mcp_servers.voight_agents.env]
VOIGHT_API_KEY = "vk_your_key"

To share a project setup without committing the secret, use a .mcp.json that reads VOIGHT_API_KEY from each person's environment. Then ask your assistant: "List my Voight agents."

What the server exposes

GroupTools
Readlist_agents, get_agent, get_credits, get_agent_usage, list_tasks, list_gpu_markets
Talkchat_with_agent, get_reply, message_agents (up to 10 at once), get_replies
Runwake_agent, wait_for_agent
Deploy and payquote_agent_deploy, deploy_agent, quote_agent_renewal, renew_agent
Schedulecreate_task, update_task, delete_task
Retiredelete_agent

Start the server with --read-only (or set VOIGHT_MCP_READ_ONLY=1) to expose only the tools that read.

Cloud or GPU

deploy_agent puts an agent on one of two hosts, the same choice the dashboard offers:

  • Voight Cloud, the default: private, scale-to-zero hosting with the sponsored models.
  • A dedicated Nosana GPU, with the model running inside the job. list_gpu_markets returns each GPU market (RTX 3060, 3090 and 4090 today) with its hourly price and how many GPUs are free right now, so the assistant can pick a market that will start quickly.

A GPU agent that is stopped can be started again with wake_agent, which can bill a GPU hour, and wait_for_agent tells the assistant when it is up or when to stop waiting.

How spending stays safe

When a model can deploy infrastructure, the guardrails have to live on the server, not in the prompt. A model can repeat any confirmation it is asked for. So:

  • Every spend takes two steps. quote_agent_deploy returns the price, your balance and whether the account may deploy, without spending anything. deploy_agent repeats the quoted amount; if the real price is higher, nothing is charged. Your client asks for permission at the moment credits move.
  • Limits per account, across all keys, listed in the table below.
  • Deletes are narrow. delete_agent needs the exact name and only works on agents that were deployed with an API key. Agents built in the dashboard, with their connectors and bots, cannot be deleted from any MCP session. A GPU deploy that has not started yet is refunded when deleted; a used period is not.
  • Tasks on connected agents start paused. A task created from the MCP on an agent connected to GitHub, LinkedIn or X is saved paused, and a person enables it in the dashboard.
  • The key goes to one place. The package only talks to https://api.voight.xyz.
  • Agent output is fenced. Replies, task results and personas come back marked as untrusted content, so the assistant treats them as data, not instructions.
Limit per accountValue
Deploys10 per 24 hours
Renewals10 per 24 hours, and only in the 7 days before an agent expires
Agent deletes10 per 24 hours
Task creates, edits and deletes30 per 24 hours
Live agents deployed through keys15, of which 3 on GPU
Tasks per agent50

Orchestrate several agents

message_agents sends one instruction to many agents, or a different one to each, and waits once for all of them. Agents still working come back as running with a reference that get_replies collects later. It is the simplest way to run a research fan-out: three agents, three topics, one merged answer in your editor.

Schedule recurring work

A task is an instruction an agent runs on its own, once, daily or weekly (UTC). Each run is a normal agent turn with normal cost. Revoking a key does not stop the tasks it scheduled: pause or delete them from the MCP or the dashboard.

Known limits

  • A reply still in progress is held in the local server's memory. If your client restarts it while an agent works, the pending reply is lost (the agent still finishes).
  • Hourly tasks, editing an agent's persona or model, retrying a failed deploy, connectors and attachments are not exposed yet.

What leaves your machine

The messages you send to an agent go to Voight, as they would from the dashboard. What comes back (agent names, personas, replies, task results, usage numbers) goes to your MCP client, and so to the model provider behind it. The account email and wallet are never returned.

To watch what your agents do once they run, point Voight Observability at them like any other source, from the same account.

The package is open source at github.com/Voightxyz/agents-mcp, and the full reference is in the MCP documentation.

See what your agents do. In one command.

Connect Claude Code, Codex or Cursor, or wrap your OpenAI and Anthropic clients. Traces show up in seconds.

npx -y @voightxyz/sdk setup