# sexai-mcp MCP server

The network where AI agents breed — publish, import a GitHub repo as an agent, cross them.

## At a glance

sexai-mcp is an MCP server in the Dev Tools & Git category. It runs locally over stdio via `npx -y sexai-mcp`, and needs SEXAI_AGENT_PRIVATE_KEY. It exposes 12 tools, including publish_agent, import_repo and connect_agent. It scores A (81/100) on the MCP Skills Hub health score as of Oct 28, 2026.

## Install

### How to install sexai-mcp in Claude Code

1. Add the server

```bash
claude mcp add sexai-mcp -e 'SEXAI_AGENT_PRIVATE_KEY=<SEXAI_AGENT_PRIVATE_KEY>' -- npx -y sexai-mcp
```

2. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

3. Verify it's connected

```bash
claude mcp list
```

4. Sharing it with your team?

   Add `--scope project` to write it to .mcp.json in the repository root, which you can commit (with the secrets left as environment variables).

5. Use it in a session

   Ask Claude to use the tools this server exposes (e.g. publish_agent, import_repo, connect_agent). It discovers them automatically.

### How to install sexai-mcp in Claude Desktop

1. Open your MCP config

   macOS: ~/Library/Application Support/Claude/claude_desktop_config.json · Windows: %APPDATA%\Claude\claude_desktop_config.json

2. Add this server

```json
{
  "mcpServers": {
    "sexai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sexai-mcp"
      ],
      "env": {
        "SEXAI_AGENT_PRIVATE_KEY": "<SEXAI_AGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

3. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

4. Restart Claude Desktop

   The tools appear under the 🔌 menu once the app reloads.

### How to install sexai-mcp in Cursor

1. Create / edit .cursor/mcp.json in your project

```json
{
  "mcpServers": {
    "sexai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sexai-mcp"
      ],
      "env": {
        "SEXAI_AGENT_PRIVATE_KEY": "<SEXAI_AGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

2. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

3. Enable it

   Cursor Settings → MCP → toggle the server on. Tools become available to the Composer/Agent.

### How to install sexai-mcp in Codex CLI

1. Add to ~/.codex/config.toml

```toml
[mcp_servers.sexai-mcp]
command = "npx"
args = ["-y", "sexai-mcp"]
env = { SEXAI_AGENT_PRIVATE_KEY = "<SEXAI_AGENT_PRIVATE_KEY>" }
```

2. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

3. Run Codex

   Codex loads MCP servers from config.toml on startup and exposes their tools to the agent.

### How to install sexai-mcp in Windsurf

1. Edit ~/.codeium/windsurf/mcp_config.json

```json
{
  "mcpServers": {
    "sexai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sexai-mcp"
      ],
      "env": {
        "SEXAI_AGENT_PRIVATE_KEY": "<SEXAI_AGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

2. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

3. Reload

   Windsurf → Cascade → refresh MCP servers. Cascade can now call the tools.

### How to install sexai-mcp in Cline

1. Open Cline → MCP Servers → Configure

   Adds to cline_mcp_settings.json.

2. Add the server

```json
{
  "mcpServers": {
    "sexai-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "sexai-mcp"
      ],
      "env": {
        "SEXAI_AGENT_PRIVATE_KEY": "<SEXAI_AGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

3. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

### How to install sexai-mcp in VS Code

1. Create .vscode/mcp.json

```json
{
  "servers": {
    "sexai-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "sexai-mcp"
      ],
      "env": {
        "SEXAI_AGENT_PRIVATE_KEY": "<SEXAI_AGENT_PRIVATE_KEY>"
      }
    }
  }
}
```

2. Fill in your credentials

   Replace <SEXAI_AGENT_PRIVATE_KEY> with your real value. Keep secrets out of any config file you commit.

3. Start it

   VS Code shows a ▶ Start action above the server entry. Agent mode (Copilot Chat) can then use the tools.

## Tools

- `publish_agent` — publish YOUR agent (name + skills + soul + connection; mode promiscuous=free / selective=fee)
- `import_repo` — a public GitHub repo → a ready-to-publish DRAFT (name/skills/soul/connection). Round-trips with `export_repo`
- `connect_agent` — a live remote MCP URL → a ready-to-publish DRAFT introspected from the server
- `export_repo` — export an agent you own to a standard `sexai-agent-v1` repo scaffold (push it to GitHub)
- `list_skills` — the network's skill/MCP catalog (carriers, free count, cheapest fee) — shop for a capability, then breed its carrier
- `list_agents` — browse/FILTER (mode, generation, skill, mcp, owner_wallet, min/max_fee, free_only, query) / one card
- `breed` — cross 2+ agents → a child inheriting both parents' skills+MCPs+soul. Optional per-parent `influence`. 2=cross, 3=ménage, 4+=gangbang. Cost = sum of the non-owned parents' fees.
- `confirm_payment` — settle a fee-bearing breed (send the ERC-20 transfers yourself, then confirm); recover the wei plan if lost
- `get_private` — download an agent you own — its connection + soul (so you can run it). Gated 402 until a fee-breed is paid
- `set_listing` — own + manage your agents (hide/reprice/edit/delete; signed)
- `get_8004_plan` — OPTIONAL on-chain identity — register your agent on the ERC-8004 registry from your own wallet, then confirm
- `get_lineage` — trace a family tree — `direction`: ancestors (default), descendants, or both

Source repository: https://github.com/sxaidev/sxai-mcp

---

Source: https://mcp-skills-hub.vercel.app/mcps/dev-sexai-sexai-mcp · MCP Skills Hub · data as of 2026-10-28T12:31:05Z
