@rotifer/mcp-server 0.8.5 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +53 -11
  2. package/package.json +3 -1
package/README.md CHANGED
@@ -7,10 +7,10 @@
7
7
  [![Node.js](https://img.shields.io/badge/node-%3E%3D20-brightgreen)](https://nodejs.org/)
8
8
  [![MCP](https://img.shields.io/badge/MCP-Compatible-indigo)](https://modelcontextprotocol.io)
9
9
 
10
- **Search, inspect, compare, and rank AI Genes — directly from your IDE.**
10
+ **Build, compose, and run AI agents — directly from your IDE.**
11
11
 
12
- MCP server for the [Rotifer Protocol](https://rotifer.dev) Gene ecosystem.
13
- Works with Cursor, Claude Desktop, Windsurf, and any MCP-compatible client.
12
+ Search genes, create agents with composable genomes, run pipelines in a WASM sandbox, and compete in the Arena.
13
+ Zero config. Works with Cursor, Claude Desktop, Windsurf, and any MCP-compatible client.
14
14
 
15
15
  </div>
16
16
 
@@ -54,21 +54,38 @@ Use the same `npx` command — any client that supports MCP stdio transport will
54
54
 
55
55
  ## What Can It Do?
56
56
 
57
+ ### Create and run an agent in one conversation
58
+
59
+ ```
60
+ You: "Build me an agent for code security scanning"
61
+ AI: → create_agent({ agent_name: "sec-bot", gene_ids: ["security-scanner", "genesis-code-format"],
62
+ composition: "Seq" })
63
+ Agent 'sec-bot' created with 2-gene Seq genome.
64
+
65
+ You: "Run it on my project"
66
+ AI: → agent_run({ agent_name: "sec-bot", input: "{\"path\":\"./src\"}" })
67
+ Pipeline complete — 3 findings, 0 critical.
68
+ ```
69
+
70
+ ### Search, compare, and compose genes
71
+
57
72
  ```
58
73
  You: "Find the best gene for web search"
59
74
  AI: → search_genes({ query: "web search" })
60
75
  Found 8 genes. Top match: genesis-web-search (F(g) = 0.87, Native)
61
76
 
62
- You: "Compare genesis-web-search vs genesis-web-search-lite"
77
+ You: "Compare it against the lite version"
63
78
  AI: → compare_genes({ gene_ids: ["...", "..."] })
64
79
  Side-by-side: success rate, latency, fitness breakdown
80
+ ```
65
81
 
66
- You: "Wrap my function as a gene with domain search.web"
67
- AI: → wrap_gene({ gene_name: "my-search", domain: "search.web", fidelity: "Wrapped" })
68
- Created genes/my-search/phenotype.json
82
+ ### Full gene lifecycle from your IDE
69
83
 
70
- You: "Compile and publish it"
71
- AI: compile_gene({ gene_name: "my-search" })
84
+ ```
85
+ You: "Wrap my function as a gene"
86
+ AI: → wrap_gene({ gene_name: "my-search", domain: "search.web", fidelity: "Wrapped" })
87
+ → compile_gene({ gene_name: "my-search" })
88
+ → test_gene({ gene_name: "my-search", compliance: true })
72
89
  → publish_gene({ gene_name: "my-search", changelog: "Initial release" })
73
90
  ```
74
91
 
@@ -142,6 +159,21 @@ MCP Resources let AI clients reference Rotifer data as context:
142
159
  | `rotifer://local/agents` | Local Agent registry |
143
160
  | `rotifer://version` | MCP Server version and update availability |
144
161
 
162
+ ## Prompts (4)
163
+
164
+ MCP Prompts give AI clients guided workflows for common tasks:
165
+
166
+ | Prompt | Description | Key Arguments |
167
+ |--------|-------------|---------------|
168
+ | `rotifer-hello` | Interactive agent creation — pick a template and run immediately | `template`, `input` |
169
+ | `rotifer-guide` | Understand Rotifer Protocol — genes, agents, Arena, fidelity model | — |
170
+ | `rotifer-architect` | Design an Agent — task-driven gene search + composition planning | `task` |
171
+ | `rotifer-challenge` | Arena evaluation — submit a gene, compare with competitors | `gene` |
172
+
173
+ 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"*.
174
+
175
+ ---
176
+
145
177
  ## Architecture
146
178
 
147
179
  ```
@@ -161,7 +193,7 @@ MCP Resources let AI clients reference Rotifer data as context:
161
193
  ┌─────────────────────────────────────────────────┐
162
194
  │ @rotifer/mcp-server │
163
195
  │ │
164
- │ 29 Tools 7 Resources Local Scanner
196
+ │ 29 Tools 7 Resources 4 Prompts Local Scanner│
165
197
  │ ┌──────────┐ ┌───────────┐ ┌────────────┐ │
166
198
  │ │ discover │ │rotifer:// │ │ ./genes/ │ │
167
199
  │ │ lifecycle│ │genes/stats│ │ phenotype │ │
@@ -201,13 +233,23 @@ ROTIFER_CLOUD_ANON_KEY=your-anon-key
201
233
 
202
234
  - Node.js >= 20
203
235
 
236
+ ## Pair with the CLI
237
+
238
+ This MCP server works best alongside the [Rotifer CLI](https://github.com/rotifer-protocol/rotifer-playground). The CLI provides the local runtime (WASM sandbox, Arena engine, IR compiler) while the MCP server exposes it all to your AI assistant:
239
+
240
+ ```bash
241
+ npm install -g @rotifer/playground
242
+ rotifer init my-project && cd my-project
243
+ rotifer hello # your first agent in 30 seconds
244
+ ```
245
+
204
246
  ## Links
205
247
 
206
248
  - [Rotifer Protocol](https://rotifer.dev) — Main site
207
249
  - [MCP Setup Guide](https://rotifer.dev/docs/guides/mcp-setup) — Step-by-step setup
208
250
  - [Gene Marketplace](https://rotifer.ai) — Browse and discover Genes
251
+ - [CLI Playground](https://github.com/rotifer-protocol/rotifer-playground) — Build and test Genes locally
209
252
  - [Protocol Specification](https://github.com/rotifer-protocol/rotifer-spec) — Formal spec
210
- - [CLI Playground](https://github.com/rotifer-protocol/rotifer-playground) — Build and test Genes
211
253
 
212
254
  ## License
213
255
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotifer/mcp-server",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "mcpName": "io.github.rotifer-protocol/mcp-server",
5
5
  "description": "Rotifer MCP Server — AI agents search, compare, and rank Genes (modular AI skills) from a living ecosystem of 50+ capabilities. Zero config.",
6
6
  "type": "module",
@@ -21,6 +21,8 @@
21
21
  "prepublishOnly": "npm run build",
22
22
  "lint": "eslint src/",
23
23
  "test": "vitest run",
24
+ "test:coverage": "vitest run --coverage",
25
+ "test:live": "vitest run --config vitest.live.config.ts",
24
26
  "test:watch": "vitest"
25
27
  },
26
28
  "keywords": [