brain-mcp-server
by JEM-Fizbit
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HOST | No | HTTP bind host when TRANSPORT=http. Alternative to MCP_HTTP_HOST. | 127.0.0.1 |
| PORT | No | HTTP bind port and local OAuth base fallback. | 3000 |
| BRAIN_DIR | No | Absolute path to your Brain markdown files directory. | ~/Projects/ai-brain-jem/brain |
| TRANSPORT | No | Transport mode: stdio by default, or http for hosted/HTTP mode. | stdio |
| MCP_HTTP_HOST | No | HTTP bind host when TRANSPORT=http. Alternative to HOST. | 127.0.0.1 |
| BRAIN_AUTO_PUSH | No | Filesystem/git mode only. When auto-sync is enabled, push commits to origin unless set false. Do not enable for Supabase-backed hosted runtime. | true |
| BRAIN_AUTO_SYNC | No | Filesystem/git mode only. When true, successful mutating Brain tools automatically commit changes. Do not enable for Supabase-backed hosted runtime. | false |
| BRAIN_SOURCES_DIR | No | Absolute path to your source archive directory. | sibling sources/ next to BRAIN_DIR |
| MCP_ALLOWED_ORIGINS | No | Additional exact HTTP(S) origins allowed on /mcp, comma-separated. No wildcards, paths, credentials or trailing slash. Missing Origin remains allowed with bearer authentication; malformed/untrusted/duplicate Origin is rejected with 403. | |
| BRAIN_DATE_TIME_ZONE | No | IANA timezone used for Brain log/source dates. | TZ or UTC |
| BRAIN_PLATFORM_CONFIG | No | Registry JSON path for hosted/multi-Brain mode. | ~/.config/brain-platform/registry.json |
| BRAIN_SLACK_BOT_TOKEN | No | Enables reason-aware authentication alerts to Slack in hosted deployments; no-op without it. | |
| GITHUB_ALLOWED_EMAILS | No | Comma-separated email allowlist for fallback owner access. | |
| GITHUB_ALLOWED_LOGINS | No | Comma-separated GitHub login allowlist for fallback owner access. | |
| MCP_OAUTH_PUBLIC_BASE | No | Public HTTPS base URL for hosted OAuth and MCP metadata. | http://127.0.0.1:$PORT |
| GITHUB_OAUTH_CLIENT_ID | No | GitHub OAuth app client ID. Required in HTTP mode. | |
| BRAIN_OAUTH_STATE_STORE | No | OAuth client/session state store: file or postgres. Hosted should use postgres so connector enrollment survives Fly machine replacement. | file |
| MCP_OAUTH_SIGNING_SECRET | No | HS256 access-token signing secret. Required in HTTP mode. | |
| BRAIN_LINT_MODE_OVERRIDES | No | Validated per-Brain JSON mode map, e.g. {"ai-brain-jem":"graph_shadow"}. Malformed JSON, unknown Brains, and unknown modes fail startup. | |
| BRAIN_PLATFORM_STATE_ROOT | No | File-backed OAuth state root for local/dev fallback. | ~/.config/brain-platform/state |
| GITHUB_OAUTH_CLIENT_SECRET | No | GitHub OAuth app client secret. Required in HTTP mode. | |
| MCP_OAUTH_DOCUMENTATION_URL | No | Deployment documentation URL advertised by OAuth discovery metadata. Required in HTTP mode. | |
| MCP_OAUTH_REFRESH_REUSE_GRACE_SEC | No | Optional short refresh-token reuse window for cloud-synced client refresh races. Hosted uses 15; local/dev defaults to strict one-time rotation. | 0 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityNo data
ResponsivenessOutdated data