Skip to main content
Glama

company-brain-mcp

MCP server exposing the Company Brain (Supabase GraphRAG knowledge store) to AI agents.

Runs three transports simultaneously:

  • Streamable HTTP (POST /mcp) — Claude web (claude.ai) and Claude Code HTTP entries

  • Legacy SSE (GET /sse + POST /messages) — n8n mcpClientTool (v2.15)

  • stdio (dist/index.js) — local Claude Code via .mcp.json

Tools (16)

Account-centric:

  • get_account_summary

  • list_account_meetings

  • get_account_facts

  • get_account_health_signals

  • get_account_context_graph

  • find_accounts_by_tag

  • find_similar_accounts

  • find_similar_accounts_by_description

Retrieval / graph:

  • search_meeting_chunks (hybrid HNSW + FTS + tag)

  • search_people

  • get_meeting_transcript

  • get_person_meetings

  • get_org_hierarchy

  • query_tag_trends

  • search_product_docs

  • search_call_log (RingCentral calls by phone/person/direction)

Related MCP server: youbank-mcp

Setup

npm install
npm run build

Environment

Create /etc/brain-mcp/env (chmod 600) or an .env:

SUPABASE_URL=https://<project>.supabase.co
SUPABASE_SERVICE_ROLE_KEY=<service role key>
GEMINI_API_KEY=<gemini key>
MCP_API_KEY=<openssl rand -hex 32>
MCP_PORT=3100
ALLOWED_ORIGINS=https://claude.ai,https://<n8n-host>
GOFLEET_ORG_ID=<org uuid>

brain must be listed in Supabase Dashboard → Settings → API → Exposed Schemas.

Run

npm run start        # stdio (local Claude Code)
npm run start:http   # HTTP + SSE server on MCP_PORT

Production (PM2):

pm2 start ecosystem.config.cjs
pm2 save && pm2 startup

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Integrates CRM data with AI agents to manage leads, track pipeline statistics, and search price catalogs via Supabase. It enables automated lead creation, stage updates, and history tracking through natural language commands.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to query a personal knowledge vault with hybrid search, entity relationships, user highlights, and vault statistics over a Supabase/Postgres schema.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Customer lists of B2B software: every company using a technology (HubSpot, Stripe, Zendesk and 4,000+ more), with the evidence and date for each detection, and the new customers every week. Hosted remote server at https://mcp.useagentdata.com/mcp; it connects with your AgentData account (sign in, or paste an API key). Website: https://useagentdata.com
    6
    260 npm
    MIT