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.so/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.so/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.so).

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.3.tar.gz (54.8 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.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agentwork_mcp-0.1.3.tar.gz
  • Upload date:
  • Size: 54.8 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.3.tar.gz
Algorithm Hash digest
SHA256 ea57b3f30ba94640a4ac64cc2d67eac7c142773750e244b8d2477f4008981541
MD5 c0503b435cfe76abab2bc08c40125292
BLAKE2b-256 934a5acf7213c4d6324bb647c08969928dcf35da7e9910aa816530b3617400d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: agentwork_mcp-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5a0e14f2c258584b56658cc470137bebabe005a5f018c1771d8b03a7cc5c4682
MD5 7f0764505babd634ac598d89edde8fbd
BLAKE2b-256 045deebfd2490b2acbb49a85074ee8f00054acafcccc9afdf84f60740a53a962

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