mcp-context-engine
Click on "Install 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., "@mcp-context-engineGive me usage guidance for Card in the auth domain."
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.
mcp context engine
Upstream Project Knowledge Engine. Gives an AI agent deep codebase memory, architectural guidelines, and project intent, so it knows why, when, and where to use your design system's components — not just what props they take.
How this differs from a component registry
In the context of a design system it can tell an agent that variant="danger" should basically only ever appear in
an account-deletion flow, that auth screens all share one specific layout
for a documented reason, or that dashboard tiles get a primary
button because it competes with the page's real primary action.
This engine answers the next layer of questions:
Why does this pattern exist? (architecture decision records)
When/where should I use X vs Y? (project conventions — golden rules, scoped per product surface)
How has the team actually used this, in practice? (a real index of every usage in the codebase, scanned with an AST parser — not guessed)
Use both together: fetch the prop schema from the component registry, fetch usage guidance from this engine, then generate.
Related MCP server: mcpsystem.design MCP Server
Architecture
[ ADRs (why) ] ─┐
├─→ [ context-index/*.json ] ─→ [ MCP server ] ─→ agent
[ Conventions ] ┤ (merged knowledge) (6 tools)
(when/where) ─┘
[ Real codebase ] ─→ [ AST-based indexer ] ─→ [ usage-index.json ] ─┘
(.tsx files) (@babel/parser + (how, in practice)
@babel/traverse)Two of the three knowledge sources are authored by humans (ADRs, conventions) because that's where actual judgment lives — this tool doesn't try to infer why a decision was made from code alone. The third (usage) is scanned, because "how has this actually been used" should reflect reality, not memory of intent that's since drifted.
What's in here
mcp-context-engine/
├── adrs/ # Architecture Decision Records (markdown + frontmatter)
│ ├── 0001-component-driven-ui.md
│ ├── 0002-json-tree-not-jsx.md
│ └── 0003-auth-credential-card-pattern.md
├── conventions/
│ └── project-intent.json # golden rules + per-surface (domain) conventions
├── sample-project/ # a small demo codebase the indexer scans
│ └── src/{auth,settings,dashboard}/*.tsx
├── scripts/
│ ├── index-codebase.js # AST scan: finds every real component usage
│ └── build-context-index.js # merges ADRs + conventions + usage into one index
├── context-index/ # generated output (gitignore this in a real repo,
│ │ or commit it — either works; regenerate on demand)
│ ├── usage-index.json
│ ├── adrs-full.json
│ ├── conventions-full.json
│ └── context-index.json
├── mcp-server/
│ ├── index.js # exposes it all as 6 MCP tools
│ └── package.json
└── package.jsonRunning it
npm install
npm run build # indexes sample-project/ + merges ADRs/conventions
cd mcp-server && npm install && npm startTo point the indexer at your real project instead of the sample one:
node scripts/index-codebase.js /path/to/your/project
npm run build-contextThe indexer currently tracks Button, Card, Input (see
TRACKED_COMPONENTS in scripts/index-codebase.js) — in a real setup,
read this list from your component registry's metadata/index.json
instead of hardcoding it, so newly added components are picked up
automatically.
The tools this exposes
Tool | Answers |
| What ADRs exist? |
| Full text of one ADR by id |
| All golden rules + per-domain surface conventions |
| Real scanned usage stats + examples for one component, optionally scoped to a domain |
| The main one. Synthesizes relevant ADRs + golden rules + surface convention + real examples for one component in one domain — "why/when/where" in a single call |
| Full-text search across ADRs and golden rules |
Verified against real JSON-RPC calls (not just described): asking
get_usage_guidance("Card", "auth") correctly returns ADR-0001 and
ADR-0003 (matched by content, not a hardcoded mapping), the "reuse the
credential-card pattern" golden rule, the auth surface's bordered
convention, and two real file/line examples — one of which is
LoginPage.tsx, whose own source comment independently references
ADR-0003. Nothing here is fabricated context; it's assembled from what's
actually in adrs/, conventions/, and the scanned source files.
Extending
Track more components: edit
TRACKED_COMPONENTSinscripts/index-codebase.js.Add an ADR: drop a new
NNNN-title.mdfile inadrs/with the same frontmatter shape (id,title,status,date,tags), runnpm run build-context.Add a convention: edit
conventions/project-intent.json— either a new golden rule or a new/updatedsurfaces.<domain>entry.Re-index after code changes: run
npm run buildagain. Nothing here is incremental yet; for a large real codebase, consider running the indexer in CI on merge tomainrather than on every request.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with professional coding standards, development best practices, and context-aware guidance through static documentation and AI-powered custom recommendations. Enables agents to access comprehensive development guidelines including coding rules, debugging techniques, and AI steering instructions.
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to a production-ready design system including Tailwind CSS component patterns, style guides (colors, typography, spacing), and Web Components specifications for consistent UI development.11MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with structured access to project conventions, technology stacks, and architectural patterns to ensure consistency across development teams.
- AlicenseNot gradedqualityDmaintenanceProvides AI assistants with access to design documentation across multiple code libraries, enabling discovery of existing utilities and patterns to avoid reimplementation.2MIT
Related MCP Connectors
Give your AI agent a persistent map of your project's structure, dependencies, and bugs.
Shared, permission-aware company context for AI agents, with provenance, approvals and audit.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ResonanceM/mcp-context-engine'
If you have feedback or need assistance with the MCP directory API, please join our Discord server