# MCP server

URL: `https://wyroapi.com/mcp` (Streamable HTTP). Authentication: `Authorization: Bearer <key>` header.

In Claude on the web, desktop or Cowork, which only ask for a URL, add a custom connector (Customize → Connectors → Add custom connector) with `https://wyroapi.com/mcp/k/<key>`. That URL includes the key: treat it like a password and, if it leaks, rotate the key from the dashboard.

Without a key, only `wyro_empezar` works, which creates a test key.

## Tools

| Tool | What it's for |
| --- | --- |
| `wyro_empezar` | Creates a test key if there isn't one. |
| `wyro_cuentas` | Lists the accounts. |
| `wyro_publicar` | Publishes or schedules. On real accounts it requires `confirmar: true`. |
| `wyro_estado_post` | Status and preview of a post. |
| `wyro_conectar_cuenta` | Link to connect a real account. |

Tool and argument names are the same in every language; descriptions follow the language of the connector.

## Installation

URL: `https://wyroapi.com/mcp` · Header: `Authorization: Bearer <key>`

**Claude Code**

```
claude mcp add --transport http wyro https://wyroapi.com/mcp --header "Authorization: Bearer <key>"
```

Or with the plugin (MCP, skill and the `/wyro:publicar` command): `/plugin marketplace add wyroapi/wyro` and `/plugin install wyro@wyro`.

**Without HTTP (stdio):** `npx -y @wyroapi/mcp` with `WYRO_API_KEY` in the environment.

**Codex** (`~/.codex/config.toml`, with `WYRO_API_KEY` exported in your environment)

```toml
[mcp_servers.wyro]
url = "https://wyroapi.com/mcp"
bearer_token_env_var = "WYRO_API_KEY"
```

**Cursor** (`~/.cursor/mcp.json` or `.cursor/mcp.json`)

```json
{ "mcpServers": { "wyro": { "url": "https://wyroapi.com/mcp", "headers": { "Authorization": "Bearer <key>" } } } }
```
