ybrain
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ybrainwho owns the billing system?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ynfra / ybrain
Company knowledge MCP server (Bun + TypeScript): one HTTP endpoint an ordinary user adds to their MCP client to ask "what prompts do we have?", "who owns billing?", "where are the Grafana docs?", and "what skills exist and how do I install them?". Anyone can read and suggest; suggestions land as drafts that a supervisor publishes, and every change is a real Git commit in a single data repo.
MCP client ──HTTP──▶ ybrain (this server) ──git clone/pull/push──▶ github.com/<acct>/ybrain-data
read + suggest = open (drafts/ → supervisor publishes → live)Prerequisites
Bun (or Docker with Compose v2).
A Git data repo — fork
data-repo-template/— and a token with push access to it.
Related MCP server: sourcebook
Usage
cp .env.example .env # set YBRAIN_DATA_REPO_URL, YBRAIN_GIT_TOKEN; optional YBRAIN_SUPERVISOR_TOKENS
bun install
bun run dev # or: docker compose up --build
curl localhost:8080/healthzThen add the Streamable HTTP endpoint (POST /mcp) to an MCP client — read +
suggest need no token:
{ "mcpServers": { "ybrain": { "url": "https://ybrain.example.com/mcp" } } }A supervisor adds a named Bearer token to unlock publish/reject/register-source:
{ "mcpServers": { "ybrain": {
"url": "https://ybrain.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_SUPERVISOR_TOKEN" } } } }Tools
Tool | Access | Description |
| open | Company prompts |
| open | Who owns what |
| open | Docs / links to systems |
| open | Skills index — internal + external, with per-source install commands |
| open | Pending suggestions |
| open | Propose content — committed under |
| supervisor token | Promote / discard a draft |
| supervisor token | Register an external skill repo to index |
Notes
Content lives in a separate data repo (
YBRAIN_DATA_REPO_URL):prompts/,owners/,docs/,skills/,skill-sources.yaml,drafts/— never in this code repo.A suggestion never goes live: the real access control is Git merge/publish rights — a supervisor promotes with
publish_draft(or edits/merges directly on GitHub); ybrain implements no roles of its own.Supervisor tokens are named (
YBRAIN_SUPERVISOR_TOKENS=alice=…,bob=…) so one can be revoked without rotating the rest;suggested_byis client-supplied, unverified metadata.Because reads and suggestions are open, the server caps request body size and rate-limits per IP.
Skills are indexed, not vendored: ybrain reads each source's
SKILL.mdfrontmatter via the GitHub API and prints the client-side install command per sourcekind(skills-cli,marketplace,folder,internal); external descriptions are labelled untrusted.Reads hit a local clone, not the GitHub API; a background fetch every
YBRAIN_PULL_INTERVALseconds — or an HMAC-verifiedPOST /webhook— picks up edits made on GitHub.Run exactly one server instance: writes go through a single in-process queue, and two clones pushing will race.
See AGENTS.md for conventions, internals, and day-2 operations.
This server cannot be deployed
Maintenance
Related MCP Connectors
- UnifAPIOAuthcom.unifapi
Hosted MCP server for live public-data APIs and Skills for AI agents.
Read-only MCP server for Flamel.ai's public content: company overview, blog, case studies, FAQs.
MCP server for skill documentation, generated by doc2mcp.
A MCP server built for developers enabling Git based project management with project and personal…
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI agents to search, read, and contribute to a structured markdown knowledge base with citations, freshness tracking, and a safe write path, providing a shared, auditable company memory.5MIT
- AlicenseNot gradedqualityBmaintenanceMCP server that gives AI coding agents a git-backed markdown wiki to read and update, enabling search, read, write, verify, ingest, promote, and lint operations on versioned knowledge documents with schema validation, staleness tracking, and contradiction detection.4MIT
- AlicenseNot gradedqualityAmaintenanceAn MCP server that enables verified agents to retrieve from, propose changes to, and share capabilities around a human-owned Markdown/Git knowledge base, ensuring curation, exact-byte approval, and Git-based promotion.MIT
- AlicenseNot gradedqualityAmaintenanceMCP server that enables AI agents to search, fetch, and analyze a self-maintaining markdown knowledge base with provenance, drift detection, and canonical definitions.1MIT