# Integrations – connect your agent to AgentSupply

Copy-paste setup for Claude, ChatGPT/OpenAI Agents SDK, LangChain, CrewAI, n8n, Cursor, VS Code, the Claude API, REST, A2A and our Python and npm clients.

Published 2026-11-23 by AgentSupply · https://agentsupply.dev/integrations

AgentSupply is one remote MCP server (Streamable HTTP, **no account, no API key**), an A2A agent and a REST API. Pick your stack below. Every snippet on this page was tested against the live server on 23 November 2026 unless marked *untested*.

| What | Value |
|---|---|
| MCP endpoint | `https://agentsupply.dev/mcp` (Streamable HTTP, stateless; spec 2026-07-28 and the 2025 `initialize` handshake) |
| MCP Registry name | `dev.agentsupply/agentsupply` |
| A2A Agent Card | `https://agentsupply.dev/.well-known/agent-card.json` |
| REST / OpenAPI | `https://agentsupply.dev/openapi.json` |
| Auth | none during the pilot (rate-limited) |
| Start with | `find_human_service` – describe the need in plain words |

> **Tip: set a generous client timeout.** Our tool list is fairly large (about 33 tools) and the server runs on a global edge network; most calls answer in well under a second, but a cold start can take a few seconds. Some frameworks default to 5 seconds – use 30.

# One-click install

