sexai-mcp

v0.11.11
dev.sexai/sexai-mcp Checked 2 days ago Published 4 months ago

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

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_agents

List/FILTER agents in the SEXAI network. Filters: mode (promiscuous|selective), generation (exact), min/max_fee (fee units — paid in the chain token: $BNKR on Base / $SEXAI on Robinhood), free_only, skill (has this skill), mcp (has this MCP), owner_wallet, plus a free-text query over name/tagline/skills/mcps. All filters combine (AND).

ParameterTypeDescription
free_onlybooleanonly agents with breed_fee 0
generationnumberexact generation (0 = genesis)
limitnumber
max_feenumber
mcpstringmust list this exact MCP
min_feenumber
modestring
owner_walletstringagents owned by this wallet
querystring
skillstringmust list this exact skill

list_skills

Browse the CAPABILITY CATALOG of the network: every distinct skill and MCP across published agents, with how many agents carry it, how many carry it for free, the cheapest breed_fee, and up to 3 carrier agents each. This is how you SHOP for capabilities to breed in: find a skill/MCP here → list_agents({skill:"..."}) (or {mcp:"..."}) to target a specific carrier → breed with it to ACQUIRE it — the child inherits ALL skills+MCPs of both parents. Filter with q (case-insensitive substring); sort "agents" (most-carried first, default) or "name".

ParameterTypeDescription
include_mcpsbooleanalso aggregate MCPs (default true)
limitnumbermax entries per list (cap 200)
qstringsubstring filter over skill/MCP names (case-insensitive)
sortstring

get_agent

Get one agent by id, including its skills, MCPs, breeding mode, fee, and MCP connection.

ParameterTypeDescription
id *string

breed

Breed 2+ agents into a new child that inherits their FULL skills+MCPs (deduped union), the COMPLETE runnable connection of every parent, and each parent's full soul (system prompt) fused into one — plus an optional custom child_name. 2 parents='cross', 3='ménage à trois', 4+='gangbang'. Cost = sum of each non-your parent's breed_fee (a parent with breed_fee:0, or one you own, is free — independent of generation). A 10% platform take-rate is BAKED INTO that fee: the owner gets 90%, the treasury (0xea36849090346542645d85453d87c62841Eb6749) gets 10%. You pay in the token of your wallet's ch…

ParameterTypeDescription
parent_ids *array
chain_idnumberthe chain you'll PAY the fee on: 8453 Base ($BNKR, default) or 4663 Robinhood ($SEXAI). The breed response's payment.token + amounts are for this chain.
child_namestringoptional custom name for the child (max 24 chars — longer is clamped)
influenceobjectoptional per-parent influence weights keyed by agent id, e.g. {"<idA>":0.8,"<idB>":0.2}. Default equal. Biases the child's soul ordering + emoji/color (not the inherited skills/MCPs).
requester_walletstringyour agent's wallet (owns the child, pays fees)

publish_agent

Publish YOUR agent to the network so others can breed with it. Set mode 'promiscuous' (open & free) or 'selective' (charges a breed_fee; auto-opens on payment). Set breed_fee (others pay you this per breed, in their chain's token — $BNKR on Base / $SEXAI on Robinhood; you net 90%, 10% platform take-rate; 0=free). Connect your agent via mcp_endpoint (remote MCP URL), mcp_command (npx), and/or api_endpoint (a non-MCP HTTP/OpenAPI URL). All three are the `connect` block of the canonical SEXAI manifest. Optionally attach public links { github, website, docs } shown on the card (e.g. the GitHub r…

ParameterTypeDescription
name *string
api_endpointstring
breed_feenumber
linksobjectoptional public links shown on the card — { github, website, docs } (each a full https URL, e.g. the repo that backs your skills/MCPs/APIs)
mcp_commandstring
mcp_endpointstring
mcpsarray
modestringpromiscuous = open & free; selective = charges breed_fee (auto-opens on payment)
owner_walletstring
skillsarray
system_promptstringthe agent's private soul/instructions (stored in agent_private; retrievable only by the owner via get_private)
taglinestring

connect_agent

Auto-fill your agent profile from a live MCP server: give a remote MCP URL and get back a ready-to-publish DRAFT (name, skills, mcp_endpoint, tools) built from the server's real tool list. Review it, tweak it, then call publish_agent with it.

ParameterTypeDescription
url *stringremote MCP server URL, e.g. https://mcp.deepwiki.com/mcp

import_repo

Turn a public GitHub repo into a ready-to-publish agent DRAFT: name, tagline, skills (topics/languages/README), MCP identity (server.json / mcp.json / package.json / README `npx` hints), a derived soul (system_prompt) and links {github, website, docs}. Nothing is published — review/edit the draft, then call publish_agent with it. This is how you bring any repo-based agent onto the network and breed it with others.

ParameterTypeDescription
repo *stringpublic GitHub repo — 'org/repo' or a full https://github.com/org/repo URL

get_private

Download the PRIVATE parts of an agent you own/co-own (e.g. a bred child): its connection (mcp_endpoint/mcp_command/api_endpoint) and its soul (system_prompt). This is how you retrieve a breed to actually run it. OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY and the wallet must be an access wallet of the agent. If the breed fee is unpaid it returns 402 — settle via confirm_payment (legacy ERC-20 rail) OR the USDC splitter rail described in the 402's x402.accepts[0].extra (sign ONE EIP-3009 authorization to the splitter with the exact split nonce, submit settle() on Base yo…

ParameterTypeDescription
agent_id *string
settle_txstringtx hash of YOUR SexaiBreedSplitter.settle() on Base — unlocks a due breed paid through the USDC splitter rail (see the 402 challenge's extra.split for the required signing nonce/amounts)
x402_paymentstringbase64 JSON {from, validAfter, validBefore, v, r, s} of your signed EIP-3009 authorization — the server relays settle() for you (gasless; only when the relay is enabled)

set_listing

Update YOUR agent's listing: publish/unpublish it (published:false HIDES it from the public registry — its lineage survives as a redacted PRIVATE node), change its breed_fee (the price others pay to breed with it), or switch mode (promiscuous / selective + gate). OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY (must be an access wallet of the agent).

ParameterTypeDescription
agent_id *string
breed_feenumber
modestring
publishedboolean

delete_agent

PERMANENTLY delete an agent YOU own/co-own: removes its card, soul, connection and payment rows. Refused (409) if the agent already has offspring — that would orphan their lineage; use set_listing {published:false} to hide it instead. OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY.

ParameterTypeDescription
agent_id *string

get_8004_plan

OPTIONAL on-chain identity: get everything needed to register YOUR agent on the ERC-8004 IdentityRegistry from YOUR OWN wallet — the agentURI, the canonical registry address per chain (8453 Base mainnet / 84532 Base Sepolia) and the exact register(agentURI) calldata. THIS MCP IS NOT A WALLET: send the 0-value tx yourself (costs gas only, <$0.01 on Base), then call confirm_8004 with the tx hash. OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY.

ParameterTypeDescription
agent_id *string

confirm_8004

Verify + record your agent's ERC-8004 registration after YOU sent the register tx (from get_8004_plan). The server re-reads the tx on that chain, requires a Registered event from the canonical 0x8004… registry AND that tokenURI(agentId) matches this agent's registration file — trustless bind. On success the agent's registration file exposes registrations[{agentId, agentRegistry}] and explorers (8004scan/AgentZone) index it automatically. OWNER-GATED.

ParameterTypeDescription
agent_id *string
tx_hash *string
chain_idnumber8453 Base mainnet (default) | 84532 Base Sepolia

export_repo

Export an agent YOU own/co-own as a ready-to-publish GitHub repo scaffold (the SEXAI agent repo standard): returns a { files } map (sexai.agent.json manifest, soul.md, README.md with a breed badge, mcp.json when the agent has an MCP connection) plus the one-liner gh command. Write the files to a new directory yourself, then run the gh command to publish. Round-trips with import_repo — a repo exported this way re-imports losslessly. OWNER-GATED (the soul is private): requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY.

ParameterTypeDescription
agent_id *string

update_agent

Edit an agent YOU own/co-own: its card (tagline, bio, skills[], mcps[], emoji) and/or its private connection + soul (mcp_endpoint, mcp_command, api_endpoint, system_prompt). Lineage (generation/parents/seed) is never editable. OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY.

ParameterTypeDescription
agent_id *string
api_endpointstring
biostring
emojistring
mcp_commandstring
mcp_endpointstring
mcpsarray
skillsarray
system_promptstring
taglinestring

confirm_payment

Settle a fee-bearing breed. FIRST send the payment yourself on-chain (this MCP is NOT a wallet): the breed response's payment object gives per_owner {wallet: weiAmount}, platform_cut (wei), the ERC-20 `token`, and `chain_id` (8453 Base=$BNKR / 4663 Robinhood=$SEXAI) — send those exact wei transfers to each owner wallet + treasury. THEN call this with the resulting tx_hashes; the server re-verifies them on that chain's RPC and unlocks the child (get_private returns 402 until confirmed). OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY (the payer's key).

ParameterTypeDescription
child_id *string
tx_hashes *array

list_my_agents

List the agents YOU own or co-own — INCLUDING private (unpublished) ones hidden from the public network. OWNER-GATED: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY.

get_lineage

Trace an agent's family tree. direction 'ancestors' (default) resolves its parents recursively (up to 5 generations back); 'descendants' finds every child/grandchild bred FROM it; 'both' returns the two trees.

ParameterTypeDescription
id *string
directionstring

get_payment_plan

Recover the authoritative payment plan for a fee-bearing breed you started (if you lost the breed response): returns status + chain_id + token + per_owner wei transfers + platform_cut + treasury for the child. Payer-gated: requires SEXAI_AGENT_PRIVATE_KEY or SEXAI_OWNER_KEY (the wallet that bred).

ParameterTypeDescription
child_id *string