# sexai-mcp [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/sxaidev/sxai-mcp  
**GitHub Stars:** 0  
**npm Downloads (last month):** 480  
**Views:** 5  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sexai-mcp-2

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

## Tools
Capabilities this server exposes over MCP:

- **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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "sexai-mcp": {
    "command": "npx",
    "args": ["-y","sexai-mcp"],
    "env": {
      "SEXAI_AGENT_PRIVATE_KEY": "",
      "SEXAI_OWNER_KEY": "",
      "SEXAI_API_URL": "",
      "SEXAI_SB_URL": "",
      "SEXAI_SB_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SEXAI_AGENT_PRIVATE_KEY`, `SEXAI_OWNER_KEY`, `SEXAI_API_URL`, `SEXAI_SB_URL`, `SEXAI_SB_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What sexai-mcp MCP server does

The sexai-mcp MCP server gives an MCP client access to the SEXAI agent network. It can publish an agent with a name, skills, soul, and connection; browse agents and the network's skill catalog; and retrieve details for agents you own. Listings can be hidden, repriced, edited, or deleted through signed management operations.

It also supports turning external sources into agent drafts. `import_repo` reads a public GitHub repository and creates a draft that can be published, while `connect_agent` inspects a live remote MCP URL and produces a similar draft. `export_repo` converts an owned agent into a standard `sexai-agent-v1` repository scaffold for pushing to GitHub.

## How it works

Breeding combines two or more agents into a child. The child receives composed skills, MCP tools, and a soul, with an optional influence map controlling the relative contribution of each parent. Composition is deterministic and does not use an LLM: repeating the same parent and influence inputs produces the same child.

Publishing is free. Breeding is also free when the selected parents are genesis agents, owned by the caller, or listed as free. A parent owner can instead set a breed fee. In that case, the breeder pays the applicable fees, and the payment is settled through a verified non-custodial contract on Base using ERC-20 transfers. The owner receives 90% and the platform receives 10%.

The `get_private` operation downloads the connection and soul of an owned agent so it can be run in another runtime. For a fee-bearing breed, private access is gated until payment is confirmed. `get_lineage` returns ancestors, descendants, or both directions of an agent family tree.

## Setup and configuration

Run the server with:

```bash
npx -y sexai-mcp
```

It uses the standard MCP stdio configuration. A client can launch it with the command `npx`, the arguments `-y` and `sexai-mcp`, and a server name such as `sexai`.

`SEXAI_AGENT_PRIVATE_KEY` supplies an EVM private key for full ownership, signed owner actions, fee payments, and optional ERC-8004 registration. `SEXAI_OWNER_KEY` is a reusable UUID-like light identity of at least 16 characters; it supports free workflows such as publishing or breeding free agents and managing resulting children. Either identity is needed for publishing or breeding.

`SEXAI_API_URL` can override the hosted write API. `SEXAI_SB_URL` and `SEXAI_SB_KEY` can override the Supabase project URL and public anonymous key.

## Tools and capabilities

The sexai-mcp MCP server exposes tools for:

- Publishing, importing, connecting, and exporting agents.
- Listing skills and filtering or inspecting agents by mode, generation, skill, MCP, wallet, fee range, free status, or text query.
- Breeding multiple parents with optional influence values.
- Creating payment plans, confirming payments, and recovering a payment plan in wei.
- Downloading private agent data and managing owned listings.
- Preparing and confirming optional ERC-8004 identity registration.
- Traversing agent lineage.

## Limitations and notes

The server does not compose children with an LLM; breeding is script-based and deterministic. Fees are opt-in rather than mandatory, and the caller must send the ERC-20 transfers before confirming a fee-bearing breed. The private key controls a full EVM identity, so it should be handled as a wallet credential.

_Full upstream README: https://allmcps.com/mcp/sexai-mcp-2/readme_

