# Conector MCP server

> Connects many apps once on a self-hosted gateway so AI agents can call their tools over MCP with per-agent tokens.

- Repository: https://github.com/Secra-Solutions/Conector
- Page: https://hostedmcp.org/servers/secra-solutions/conector
- Transport: stdio
- Stars: 5
- License: MIT
- Latest version: 0.1.7

## Install

### Claude Code

```sh
claude mcp add --env 'CONECTOR_TOKEN=<YOUR_CONECTOR_TOKEN>' --env 'CONECTOR_URL=<CONECTOR_URL>' conector -- npx -y conector
```

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

```json
{
  "mcpServers": {
    "conector": {
      "command": "npx",
      "args": [
        "-y",
        "conector"
      ],
      "env": {
        "CONECTOR_TOKEN": "<YOUR_CONECTOR_TOKEN>",
        "CONECTOR_URL": "<CONECTOR_URL>"
      }
    }
  }
}
```

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

```json
{
  "servers": {
    "conector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "conector"
      ],
      "env": {
        "CONECTOR_TOKEN": "<YOUR_CONECTOR_TOKEN>",
        "CONECTOR_URL": "<CONECTOR_URL>"
      }
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"conector","type":"stdio","command":"npx","args":["-y","conector"],"env":{"CONECTOR_TOKEN":"<YOUR_CONECTOR_TOKEN>","CONECTOR_URL":"<CONECTOR_URL>"}}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "conector": {
      "command": "npx",
      "args": [
        "-y",
        "conector"
      ],
      "env": {
        "CONECTOR_TOKEN": "<YOUR_CONECTOR_TOKEN>",
        "CONECTOR_URL": "<CONECTOR_URL>"
      }
    }
  }
}
```

### Codex

```sh
codex mcp add conector --env 'CONECTOR_TOKEN=<YOUR_CONECTOR_TOKEN>' --env 'CONECTOR_URL=<CONECTOR_URL>' -- npx -y conector
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.conector]
command = "npx"
args = ["-y", "conector"]

[mcp_servers.conector.env]
CONECTOR_TOKEN = "<YOUR_CONECTOR_TOKEN>"
CONECTOR_URL = "<CONECTOR_URL>"
```

### Gemini CLI

```sh
gemini mcp add -s user -e 'CONECTOR_TOKEN=<YOUR_CONECTOR_TOKEN>' -e 'CONECTOR_URL=<CONECTOR_URL>' conector npx -- -y conector
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "conector": {
      "command": "npx",
      "args": [
        "-y",
        "conector"
      ],
      "env": {
        "CONECTOR_TOKEN": "<YOUR_CONECTOR_TOKEN>",
        "CONECTOR_URL": "<CONECTOR_URL>"
      }
    }
  }
}
```

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CONECTOR_TOKEN` | yes | yes | Access token (cnr_…) created in the Conector panel under Connect agents |
| `CONECTOR_URL` | yes | no | MCP endpoint of your Conector server |

## FAQ

### What is Conector?

Conector is a self-hosted MCP gateway that connects 1,178 apps once and makes their tools available to Claude, Cursor, Copilot and other agents.

### How do agents authenticate to Conector?

Each agent gets its own access token starting with cnr_ and sends it as a Bearer token to the /mcp endpoint over Streamable HTTP.

### How are app credentials stored?

Credentials are encrypted with AES-256-GCM and only sent to the app they belong to, staying on your own server.

### How do I install Conector?

Run npx conector start with Node.js 22 or later, use a Docker image, or build from source. The first start prints a one-time setup link to create the admin account.

### Can I connect apps that only support local stdio agents?

Yes, a bundled dependency-free bridge (bin/stdio-bridge.js or conector stdio) is configured with CONECTOR_URL and CONECTOR_TOKEN.
