Studio Catharsis Universal Project Coordinator MCP

Studio Catharsis Universal Project Coordinator MCP

A cross-platform coordination layer that connects MCP-compatible tools to a shared project state, enabling task management, blocker tracking, decision logging, and SOP automation.

Category
访问服务器

README

Studio Catharsis Universal Project Coordinator MCP

A cross-platform coordination layer for all Studio Catharsis tools and agents. Connects Claude Chat, Claude Code, Cursor, Codex, Grok, Antigravity, Hermes, Telegram, Discord — any MCP-compatible tool — to a shared project state.

Architecture

┌─────────────┐     ┌────────────────────┐     ┌──────────────┐
│  Any MCP    │ ←→  │  studiocatharsis   │ ←→  │  SQLite DB   │
│  Client     │     │  MCP Server (:8002)│     │  (all detail)│
│  (Hermes,   │     │  FastMCP + Python  │ ──  │              │
│   Claude,   │     │                    │ ──→ │  Obsidian    │
│   Codex,    │     │                    │     │  (seeds)     │
│   Cursor…)  │     └────────────────────┘     └──────────────┘
└─────────────┘
           │
           └──→ Hermes Gateway (Telegram, Discord, Slack, etc.)

Data hierarchy:

  • Obsidian — seeds. Small markdown notes saying something happened.
  • Honcho — trunk & roots. Long-term connective memory between conversations.
  • MCP DB — whole plant. Every detail. Tasks, blockers, decisions, SOPs.

Quick Start

# Install dependencies
pip install "mcp>=1.0.0" pyyaml pydantic uvicorn

# Clone
git clone https://github.com/Studio-Catharsis-Creative-Lab/project_com_mcp.git
cd project_com_mcp

# Run
python3 server.py

Server starts on http://0.0.0.0:8002, streamable-http transport. MCP endpoint: http://127.0.0.1:8002/mcp

Configuration

All config lives in projects.yaml. Overridable via SCMCP_* env vars.

Projects

Edit projects.yaml to add/remove projects. Each entry:

projects:
  - id: my-project
    name: My Project
    description: "What it does"
    repo_path: ~/GitHub-Sync/my-project   # optional
    default_phase: build                   # ideation | build | production | maintenance

Run auto_discover to scan a directory for git repos as suggestions.

Auth

# Option 1: Open access (default, good for LAN/Tailscale)
auth: none

# Option 2: Bearer token
auth: header
api_key: "<your-key>"

Env vars: SCMCP_AUTH, SCMCP_API_KEY. Generate a key with openssl rand -hex 32

Obsidian Seeds

obsidian_vault: ~/Documents/SCCL-Obsidian   # path to vault
# or via env: SCMCP_OBSIDIAN_VAULT

Every MCP write (task created, decision logged, blocker logged, etc.) drops a small markdown seed into the vault.

Hermes Gateway Integration

Register in ~/.hermes/config.yaml:

mcp_servers:
  studiocatharsis:
    url: "http://127.0.0.1:8002/mcp"
    headers:
      Authorization: "Bearer <your-api-key>"
    timeout: 30
    connect_timeout: 10

Tools appear as mcp_studiocatharsis_* in every Hermes conversation.

Tools (25 total)

Category Tools
Project State get_project, list_projects, update_project_status
Tasks create_task, update_task, get_tasks, mark_task_complete
Blockers log_blocker, resolve_blocker, get_active_blockers
Decisions log_decision, get_decision_log
Context get_context (full project snapshot)
Environments register_environment, audit_environments
Work Sessions start_work_session, end_work_session
SOPs create_org_sop, create_project_sop, get_sop, list_sops, update_sop, link_sop_to_project
Audit run_morning_audit, auto_discover

SOP Phase Reminders

Every get_project or update_project_status call checks if any SOPs are triggered by the project's current phase. If so, it returns _sop_reminder in the response — a list of SOP titles with a message to "refresh SOP context if not loaded." This makes SOPs self-activating rather than dead documents.

Known Config Gotchas

Discord: DISCORD_ALLOWED_USERS vs DISCORD_ALLOW_ALL_USERS

Setting DISCORD_ALLOWED_USERS=user1,user2 overrides DISCORD_ALLOW_ALL_USERS=true. If a specific user list is set, the allow-all flag is ignored — only those users are authorized.

Fix: Use one or the other, not both. Remove the DISCORD_ALLOWED_USERS line if you want to allow everyone in the server.

Discord: Message Content Intent

The bot must have Message Content Intent enabled in Discord Developer Portal → Bot → Privileged Gateway Intents. Without it, the bot connects but cannot read any messages.

MCP Server Port Conflict

Default FastMCP port is 8000, which conflicts with Honcho. The server defaults to 8002 to avoid this. Set via SCMCP_PORT or port in projects.yaml.

Gateway and MCP Server Startup Order

If the Hermes gateway starts before the MCP server, it logs connection failures. The MCP retry logic handles this — the gateway will reconnect after about 10 seconds once the MCP server is up. Or just restart the gateway.

Token Format in .env

Do not quote the token value in .env files:

# CORRECT
DISCORD_BOT_TOKEN=MTUxMTc5NTcz...NREemnzd1c

# WRONG — quotes are included in the value
DISCORD_BOT_TOKEN="MTUxMTc5NTcz...NREemnzd1c"

Discord Slash Commands Take Time

After restart, Discord slash commands are reconciled asynchronously. The bot works for @mentions immediately, but /slash commands may take 30-60 seconds to appear in Discord's UI.

API Reference

MCP Session Handshake (for custom clients)

1. GET  /mcp  →  mcp-session-id header returned
2. POST /mcp  →  initialize (protocolVersion, capabilities)
3. POST /mcp  →  tools/list, tools/call, etc.

All POST requests require headers:

  • Content-Type: application/json
  • Accept: application/json, text/event-stream
  • mcp-session-id: <from step 1>
  • Authorization: Bearer <api-key> (if auth enabled)

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选