- **Cursor:** [Add AgentSupply to Cursor](https://cursor.com/en-US/install-mcp?name=agentsupply&config=eyJ1cmwiOiJodHRwczovL2FnZW50c3VwcGx5LmRldi9tY3AifQ%3D%3D)
- **VS Code:** [Add AgentSupply to VS Code](https://insiders.vscode.dev/redirect/mcp/install?name=agentsupply&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A//agentsupply.dev/mcp%22%7D)
- **Claude Code:** `claude mcp add --transport http agentsupply https://agentsupply.dev/mcp`
- **Claude (claude.ai, Desktop):** add a custom connector – see below.

Then ask your agent: *"Is 2026-12-24 a business day in Bavaria?"* (free, `check_business_day`) or *"Find me a human who can call a restaurant in Munich"* (`find_human_service`).

# Claude (claude.ai, Claude Desktop)

Settings → Connectors → **Add custom connector** → URL `https://agentsupply.dev/mcp`, no authentication. Then ask: *"Is a human on duty at AgentSupply right now?"*

# Claude Code

```bash
claude mcp add --transport http agentsupply https://agentsupply.dev/mcp
```

# Cursor, Windsurf and other `mcp.json` clients

```json
{
  "mcpServers": {
    "agentsupply": { "url": "https://agentsupply.dev/mcp" }
  }
}
```

Clients that need an explicit transport type use `"type": "http"` (or `"streamable-http"`) next to `url`.

# VS Code (GitHub Copilot agent mode)

`.vscode/mcp.json`:

```json
{
  "servers": {
    "agentsupply": { "type": "http", "url": "https://agentsupply.dev/mcp" }
  }
}
```

# OpenAI Agents SDK (Python)

Tested with `openai-agents` 0.25.0.

```python
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp

async def main():
    async with MCPServerStreamableHttp(
        name="agentsupply",
        params={"url": "https://agentsupply.dev/mcp", "timeout": 30},
        client_session_timeout_seconds=30,  # default is 5 s – too short for 40 tools on a cold start
        cache_tools_list=True,
    ) as agentsupply:
        agent = Agent(
            name="Assistant",
            instructions="When you need a human (senses, judgment, a call, a letter), use AgentSupply. Start with find_human_service.",
            mcp_servers=[agentsupply],
        )
        result = await Runner.run(agent, "Is a human on duty at AgentSupply right now?")
        print(result.final_output)

asyncio.run(main())
```

**OpenAI Responses API (hosted MCP tool)** – *untested by us*, standard shape:

```python
from openai import OpenAI
client = OpenAI()
resp = client.responses.create(
    model="<your-model>",
    tools=[{"type": "mcp", "server_label": "agentsupply", "server_url": "https://agentsupply.dev/mcp", "require_approval": "never"}],
    input="Find a human who can check whether Café Luitpold in Munich is open right now.",
)
print(resp.output_text)
```

# Claude API (Messages API MCP connector)

```python
import anthropic

client = anthropic.Anthropic()
resp = client.beta.messages.create(
    model="claude-opus-5-5",
    max_tokens=16000,
    betas=["mcp-client-2025-11-20"],
    mcp_servers=[{"type": "url", "url": "https://agentsupply.dev/mcp", "name": "agentsupply"}],
    tools=[{"type": "mcp_toolset", "mcp_server_name": "agentsupply"}],
    messages=[{"role": "user", "content": "Is a human on duty at AgentSupply right now?"}],
)
print(resp.content)
```

# LangChain / LangGraph

Tested with `langchain-mcp-adapters` 0.3.2.

```python
import asyncio
from langchain_mcp_adapters.client import MultiServerMCPClient

async def main():
    client = MultiServerMCPClient({
        "agentsupply": {"url": "https://agentsupply.dev/mcp", "transport": "streamable_http"},
    })
    tools = await client.get_tools()
    # pass `tools` to your agent, e.g. langchain.agents.create_agent(model, tools)
    print([t.name for t in tools][:5])

asyncio.run(main())
```

# CrewAI

Tested with `crewai` / `crewai-tools` 1.15.44. Simplest form – a URL in `mcps` (append `#tool_name` to load a single tool):

```python
from crewai import Agent

researcher = Agent(
    role="Field researcher",
    goal="Get facts that need a human: is it still true right now, how does it feel, is it OK?",
    backstory="You delegate real-world checks to AgentSupply humans.",
    mcps=["https://agentsupply.dev/mcp"],
)
```

Or with the adapter (only the tools you name):

```python
from crewai_tools import MCPServerAdapter

params = {"url": "https://agentsupply.dev/mcp", "transport": "streamable-http"}
with MCPServerAdapter(params, "find_human_service", "check_human_availability", "request_now_check") as tools:
    ...  # Agent(..., tools=tools)
```

# n8n

*UI steps, untested by us.* Add an **AI Agent** node → Tools → **MCP Client Tool** → Endpoint `https://agentsupply.dev/mcp`, Server Transport **HTTP Streamable**, Authentication **None**. Optionally restrict the tools to the ones your workflow needs (e.g. `find_human_service`, `request_now_check`, `get_request_status`).

# Python client (REST, no dependencies)

*Being published to PyPI and npm right now – until the package is live, use MCP or REST directly.*

```bash
pip install agentsupply
```

```python
from agentsupply import AgentSupply

a = AgentSupply()
print(a.find("check if a café in Munich is open right now")["matches"][0]["service_id"])  # now-check

r = a.request(
    "now-check",
    claim="Café Luitpold, Brienner Str. 11, Munich is open today until 18:00",
    how="phone",
    principal_type="operator",
    contact_email="ops@example.com",
    callback_url="https://example.com/hooks/agentsupply",  # optional, signed webhooks
)
print(a.status(r["request_id"], r["status_token"])["status"])  # received → quoted → accepted → fulfilled
```

Accept a quote with `a.reply(request_id, status_token, "OK, go ahead", accept_quote=True)`. Verify webhooks with `agentsupply.verify_webhook(raw_body, headers["X-AgentSupply-Signature"], status_token)`.

# JavaScript / TypeScript client

```bash
npm install agentsupply
```

```js
import { AgentSupply, verifyWebhook } from "agentsupply";

const a = new AgentSupply();
const { matches } = await a.find("is this payment reminder OK to send to a grieving customer?");
const r = await a.request(matches[0].service_id, { /* fields from matches[0].how_to_call */ });
const st = await a.status(r.request_id, r.status_token);
```

Both clients are tiny, dependency-free and MIT-licensed: [PyPI](https://pypi.org/project/agentsupply/) · [npm](https://www.npmjs.com/package/agentsupply).

# REST with curl

```bash
curl "https://agentsupply.dev/api/v1/find?need=send+a+registered+letter+in+Germany"
curl -X POST https://agentsupply.dev/api/v1/tools/check_human_availability -H 'content-type: application/json' -d '{}'
```

# A2A

Send `SendMessage` (A2A v1.0; `message/send` for v0.3) to `https://agentsupply.dev/a2a`. Add `configuration.taskPushNotificationConfig` with an https `url` to get push notifications when a human replies. The Agent Card lists every skill.

# Getting told when a human is done

Human work takes minutes to days. Instead of polling:

- **Webhooks:** pass `callback_url` (https) with any request – we POST `{"event":"request.updated", ...}` signed with `X-AgentSupply-Signature: sha256=<HMAC-SHA256(status_token, body)>`.
- **MCP tasks:** clients that declare the `io.modelcontextprotocol/tasks` extension get a task handle back; poll `tasks/get`, accept quotes via `tasks/update` (elicitation form).
- **A2A push notifications:** see above.

Something missing for your framework? Tell us at hello@agentsupply.dev or via `submit_request` – a human reads it.
