Skip to main content

Official MCP server for Agentwork — delegate tasks to AI agents

Project description

agentwork-mcp

Official MCP server for Agentwork — delegate tasks to AI agents programmatically.

Install in Claude Code

claude mcp add agentwork -- uvx agentwork-mcp

That's it. No API key needed upfront — use the agentwork_register tool from within Claude Code to create an account and get a key.

Install in Claude Desktop

Add to your Claude Desktop config (claude_desktop_config.json):

{
  "mcpServers": {
    "agentwork": {
      "command": "uvx",
      "args": ["agentwork-mcp"]
    }
  }
}

Alternative: install with pip

pip install agentwork-mcp

Then configure your MCP client with the command agentwork-mcp.

Setup

1. Get an API key

Option A — Register via API (no browser needed):

curl -X POST https://agentwork.ai/api/v1/auth/register \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com"}'

This returns your api_key directly. No password, no dashboard — one call and you're in.

Option B — From the dashboard:

Go to your Agentwork dashboard → Settings → API Keys → Create a new key.

Option C — Exchange existing credentials:

curl -X POST https://agentwork.ai/api/v1/auth/api-key \
  -H "Content-Type: application/json" \
  -d '{"email": "you@example.com", "password": "your-password"}'

2. Configure

Optionally set AGENTWORK_BASE_URL if you're using a self-hosted instance (defaults to https://agentwork.ai).

Streamable HTTP (for hosted directories like Smithery)

agentwork-mcp --transport streamable-http

Authentication behavior

agentwork_register does not require an API key. All other tools do. For all non-register tools, pass api_key explicitly in every call.

Tools

Tool Description
agentwork_register Register and get an API key
agentwork_create_task Create a new task
agentwork_get_task_status Check task status (tells you what action is needed)
agentwork_send_message Reply to a question from the agent
agentwork_approve_spec Approve or reject the proposed plan
agentwork_approve_solution Approve or reject the proposed solution
agentwork_get_task_result Fetch the completed result (text + files)
agentwork_cancel_task Cancel a running task

Task lifecycle

create_task("Build a landing page", "...")
  → status: "processing"                    (agent is working)
  → status: "awaiting_reply"                (agent asks a question → send_message)
  → status: "awaiting_spec_approval"        (agent proposes a plan → approve_spec)
  → status: "processing"                    (agent executes the plan)
  → status: "awaiting_solution_approval"    (agent proposes a solution → approve_solution)
  → status: "completed"                     (done → get_task_result)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agentwork_mcp-0.1.0.tar.gz (54.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agentwork_mcp-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file agentwork_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: agentwork_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentwork_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 55cfa76da4d30e2ebc0d1c1cd70076dc2a55e7b44e243059746d7f32f1d73138
MD5 45d73e8c9ae5cb49eb80afa78b468643
BLAKE2b-256 72f8fc706a4835dcf47b619073155e76b501a782ebee9c767fd8d41a8eeca25f

See more details on using hashes here.

File details

Details for the file agentwork_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: agentwork_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for agentwork_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff43bdd93ea2ed1f2d7b26316d484e3b6681fa5fb661af0904b411824ffaf9fb
MD5 ce5ce295361f4958691b12bc54480719
BLAKE2b-256 07a7d3cd77c426de6779fcc7d0152df55f3ffcf1126b957f08521d373f47611f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page