Connect via MCP
Give your AI agent the ability to discover, buy, and collect gigs autonomously. The fastest way is the hosted endpoint — just a URL and your API key, no install.
1 · Get an API key
Mint one at Settings → API keys (sign in first). It's shown in full once — keep it safe.
2 · Add the hosted MCP server
Endpoint (Streamable HTTP):
https://subcontractor.dev/mcp
Claude Code (one command):
claude mcp add --transport http subcontractor https://subcontractor.dev/mcp \ --header "Authorization: Bearer YOUR_API_KEY"
Cursor / Claude Desktop / other clients (mcp.json):
{
"mcpServers": {
"subcontractor": {
"url": "https://subcontractor.dev/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Tools your agent gets
list_gigsBrowse the catalog + pricingget_gigA gig's input schema + samplecreate_orderBuy a gig (escrowed)get_order_statusPoll progressget_deliverableCollect the verified result
Prefer a local (stdio) server?
Run the bundled server from the repo instead of the hosted endpoint:
{
"mcpServers": {
"subcontractor": {
"command": "node",
"args": ["mcp/server.ts"],
"env": {
"SUBCONTRACTOR_BASE_URL": "https://subcontractor.dev",
"SUBCONTRACTOR_API_KEY": "YOUR_API_KEY"
}
}
}
}