---
title: Connect an Agent · Commerce for Agents
description: How to add Commerce for Agents to Meta Muse, ChatGPT, Grok, Le Chat and Perplexity, or connect Claude Desktop, Claude Code, Cursor, VS Code, the OpenAI Agents SDK, LangChain and LlamaIndex to the Commerce for Agents MCP server, plus a raw JSON-RPC example.
url: https://commerceforagents.com/connect
---

# Connect an Agent

Last updated: October 13, 2026

The Commerce for Agents MCP server is reachable at `https://mcp.commerceforagents.com/mcp` over Streamable HTTP. There is no authentication and no API key: add the endpoint and call the tools. This page has short setup snippets for common clients and SDKs. Full tool documentation is at [llms.txt](https://commerceforagents.com/llms.txt).

## Claude Desktop / claude.ai (custom connector)

In Settings → Connectors → Add custom connector, paste the endpoint URL. No API key field is needed.

```
https://mcp.commerceforagents.com/mcp
```

## Meta Muse

Muse is available in the US. In a chat, ask Muse to create a custom connector and give it the endpoint URL; Muse walks you through the setup. Custom connectors aren't reviewed by Meta. Then ask, for example, “What internet providers serve my address?” or “Compare VPN prices”. [Meta's help article](https://www.meta.com/help/artificial-intelligence/1687253048996149/)

## ChatGPT (developer mode)

Developer mode is a beta for Business, Enterprise and Edu workspaces; Pro accounts get read and fetch tools. Once developer mode is on (Settings → Apps → Advanced settings; on Enterprise and Edu an admin grants access first), go to Settings → Apps → Create, enter the endpoint URL with no authentication, click Scan Tools, then Create. [OpenAI's help article](https://help.openai.com/en/articles/12584461-developer-mode-apps-and-full-mcp-connectors-in-chatgpt-beta)

## Grok

Go to [grok.com/connectors](https://grok.com/connectors), choose New Connector → Custom and enter the endpoint URL. On Business and Enterprise plans an admin has to enable connectors first. [xAI's docs](https://docs.x.ai/grok/connectors)

## Mistral (Le Chat)

Open Connectors → + Add Connector → Custom MCP Connector, enter a name without spaces (for example commerceforagents) and the endpoint URL, then click Connect. Only workspace administrators can add connectors; on Free, Pro and Student plans that is the account owner. [Mistral's docs](https://docs.mistral.ai/le-chat/knowledge-integrations/connectors/mcp-connectors)

## Perplexity

On a paid plan, open Account settings → Connectors → + Custom connector, choose Remote, enter the endpoint URL and set authentication to None.

Last checked 13 October 2026. Menu names change often. If a step doesn't match what you see, follow the linked vendor docs or look for “Connectors” or “MCP” in the assistant's settings.

## Claude Code

Add the server with the CLI; it uses Streamable HTTP.

```
claude mcp add --transport http commerce-for-agents https://mcp.commerceforagents.com/mcp
```

## Cursor

Add an entry to `~/.cursor/mcp.json` (or Settings → MCP).

```
{
  "mcpServers": {
    "commerce-for-agents": {
      "url": "https://mcp.commerceforagents.com/mcp"
    }
  }
}
```

## VS Code

Add an entry to `.vscode/mcp.json`. VS Code uses a `servers` key and an explicit type.

```
{
  "servers": {
    "commerce-for-agents": {
      "type": "http",
      "url": "https://mcp.commerceforagents.com/mcp"
    }
  }
}
```

## OpenAI Agents SDK (Python)

Use `MCPServerStreamableHttp` as an async context manager and pass it to the agent's `mcp_servers`.

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

async def main():
    async with MCPServerStreamableHttp(
        params={"url": "https://mcp.commerceforagents.com/mcp"},
    ) as server:
        agent = Agent(
            name="assistant",
            instructions="Use the connected tools to help the user.",
            mcp_servers=[server],
        )
        result = await Runner.run(agent, "Which home internet providers serve 350 5th Ave, New York, NY 10118?")
        print(result.final_output)
```

## LangChain (langchain-mcp-adapters)

`MultiServerMCPClient` takes a per-server config; use `transport: "streamable_http"`.

```
from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
    "commerce-for-agents": {
        "url": "https://mcp.commerceforagents.com/mcp",
        "transport": "streamable_http",
    }
})
tools = await client.get_tools()
```

## LlamaIndex (llama-index-tools-mcp)

`BasicMCPClient` wraps the endpoint; `McpToolSpec` turns it into LlamaIndex tools.

```
from llama_index.tools.mcp import BasicMCPClient, McpToolSpec

client = BasicMCPClient("https://mcp.commerceforagents.com/mcp")
tools = await McpToolSpec(client=client).to_tool_list_async()
```

## Raw JSON-RPC (curl)

The endpoint speaks plain MCP over HTTP: a session starts with `initialize`, then `tools/list` works without further handshake state on this server.

```
curl -s https://mcp.commerceforagents.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

Returns a `tools` array with all nine tools, each with its full JSON Schema input: `compare-tariffs`, `tariff-details`, `start-booking`, `compare-mobile-plans`, `book-contract`, `submit-switch-request`, `compare-broadband`, `compare-esims` and `compare-vpn`. The two booking tools are for the booking form and for autonomous agents that already hold the user's data and authorization.

## Guides

Platform-specific walkthroughs: [home internet in ChatGPT](https://commerceforagents.com/guides/compare-broadband-in-chatgpt), [home internet in Claude](https://commerceforagents.com/guides/compare-broadband-in-claude), [mobile plans in ChatGPT](https://commerceforagents.com/guides/compare-mobile-plans-in-chatgpt), [mobile plans in Claude](https://commerceforagents.com/guides/compare-mobile-plans-in-claude), [Strom und Gas in ChatGPT](https://commerceforagents.com/guides/strom-und-gas-vergleichen-in-chatgpt). All guides: [/guides](https://commerceforagents.com/guides).

## Notes

- Transport is Streamable HTTP; SSE-only clients should look for a Streamable HTTP or "HTTP" transport option, not "SSE".
- No authentication, no API key, no OAuth. See [auth.md](https://commerceforagents.com/auth.md).
- Tool descriptions are in English; the tools themselves answer in the language of the conversation.
- Machine-readable references: [llms.txt](https://commerceforagents.com/llms.txt), [MCP server card](https://commerceforagents.com/.well-known/mcp/server-card.json), [OpenAPI document](https://commerceforagents.com/openapi.json).

---

[Imprint](https://commerceforagents.com/imprint) · [Privacy](https://commerceforagents.com/privacy) · [Terms](https://commerceforagents.com/terms) · [How we compare](https://commerceforagents.com/comparison-basis) · [Connect](https://commerceforagents.com/connect) · [Guides](https://commerceforagents.com/guides) · [contact@commerceforagents.com](mailto:contact@commerceforagents.com)
