godmod3-mcp

godmod3-mcp

A bridge for G0DM0D3 that exposes advanced AI capabilities through MCP tools, including multi-model racing, hive-mind synthesis, and secure chat options.

Category
访问服务器

README

godmod3-mcp

MCP bridge for G0DM0D3 with dedicated skills for Odysseus and Hermes Agent.

This package delegates 100% to a self-hosted G0DM0D3 API and exposes every flagship feature as an MCP tool:

  • ULTRAPLINIAN multi-model racing
  • CONSORTIUM hive-mind synthesis
  • Single-chat with GODMODE / AutoTune / Parseltongue / STM
  • AutoTune analysis, Parseltongue obfuscation, STM transforms
  • Dataset + research endpoints
  • Local OpenAI-compatible model support (Ollama, LM Studio, vLLM)

Quick start

Recommended deployment

Run the upstream G0DM0D3 API as a container, run a local stdio bridge for Hermes, and run a separate HTTP bridge container for Odysseus.

1. Start the G0DM0D3 API container

cp .env.example .env
# edit .env with optional keys
docker compose -f docker-compose.api.yml up -d --build

The API is available at http://localhost:7860 from the host and at http://godmod3-api:7860 from containers on the shared godmod3 network.

Note: The upstream G0DM0D3 API currently has a path-to-regexp compatibility issue (/batch/* route pattern). The local Dockerfile.api clones upstream and applies a small patch before building so the container starts correctly.

Avoid upstream rate limits

By default the API runs in Free tier mode: 5 total requests, 10/min, 50/day. To get unlimited local use, set a tier key in .env:

GODMODE_API_KEY=my-local-key-123
GODMODE_TIER_KEYS=enterprise:my-local-key-123

Then pass the same key to the bridge via GODMOD3_API_KEY. Restart the API container to apply.

2. Install the bridge locally for Hermes (stdio)

pip install -e .

This installs the bridge and the console script godmod3-mcp.

3. Start the HTTP bridge container for Odysseus

docker compose -f docker-compose.bridge-http.yml up -d --build

Odysseus connects to http://localhost:3001/sse.

4. Verify

python -m godmod3_mcp.server --test

Alternative: run the API directly

If you prefer not to containerize the API:

git clone https://github.com/elder-plinius/G0DM0D3.git
cd G0DM0D3
npm install
npm run api

Alternative: full stack at once

docker compose up -d --build

This is equivalent to starting both docker-compose.api.yml and docker-compose.bridge-http.yml together.

Configuration

Variable Default Description
GODMOD3_BASE_URL http://localhost:7860 G0DM0D3 API endpoint
GODMOD3_API_KEY (none) Bearer token if API requires auth
GODMOD3_MCP_TRANSPORT stdio stdio, http, or sse
GODMOD3_MCP_HTTP_PORT 3001 HTTP/SSE listen port
GODMOD3_MCP_ALLOWED_HOSTS (none) Comma-separated allowed HTTP Host header patterns for the HTTP/SSE transport (e.g. godmod3-mcp-http:*)
GODMOD3_MCP_DISABLE_DNS_REBINDING_PROTECTION false Set to true to disable MCP SDK Host-header validation (only in trusted networks)

MCP Tools

  • health_check
  • server_info
  • list_models
  • get_tier
  • single_chat
  • ultraplinian_chat
  • consortium_chat
  • autotune_analyze
  • parseltongue_encode
  • parseltongue_detect
  • transform_text
  • submit_feedback
  • dataset_stats
  • export_dataset
  • research_info
  • research_stats
  • research_query

Connect to Odysseus

Via the MCP admin UI or API:

{
  "name": "godmod3",
  "transport": "stdio",
  "command": "python",
  "args": ["-m", "godmod3_mcp.server"],
  "env": {
    "GODMOD3_BASE_URL": "http://localhost:7860",
    "GODMOD3_API_KEY": "optional-key"
  }
}

Or via the HTTP bridge container:

{
  "name": "godmod3",
  "transport": "http",
  "url": "http://localhost:3001/sse"
}

Install the skill:

cp -r skills/odysseus/godmod3 /path/to/odysseus/data/skills/

Connect to Hermes Agent

Hermes launches the bridge as a local stdio subprocess. Make sure you installed the bridge with pip install -e . and that the API container is exposing port 7860.

Add to your Hermes MCP config (file path depends on install; often ~/.hermes/mcp_servers.json or via hermes config):

{
  "godmod3": {
    "command": "godmod3-mcp",
    "env": {
      "GODMOD3_BASE_URL": "http://localhost:7860",
      "GODMOD3_API_KEY": "optional-key"
    }
  }
}

Install the skill:

cp -r skills/hermes/godmod3 ~/.hermes/skills/

Then invoke with /godmod3.

Connect other MCP clients (Claude Code, Codex, Cursor, Kimi Code)

The bridge is a standard MCP server. Any MCP-compatible client can connect via stdio or HTTP/SSE.

HTTP/SSE (recommended for shared access)

{
  "mcpServers": {
    "godmod3": {
      "url": "http://localhost:3001/sse"
    }
  }
}

stdio

{
  "mcpServers": {
    "godmod3": {
      "command": "/home/vudu/.venv/godmod3-mcp/bin/godmod3-mcp",
      "env": {
        "GODMOD3_BASE_URL": "http://localhost:7860",
        "GODMOD3_API_KEY": "optional-key"
      }
    }
  }
}

Client-specific skill files

Copy the appropriate skill file into your client config:

Client File Typical location
Claude Code skills/claude-code/CLAUDE.md Project root or ~/.claude/CLAUDE.md
Cursor skills/cursor/.cursorrules Project root
Codex skills/codex/CODEX.md Project root or Codex config
Generic / Kimi Code skills/generic-mcp/SKILL.md Use as system prompt or skill

These files explain when and how to use the G0DM0D3 tools in each client.

Local model support

Pass local_model_url and local_models to any chat tool:

{
  "messages": [{"role": "user", "content": "Hello"}],
  "local_model_url": "http://localhost:11434/v1",
  "local_models": ["qwen3:8b"],
  "provider_preference": "all"
}

Tests

pytest tests/test_tools.py

License

AGPL-3.0-or-later — same as G0DM0D3.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选