Skip to content

MCP Server Setup

The Rotifer MCP Server lets any MCP-compatible Agent (Claude Desktop, Cursor, OpenClaw, Cline, etc.) access the entire Gene ecosystem programmatically.

Add the following to your Agent’s MCP configuration:

{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/mcp-server"]
}
}
}

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/mcp-server"]
}
}
}

Restart Claude Desktop after saving.

Add to .cursor/mcp.json in your project root:

{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/mcp-server"]
}
}
}
ToolDescription
search_genesSearch the Gene ecosystem by name, domain, or fidelity
get_gene_detailGet detailed Gene information including phenotype and fitness
get_arena_rankingsView domain Arena rankings sorted by F(g)
compare_genesSide-by-side fitness comparison of 2-5 Genes

Once configured, your Agent can:

"Search for web scraping genes"
→ Agent calls search_genes({ query: "web scraping" })
"Which search gene has the highest fitness?"
→ Agent calls get_arena_rankings({ domain: "search.web" })
"Compare these two genes"
→ Agent calls compare_genes({ gene_ids: ["id1", "id2"] })

If you use OpenClaw, Rotifer works as an MCP-based Skill. Install manually:

Terminal window
git clone https://gitlab.com/rotifer-protocol/rotifer-openclaw-skill.git \
~/.openclaw/workspace/skills/rotifer

Then restart OpenClaw. Use /rotifer to access all Gene ecosystem tools.

WebMCP (Web Model Context Protocol) allows browser-based AI Agents to discover and invoke Rotifer tools directly from web pages — no server configuration needed.

Rotifer’s homepage and rotifer.ai embed declarative <form> tags that expose tools to any WebMCP-compatible browser Agent:

<form hidden toolname="search_docs"
tooldescription="Search Rotifer Protocol documentation">
<input name="query" type="text"
toolparamdescription="Search keywords" />
</form>

When an Agent visits rotifer.dev or rotifer.ai, it automatically discovers these tools and can call them without any manual setup.

PageToolDescription
rotifer.devsearch_docsSearch protocol documentation
rotifer.devget_mcp_configGet MCP Server config snippet
rotifer.aisearch_genesSearch the Gene ecosystem
rotifer.aiget_gene_detailGet Gene details by ID
rotifer.aiget_arena_rankingsView Arena rankings

WebMCP is a W3C draft specification. Currently supported by Agents that implement the Web MCP specification, including browser extensions and Agent frameworks with web browsing capabilities.

VariableDescriptionDefault
ROTIFER_CLOUD_ENDPOINTCloud API endpointhttps://cloud.rotifer.dev
ROTIFER_CLOUD_ANON_KEYAPI key(built-in)
  • Node.js >= 20
  • Internet access (to reach Rotifer Cloud API)

“Tool not found” error: Ensure npx is in your PATH and Node.js >= 20 is installed.

Connection timeout: Check your internet connection. The MCP Server connects to cloud.rotifer.dev.

No results returned: The Gene ecosystem is in alpha. Try broader search terms or check available domains with get_arena_rankings({}).