code-context-gate
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., "@code-context-gatelocate the UserService class in the auth module"
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.
code-context-gate
An MCP server that acts as a context-aware code retrieval broker for AI coding agents. It sits between the agent and your codebase, enforcing backpressure so the agent never receives more context than it can use.
Why use it?
Without a gate, AI agents call raw grep/find/cat on source files. On a large codebase that means:
A single broad search returns 800 lines from 60 files — flooding the context window
Irrelevant comments, tests, and vendored code push the signal out of the model's attention
There is no token budget, no relevance ranking, and no guidance on how to narrow a bad query
code-context-gate solves this with four disciplined tools that rank, gate, and budget every result before it reaches the agent. Over-broad queries get a structured refine refusal with a per-directory hit distribution and actionable suggestions — so the next call is deterministic.
Scenario | Without gate | With gate |
Broad search ("auth") | 800 hits across 60 files, full context dump | Refusal with distribution; agent narrows to |
Large codebase (500+ files) | Agent reads several wrong files before finding the right one |
|
Cross-file relationships | Must read every candidate file to infer callers |
|
Path traversal | No protection |
|
Relationship to codebase-memory-mcp
code-context-gate can connect to a graph backend (codebase-memory-mcp or codegraph) for semantic symbol lookup and architecture overviews. But the gate's core value — ranking, backpressure, token budgeting, block expansion — is its own, independent of any graph backend. Even with --graph-backend none, it outperforms raw file access on any codebase where result volume is a concern.
codebase-memory-mcp ← semantic understanding (what code MEANS)
↑ consumed by
code-context-gate ← budget discipline (HOW MUCH reaches the agent)
↑ consumed by
AI agentRelated MCP server: reflens
How it works
Every tool call flows through the same pipeline:
Tool call (locate / read / explore / search)
└─ Dispatcher — routes by query shape (symbol → graph, phrase → merge, pattern → fileio)
├─ Graph adapter — codebase-memory-mcp or codegraph (optional)
└─ FileIO adapter — async line-by-line file scan with gitignore support
└─ Shaper — BM25 lexical scoring + kind weighting → ranked ResultItem[]
└─ Gatekeeper — enforces maxFiles / maxHits / maxTokens / minRelevance
└─ OkEnvelope (results fit budget)
└─ RefineEnvelope (too broad — includes distribution + suggestions)Query shape routing in the dispatcher:
Query shape | Example | Strategy |
Symbol (single word) |
| Graph first → FileIO fallback on miss |
Phrase (has spaces) |
| FileIO + graph merged, deduped by file:line |
Pattern (regex chars) |
| FileIO regex scan only |
Installation
npx code-context-gate --project-root /path/to/your/projectOr install globally:
npm install -g code-context-gate
code-context-gate --project-root .MCP Configuration
Add to your MCP client config (e.g. Claude Desktop claude_desktop_config.json or Claude Code .mcp.json):
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": ["code-context-gate", "--project-root", "/path/to/project"]
}
}
}With a graph backend
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": [
"code-context-gate",
"--project-root", "/path/to/project",
"--graph-backend", "codebase-memory-mcp"
]
}
}
}CLI flags
Flag | Default | Description |
| (see below) | Root directory to search within |
| (none) | Path to a JSON config file |
|
|
|
|
| Write structured JSON logs to stderr |
Project root resolution order
--project-rootCLI flagCODE_CONTEXT_GATE_ROOTenvironment variableprocess.cwd()— the working directory of the process that launched the server
For stdio-mode MCP clients (Claude Code CLI, Cursor, etc.) option 3 already points at the correct project root. For GUI clients (Claude Desktop) set the env var in your MCP config:
{
"mcpServers": {
"code-context-gate": {
"command": "npx",
"args": ["code-context-gate"],
"env": { "CODE_CONTEXT_GATE_ROOT": "/path/to/your/project" }
}
}
}Tools
locate — find where something lives
Returns file paths and line ranges only — no source bodies. Use first, before read.
{ "query": "OrderHandler", "kind": "definition", "scope": "src/" }Parameter | Type | Description |
| string | Symbol name or concept |
|
| Filter by result kind (default: |
| string | Subdirectory to restrict the search |
| number | Override the default hit cap |
read — get the actual source
Reads a symbol by name or an explicit file:start-end range. Block-expands to enclosing function/class boundaries. Size-bounded so a single call never dumps an entire file.
{ "target": "OrderHandler.handle" }
{ "target": "src/payments/OrderHandler.ts:142-179", "expand": false }
{ "target": "src/config.ts" }Parameter | Type | Description |
| string | Symbol name or |
| boolean | Expand to enclosing block (default: |
| number | Token budget for the response |
search — keyword or regex search
The sanctioned replacement for grep. Always ranked, gated, and token-budgeted.
{ "pattern": "PathDeniedError", "scope": "src/" }
{ "pattern": "export.*function", "regex": true, "max_hits": 20 }Parameter | Type | Description |
| string | Keyword or regex pattern |
| boolean | Treat pattern as regex (default: |
| string | Subdirectory to restrict the search |
| string[] | Subdirectories to skip |
| number | Override the default hit cap |
| number | Token budget for snippets |
| boolean | Bypass gating (use sparingly) |
explore — understand structure and relationships
Answers structural questions: callers, callees, dependencies, blast radius, architecture overview. Requires a graph backend for full results; falls back to a file scan summary when no graph is available.
{ "question": "what calls resolveSafe", "anchor": "resolveSafe", "relation": "callers" }
{ "question": "overview of the payments module", "relation": "overview" }
{ "question": "what would break if I change UserSession", "relation": "impact" }Parameter | Type | Description |
| string | Natural-language structural question |
| string | Symbol to anchor the query |
|
| Relationship type (default: |
Backpressure
When a query is too broad, tools return a refine envelope instead of overwhelming the agent:
{
"status": "refine",
"reason": "breadth",
"summary": { "totalFound": 340, "files": 48, "estTokens": 28000, "topScore": 0.21 },
"distribution": [
{ "dir": "src/auth", "hits": 120 },
{ "dir": "src/core", "hits": 80 }
],
"suggestions": [
{ "action": "narrow_scope", "arg": "src/auth", "wouldYield": 120 },
{ "action": "use_force", "hint": "Set force:true to bypass gating" }
],
"refusalCount": 1
}Refusal reasons:
Reason | Condition |
| Unique files > |
| Hit count > |
| Top BM25 score below |
| Two or more of the above |
Deadlock cap: after maxRefusals (default 3) consecutive refusals, the gate opens automatically.
Compound margin: single-axis near-misses within 15% of a threshold pass through without refusal.
Config file
Place a JSON file anywhere and pass it with --config:
{
"gates": {
"maxFiles": 25,
"maxHits": 120,
"maxTokens": 6000,
"minRelevance": 0.35
},
"scan": {
"excludeDirs": ["node_modules", "dist", ".git"],
"respectGitignore": true
}
}Full config schema (all fields optional — shown with defaults):
{
"gates": {
"maxFiles": 25,
"maxHits": 120,
"maxTokens": 6000,
"minRelevance": 0.35,
"compoundMargin": 0.15
},
"limits": {
"maxRefusals": 3,
"absoluteMaxTokens": 24000
},
"estimation": {
"charsPerToken": 3.5
},
"scoring": {
"weights": {
"kind": 0.30,
"lexical": 0.25,
"proximity": 0.20,
"shape": 0.15,
"recency": 0.10
}
},
"backend": {
"graph": "codebase-memory-mcp"
},
"scan": {
"excludeDirs": ["node_modules", "dist", "build", "target", ".venv", "vendor", ".git"],
"respectGitignore": true
}
}Logging
All tool activity is written as newline-delimited JSON to code-context-gate.log in the project root. Pass --debug to also stream logs to stderr.
Log events
Event | Source | Key fields | What it tells you |
|
|
| Every inbound MCP tool call with its arguments |
|
|
| Query shape classification and whether graph is reachable |
|
|
| When a file walk starts, what directory and pattern type ( |
|
|
| Graph search completed; how many results the backend returned |
|
|
| Graph search failed silently (previously swallowed) |
|
|
| Architecture call completed and whether a non-empty summary was returned |
|
|
| Architecture call failed |
|
|
| Final strategy used ( |
|
|
| Graph returned 0 results for a symbol query; falling back to FileIO |
|
|
| Gate decision — passed or refused, and why |
|
|
| How many results were returned and their estimated token cost |
|
|
| Unhandled tool exception |
Reading the log
A typical symbol lookup with graph hit:
{"ts":"...","event":"tool_call","tool":"locate","args":{"query":"resolveSafe","kind":"definition"}}
{"ts":"...","event":"dispatch","query":"resolveSafe","shape":"symbol","graphAvailable":true}
{"ts":"...","event":"graph_search","backend":"codebase-memory-mcp","count":2}
{"ts":"...","event":"dispatch_result","query":"resolveSafe","strategy":"graph_symbol","count":2}
{"ts":"...","event":"gate","tool":"locate","pass":true,"reason":null}
{"ts":"...","event":"tool_result","tool":"locate","returned":2}A broad search that triggers a refusal:
{"ts":"...","event":"tool_call","tool":"search","args":{"pattern":"export"}}
{"ts":"...","event":"dispatch","query":"export","shape":"symbol","graphAvailable":true}
{"ts":"...","event":"graph_search","backend":"codebase-memory-mcp","count":148}
{"ts":"...","event":"dispatch_result","query":"export","strategy":"graph_symbol","count":148}
{"ts":"...","event":"gate","tool":"search","pass":false,"reason":"breadth"}
{"ts":"...","event":"tool_result","tool":"search","returned":0}Source structure (src/)
File | Role |
| Entry point — parses CLI flags, loads config, starts the server |
| MCP server — registers the four tools, wires |
| Routes queries by shape to graph and/or FileIO; merges and deduplicates results |
| BM25 lexical scoring + kind weighting → ranked |
| Enforces backpressure limits; returns |
| Zod-validated config loader; resolves project root from flag → env var → CWD |
| Append-only JSON line logger to |
| Shared types and Zod input schemas for all four tools |
| Filesystem adapter — |
| Graph adapters — |
Result scoring
Each result gets a composite score before ranking:
score = kindScore × 0.30 + BM25lexical × 0.25 + graphScore × 0.45Kind weights:
Kind | Weight |
| 1.0 |
| 0.7 |
| 0.5 |
| 0.3 |
| 0.2 |
Graph backends
Backend | Launch command | Adapter |
|
|
|
|
|
|
| (not launched) |
|
Both graph backends are optional. Without one, all four tools work using FileIO only.
Agent Instructions (CLAUDE.md)
This repo ships a CLAUDE.md that Claude Code and compatible agents load automatically. It routes all code discovery through code-context-gate and prohibits direct calls to lower-level tools like codebase-memory-mcp.
When an agent session starts it first probes code-context-gate with a lightweight locate call:
Server responds → the four tools are used for all code access
Server unavailable → the agent stops and prompts the user to enable
code-context-gateor re-enable thecbm-session-reminderfallback hook
Re-enabling the fallback hook
If you want agents to fall back to raw codebase-memory-mcp calls when code-context-gate is not running, add to ~/.claude/settings.json:
{
"hooks": {
"SessionStart": [
{ "matcher": "startup", "hooks": [{ "type": "command", "command": "~/.claude/hooks/cbm-session-reminder" }] },
{ "matcher": "resume", "hooks": [{ "type": "command", "command": "~/.claude/hooks/cbm-session-reminder" }] },
{ "matcher": "clear", "hooks": [{ "type": "command", "command": "~/.claude/hooks/cbm-session-reminder" }] },
{ "matcher": "compact", "hooks": [{ "type": "command", "command": "~/.claude/hooks/cbm-session-reminder" }] }
]
}
}Requirements
Node.js 20+
No native build tools required
License
MIT © 2026 wisdom rock — see LICENSE for full text.
Available Tools
4 toolsexploreC
Structural questions: callers, callees, dependencies, impact, architecture overview
| Name | Required | Description | Default |
|---|---|---|---|
| anchor | No | ||
| question | Yes | ||
| relation | No | auto |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It only lists query categories and does not mention whether the operation is read-only, what the output format is, how the question, anchor, and relation parameters interact, or any potential side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single concise phrase with no filler or redundant information, and it front-loads the key concept. However, its extreme brevity borders on under-specification, though conciseness itself is strong.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 3 parameters, 0% schema coverage, no annotations, and no output schema, this description is far too minimal. It omits the required question semantics, anchor behavior, relation default, and expected response, making it inadequate for reliable tool invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate by explaining the parameters. It only implicitly references the relation enum values (callers, callees, dependencies, impact, architecture overview) and says nothing about the required question parameter or the optional anchor parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool handles 'Structural questions' and lists specific topics such as callers, callees, dependencies, impact, and architecture overview, which makes its domain clear and distinguishes it from siblings like locate and search. However, it is a noun phrase rather than an explicit verb-plus-resource construction, so the action statement is slightly weaker.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies that the tool should be used for structural or architectural questions by enumerating relation types, but it does not explicitly state when to use this tool versus the sibling tools locate, read, or search. It also lacks any exclusions or alternative guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
locateA
Find where a symbol or concept is defined or referenced — returns locations only, no source bodies
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | any | |
| query | Yes | ||
| scope | No | ||
| max_results | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the transparency burden. It discloses that the tool returns locations only and excludes source bodies, which is a key behavioral trait. It does not mention other traits like side effects or rate limits, but for a locate operation this is reasonably transparent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence that front-loads the action and clarifies output with a dash. Every word adds value, with no redundant content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The tool has 4 parameters, no annotations, and no output schema. The description covers the essential purpose and return type, but leaves parameter semantics unexplained and does not describe the location format. It is adequate for a simple tool but has clear gaps for full completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description does not explain the parameters. It only alludes to 'symbol or concept' which relates to the query, but kind, scope, and max_results are left unexplained. The description fails to compensate for the lack of schema descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's action (find) and resource (where a symbol or concept is defined or referenced), and explicitly notes it returns only locations, not source bodies. This distinguishes it from siblings like read and search, which would provide content or broader search results.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides clear context for when to use the tool: when you need to locate definitions or references without needing source bodies. However, it does not explicitly name alternatives or state when not to use it, so it stops short of full exclusion guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
readC
Read a symbol or file:start-end range — block-expanded and size-bounded
| Name | Required | Description | Default |
|---|---|---|---|
| expand | No | ||
| target | Yes | ||
| max_tokens | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The phrases 'block-expanded and size-bounded' provide some behavioral hints, but they are unexplained and cryptic. With no annotations, the description does not adequately disclose side effects, permissions, or return format for a read operation.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, front-loaded with the verb, and contains no unnecessary words. It is highly concise, though the extreme brevity sacrifices some clarity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a 3-parameter tool with no output schema and no annotations, the description is incomplete. It lacks details on return format, usage scenarios, and does not define the purpose of all parameters, relying on cryptic hints.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, and the description only partially clarifies the 'target' parameter via 'symbol or file:start-end range'. The 'expand' and 'max_tokens' parameters are not explicitly explained; the cryptic 'block-expanded' and 'size-bounded' are insufficient compensation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Read a symbol or file:start-end range' clearly states the verb (read) and resource (symbol or file range). It distinguishes from sibling tools like locate/explore/search, which are discovery-oriented rather than retrieval-oriented.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus alternatives, no mention of prerequisites, exclusions, or suggested context. The description is purely definitional and offers no usage context.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
searchB
Keyword or regex search — sanctioned replacement for grep, always filtered and gated
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| regex | No | ||
| scope | No | ||
| exclude | No | ||
| pattern | Yes | ||
| max_hits | No | ||
| max_files | No | ||
| max_tokens | No | ||
| min_relevance | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations available, the description carries the full burden of disclosing behavior. It only says 'always filtered and gated,' which is vague and doesn't explain safety (e.g., read-only nature), what filtering entails, or what gating means. This is insufficient for a search tool that might access sensitive files.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that packs the core purpose, a usage guideline, and behavioral hints without wasted words. It is front-loaded with the primary action.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This tool has 9 parameters, no annotations, and no output schema, but the description does not explain return values, parameter semantics, or access constraints. It gives only a high-level hint about filtering and gating, leaving significant gaps for a complex search tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and the description adds minimal parameter meaning. It mentions 'keyword or regex' which hints at the 'pattern' and 'regex' parameters, but the other 7 parameters (scope, exclude, max_hits, force, etc.) are completely unexplained.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states this is a keyword or regex search tool, and labels it a sanctioned replacement for grep. This distinguishes it from sibling tools like locate (file location) and read (file contents), though it doesn't explicitly state what is searched (file content is implied by grep).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'sanctioned replacement for grep' provides an explicit usage context and implicitly tells the agent to use this instead of grep. However, it doesn't explicitly contrast with sibling tools (locate, read, explore) or state when not to use this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v0.1.0- First observed
explore - First observed
locate - First observed
read - First observed
search
TDQS
Each tool has a clearly distinct purpose: locate finds definitions/references without source bodies, read retrieves source content, explore answers structural questions like callers/dependencies, and search performs text pattern matching. Descriptions cleanly separate these concerns.
All tool names are single, lowercase imperative verbs (locate, read, explore, search), following a consistent and predictable convention. No mixing of styles or ambiguous naming.
Four tools is well-scoped for a code-context gate. Each tool serves a distinct and necessary function in code navigation and understanding, with no obvious redundancy or missing essential operations.
The set covers core code context needs: finding symbols (locate), reading code (read), exploring relationships (explore), and searching text (search). A minor gap is the absence of a dedicated tool for listing all symbols in a file or repository overview, though explore may partially address this.
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 Connectors
Persistent memory and cross-session learning for AI coding assistants (hosted remote MCP).
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
An MCP server that gives your AI access to the source code and docs of all public github repos
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceAn MCP server that provides AI coding agents with AST-accurate, context-budget-aware codebase querying, safety gates, and team policy integration via structured tools and a local plugin layer.5624MIT
- AlicenseAqualityBmaintenanceAn MCP server that indexes reference repositories and provides tools for AI coding agents to retrieve lossless code context, enabling reasoning over codebases larger than the agent's context window.82Apache 2.0
- AlicenseNot gradedqualityAmaintenanceAn MCP server that indexes codebases into a local graph and provides on-demand context retrieval for AI coding agents, reducing token usage by tracking session history and delivering only relevant code subgraphs.14MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that reduces AI agent token usage by up to 90% through intelligent context compression. Enables efficient code exploration, multi-file refactoring, and debugging by providing tools for smart reading, searching, and managing code context.4MIT
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/wisdomrock/code-context-gate'
If you have feedback or need assistance with the MCP directory API, please join our Discord server