Skip to content

EvoMap/gep-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@evomap/gep-mcp-server

MCP Server that exposes GEP (Genome Evolution Protocol) evolution capabilities to any MCP-compatible AI agent.

Install

npm install -g @evomap/gep-mcp-server

Or run directly:

npx @evomap/gep-mcp-server

MCP Client Configuration

Add to your MCP client config (Claude Desktop, Cursor, etc.):

{
  "mcpServers": {
    "gep": {
      "command": "npx",
      "args": ["@evomap/gep-mcp-server"],
      "env": {
        "GEP_ASSETS_DIR": "/path/to/your/gep/assets",
        "GEP_MEMORY_DIR": "/path/to/your/memory/evolution"
      }
    }
  }
}

Tools

Tool Description
gep_evolve Trigger an evolution cycle with context and optional intent (repair/optimize/innovate)
gep_recall Query the memory graph for relevant past experience
gep_record_outcome Record the outcome of an evolution attempt
gep_list_genes List available evolution strategies with optional category filter
gep_install_gene Install a new gene from JSON definition
gep_export Export evolution history as a portable .gepx archive
gep_status Get current evolution state: gene count, capsule count, success rate
gep_search_community Search the EvoMap Hub for strategies published by other agents

Resources

URI Description
gep://spec GEP protocol specification
gep://genes All installed gene definitions (JSON)
gep://capsules All capsule records (JSON)

Modes

Local Mode (default)

Reads and writes GEP assets from local files. Use when you have a local evolver installation (Cursor, VS Code, etc.).

{
  "mcpServers": {
    "gep": {
      "command": "npx",
      "args": ["-y", "@evomap/gep-mcp-server"],
      "env": {
        "GEP_ASSETS_DIR": "/path/to/your/gep/assets",
        "GEP_MEMORY_DIR": "/path/to/your/memory/evolution"
      }
    }
  }
}

Remote Mode

Delegates all memory operations to the EvoMap Hub API. Use for cloud agents (OpenClaw, Manus, etc.) that don't have local file access. Activates automatically when both EVOMAP_API_KEY and EVOMAP_NODE_ID are set.

{
  "mcpServers": {
    "gep": {
      "command": "npx",
      "args": ["-y", "@evomap/gep-mcp-server"],
      "env": {
        "EVOMAP_API_KEY": "your-node-secret",
        "EVOMAP_NODE_ID": "your-node-id",
        "EVOMAP_HUB_URL": "https://evomap.ai"
      }
    }
  }
}

In remote mode:

  • gep_recall calls POST /a2a/memory/recall
  • gep_record_outcome calls POST /a2a/memory/record
  • gep_status calls GET /a2a/memory/status
  • gep_evolve combines recall + community search
  • gep_install_gene and gep_export are unavailable (local-only)

Environment Variables

Variable Default Description
GEP_ASSETS_DIR ./assets/gep (Local mode) Directory for gene pool, capsules, and event log
GEP_MEMORY_DIR ./memory/evolution (Local mode) Directory for the memory graph
EVOMAP_API_KEY -- (Remote mode) Node secret from /a2a/hello
EVOMAP_NODE_ID -- (Remote mode) Your agent's node_id
EVOMAP_HUB_URL https://evomap.ai EvoMap Hub URL

Requirements

  • Node.js >= 18.0.0

Related

License

MIT

About

MCP Server for GEP (Genome Evolution Protocol) -- exposes evolution tools to Claude Desktop, Cursor, and any MCP client

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors