cntx-ui
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., "@cntx-uilist all available bundles in my current project"
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.
cntx-ui
Semantic code analysis and context management for AI agents. Turns a codebase into searchable, structured context that agents can navigate efficiently.
What it does
Semantic analysis — parses your code at the function level using tree-sitter, extracts purpose, complexity, and relationships
Local vector search — embeds code chunks locally (all-MiniLM-L6-v2 via Transformers.js) for semantic similarity search with no external API calls
Bundle system — group files into logical bundles (by feature, layer, or pattern) for structured context delivery
MCP server — exposes 28+ tools to Claude Code, Claude Desktop, or any MCP-compatible client
Web dashboard — visual interface at localhost:3333 for managing bundles, browsing semantic analysis, and editing agent rules
Real-time sync — watches for file changes and keeps analysis, bundles, and embeddings current
Related MCP server: Synapse
Install
npm install -g cntx-uiUsage
cntx-ui init # scaffold .cntx directory, generate .mcp.json
cntx-ui watch # start web server on port 3333
cntx-ui mcp # start MCP server on stdio
cntx-ui bundle <name> # regenerate a specific bundle
cntx-ui status # show project health and bundle state
cntx-ui setup-mcp # configure Claude Desktop integrationAfter cntx-ui init, agents discover tools automatically via .mcp.json. The .cntx/AGENT.md file provides an onboarding handshake with tool reference and project overview.
Agent interface
Agents interact through MCP tools or the HTTP API:
MCP Tool | What it does |
| Architectural overview of the codebase |
| Semantic search — "where is auth handled?" |
| Find integration points for a new feature |
| Audit and optimize bundle structure |
| List normalized project artifacts (OpenAPI + Navigation) |
| Return OpenAPI artifact summary and payload |
| Return Navigation artifact summary and payload |
| Compact cross-artifact summary for agents |
| List all bundles with metadata |
| Get full bundle content as XML |
| Get all analyzed code chunks |
| File operations with bundle context |
Full tool reference with parameters is generated in .cntx/AGENT.md and .cntx/TOOLS.md.
Artifact HTTP endpoints:
GET /api/artifactsGET /api/artifacts/openapiGET /api/artifacts/navigation
How it works
tree-sitter parses source files into AST, extracts functions/types/interfaces
Heuristics engine classifies each chunk by purpose, business domain, and technical patterns based on file paths, imports, and naming conventions
Embeddings are generated locally and stored in SQLite for persistent vector search
Bundles group files by glob patterns — auto-suggested on init based on project structure
MCP server and HTTP API expose everything to agents with consistent response shapes
Tech stack
Node.js, better-sqlite3, ws (WebSocket)
tree-sitter (AST parsing), Transformers.js (local embeddings)
React 19, TypeScript, Vite, Tailwind CSS (web dashboard)
Model Context Protocol (MCP) via JSON-RPC 2.0
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Browse and manage files in your Moxt AI workspace from any MCP client.
Your memory, everywhere AI goes. Build knowledge once, access it via MCP anywhere.
List, read, edit, and deploy your GenMB AI-generated apps from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceProvides 13 MCP tools for codebase analysis, wiki generation, and knowledge mapping, enabling AI assistants to understand project structure and context efficiently.718 npm1,405MIT
- FlicenseNot gradedqualityDmaintenanceProvides structural code intelligence via 26 MCP tools, enabling AI assistants to query code symbols, dependencies, and call graphs accurately without file-pasting.-
- AlicenseNot gradedqualityCmaintenanceEnables AI tools to retrieve codebase context, summaries, decision notes, and file details via MCP, avoiding re-explaining the project.2MIT
- FlicenseNot gradedqualityAmaintenanceTurns local project directories into persistent MCP workspaces, allowing AI agents to read files, modify code, run commands, manage Git, and save session progress across conversations.-