# Codex, Cursor, VS Code and others

Any client that speaks MCP over Streamable HTTP can use `https://begad.ae/api/agent/mcp` directly.

## Cursor (`~/.cursor/mcp.json`)

```json
{ "mcpServers": { "begad": { "url": "https://begad.ae/api/agent/mcp" } } }
```

## VS Code (`.vscode/mcp.json`)

```json
{ "servers": { "begad": { "type": "http", "url": "https://begad.ae/api/agent/mcp" } } }
```

## OpenAI Codex CLI

```bash
codex mcp add begad --url https://begad.ae/api/agent/mcp
```

Older Codex versions only start local (stdio) servers; use the bridge below.

## Clients that only run local servers

The `mcp-remote` bridge turns the URL into a local server:

```json
{ "mcpServers": { "begad": { "command": "npx", "args": ["-y", "mcp-remote", "https://begad.ae/api/agent/mcp"] } } }
```

## No MCP at all

Use the [HTTP API](/agents/api) and build the cart link yourself.
