@rotifer/mcp-server
Provides OAuth login integration with GitHub for authenticating users of the Rotifer protocol.
Provides OAuth login integration with GitLab for authenticating users of the Rotifer protocol.
Uses Supabase as the backend for the Rotifer Cloud API, enabling storage and retrieval of gene data, agent registries, and user profiles.
@rotifer/mcp-server
Build, compose, and run AI agents — directly from your IDE.
Search genes, create agents with composable genomes, run pipelines in a WASM sandbox, and compete in the Arena. Zero config. Works with Cursor, Claude Desktop, Windsurf, and any MCP-compatible client.
Quick Start
Cursor
Add to .cursor/mcp.json:
{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/mcp-server"]
}
}
}Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"rotifer": {
"command": "npx",
"args": ["@rotifer/mcp-server"]
}
}
}Windsurf / Other MCP Clients
Use the same npx command — any client that supports MCP stdio transport will work.
What Can It Do?
Create and run an agent in one conversation
You: "Build me an agent for code security scanning"
AI: → create_agent({ agent_name: "sec-bot", gene_ids: ["security-scanner", "genesis-code-format"],
composition: "Seq" })
Agent 'sec-bot' created with 2-gene Seq genome.
You: "Run it on my project"
AI: → agent_run({ agent_name: "sec-bot", input: "{\"path\":\"./src\"}" })
Pipeline complete — 3 findings, 0 critical.Search, compare, and compose genes
You: "Find the best gene for web search"
AI: → search_genes({ query: "web search" })
Found 8 genes. Top match: genesis-web-search (F(g) = 0.87, Native)
You: "Compare it against the lite version"
AI: → compare_genes({ gene_ids: ["...", "..."] })
Side-by-side: success rate, latency, fitness breakdownFull gene lifecycle from your IDE
You: "Wrap my function as a gene"
AI: → wrap_gene({ gene_name: "my-search", domain: "search.web", fidelity: "Wrapped" })
→ compile_gene({ gene_name: "my-search" })
→ test_gene({ gene_name: "my-search", compliance: true })
→ publish_gene({ gene_name: "my-search", changelog: "Initial release" })Tools (29)
Discovery & Analytics
Tool | Description | Key Parameters |
| Search the Gene ecosystem by name, domain, or description |
|
| Get detailed info about a Gene (phenotype, fitness, metadata) |
|
| Arena rankings for a domain, sorted by F(g) fitness |
|
| Side-by-side fitness comparison of 2–5 Genes |
|
| Download statistics (total, 7d, 30d, 90d) |
|
| Creator reputation leaderboard |
|
| Creator public profile and reputation |
|
| Detailed reputation breakdown (Arena, Usage, Stability) |
|
| Version history chain with changelogs |
|
| Suggest matching domains from the registry |
|
Local Workspace
Tool | Description | Key Parameters |
| Scan local workspace for installed Genes |
|
| List Agents in the local workspace |
|
Gene Lifecycle
Tool | Description | Key Parameters |
| Initialize a new Gene project with starter files |
|
| Scan for candidate functions or SKILL.md files |
|
| Wrap a function/skill as a Gene |
|
| Test a Gene (schema validation + sandbox) |
|
| Compile a Gene to WASM IR |
|
| Execute a local Gene |
|
| Publish to Rotifer Cloud |
|
| Install a Gene from Cloud Registry |
|
| V(g) security scan — static analysis for Gene/Skill code safety |
|
| Submit to Arena with 5D fitness scores |
|
Agent Composition
Tool | Description | Key Parameters |
| Create an Agent composing multiple Genes |
|
| Run a local Agent by name |
|
Authentication & Analytics
Tool | Description | Key Parameters |
| Check login status | — |
| OAuth login (GitHub/GitLab) |
|
| Clear credentials | — |
| MCP call analytics |
|
| Current user's reputation | — |
Resources (7)
MCP Resources let AI clients reference Rotifer data as context:
URI Template | Description |
| Gene download statistics |
| Gene detail + phenotype |
| Creator profile + reputation |
| Top creators by reputation score |
| Local Gene inventory |
| Local Agent registry |
| MCP Server version and update availability |
Prompts (4)
MCP Prompts give AI clients guided workflows for common tasks:
Prompt | Description | Key Arguments |
| Interactive agent creation — pick a template and run immediately |
|
| Understand Rotifer Protocol — genes, agents, Arena, fidelity model | — |
| Design an Agent — task-driven gene search + composition planning |
|
| Arena evaluation — submit a gene, compare with competitors |
|
Try asking your AI: "Use the rotifer-hello prompt to build me an agent" or "Use rotifer-architect to design an agent for document Q&A".
Architecture
┌─────────────────────────────────────────────────┐
│ AI IDE (Cursor / Claude / Windsurf) │
│ │
│ "Find genes for code formatting" │
│ │ │
│ ▼ │
│ ┌─────────────────────┐ │
│ │ MCP Client │ │
│ │ (stdio transport) │ │
│ └────────┬────────────┘ │
└───────────┼─────────────────────────────────────┘
│ MCP Protocol
▼
┌─────────────────────────────────────────────────┐
│ @rotifer/mcp-server │
│ │
│ 29 Tools 7 Resources 4 Prompts Local Scanner│
│ ┌──────────┐ ┌───────────┐ ┌────────────┐ │
│ │ discover │ │rotifer:// │ │ ./genes/ │ │
│ │ lifecycle│ │genes/stats│ │ phenotype │ │
│ │ agents │ │developers │ │ agents │ │
│ │ auth │ │leaderboard│ └────────────┘ │
│ └────┬─────┘ └─────┬─────┘ │ │
└───────┼──────────────┼────────────────┼─────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────┐
│ Rotifer Cloud API Local File System │
│ (Supabase) (genes/, .rotifer/) │
└─────────────────────────────────────────────────┘Configuration
Zero-config by default — connects to the public Rotifer Cloud API.
To use a custom endpoint, create ~/.rotifer/cloud.json:
{
"endpoint": "https://your-supabase-instance.supabase.co",
"anonKey": "your-anon-key"
}Or set environment variables:
ROTIFER_CLOUD_ENDPOINT=https://your-instance.supabase.co
ROTIFER_CLOUD_ANON_KEY=your-anon-keyRequirements
Node.js >= 20
Pair with the CLI
This MCP server works best alongside the Rotifer CLI. The CLI provides the local runtime (WASM sandbox, Arena engine, IR compiler) while the MCP server exposes it all to your AI assistant:
npm install -g @rotifer/playground
rotifer init my-agent && cd my-agent
rotifer hello --template quality-advisor # your first Agent workspace in secondsLinks
Rotifer Protocol — Main site
MCP Setup Guide — Step-by-step setup
Gene Marketplace — Browse and discover Genes
CLI Playground — Build and test Genes locally
Protocol Specification — Formal spec
License
Apache-2.0
This server cannot be installed
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rotifer-protocol/rotifer-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server