DeepSeek Capability Hub
This server is a single lazy MCP/skill broker that lets an agent discover, inspect, start, call, and stop MCP capabilities on demand while keeping schemas out of context until needed.
search – find capabilities by intent, name, description, or tags, with optional
kindfilter (mcp/skill)inspect – review one capability's permissions, config, and environment status before use
status – check whether a capability is currently running/enabled
configure – set allowlisted non-secret configuration values via
configJsonenable / disable – start or stop a trusted MCP server process lazily
tools – list child MCP tool names and descriptions; full schemas are opt-in via
includeSchema, and can be narrowed with aquerycall – proxy a tool call to a child MCP tool, forwarding arguments as
argumentsJson(e.g.,{"query":"MCP"})skill.load – load one approved local skill body on demand
propose / proposals – submit third-party capability proposals and list pending ones; human approval is required outside the MCP before execution
catalog.reload – reload approved catalog state after manual approval
Keeps the host-facing surface to one compact tool, reducing resident context while preserving tool-selection accuracy
Provides integration with the official Unity CLI transport, exposing tools for interacting with Unity while a Unity Editor with Unity Pipeline is connected.
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., "@DeepSeek Capability HubSearch the capability catalog for web research tools."
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.
Capability Hub is a lazy MCP and skill broker for DeepSeek Harness and other MCP clients. The host sees one compact tool, capability_hub, instead of paying the context cost of every tool schema from every configured server.
The agent searches a lightweight catalog, inspects permissions, wakes one trusted server, calls it through the hub, and can shut it down again. Skill bodies are loaded only after selection.
Measured context savings
Numbers below are produced by bench/measure.mjs, not estimated.
It starts each real, published MCP server over stdio, asks for tools/list, and
counts the tokens (o200k_base) of the exact JSON a host injects per tool
(name + description + inputSchema). The hub is measured the same way, by
starting it and reading its own tools/list.
pnpm benchServer | Purpose | Tools | Context tokens |
| MCP reference server | 13 | 1,075 |
| Knowledge-graph memory | 9 | 891 |
| Structured reasoning | 1 | 851 |
| Browser automation | 24 | 3,383 |
Total — classic MCP | four servers, always resident | 47 | 6,200 |
Total — Capability Hub | one broker tool | 1 | 422 |
The permanent cost drops 93.2%, or 14.7x. That is the part of the prompt you pay for on every single turn, whether or not the task touches a tool.
The saving grows with your catalog
The hub publishes one schema no matter how many servers you configure, so the classic side grows linearly while the hub side grows only by a line of catalog prose per entry — and stops growing once the list degrades to names only. Each hub figure below is measured by starting the real server against a catalog of that size, not projected:
Servers configured | Classic tokens | Hub resident | Saved |
4 | 6,200 | 430 | 93.1% |
10 | 15,500 | 584 | 96.2% |
20 | 31,000 | 826 | 97.3% |
30 | 46,500 | 468 | 99.0% |
60 | 93,000 | 595 | 99.4% |
The drop at 30 is the degradation firing: full descriptions no longer fit the budget, the list falls back to names, and the resident cost roughly halves.
The honest other half
The hub is not free: what the classic setup pays once up front, the hub pays at runtime when the agent actually opens a capability. There is no single "per task" number — an earlier version of this README published one, and it was the most expensive possible path presented as typical. Three scenarios:
Scenario | Path | Hub tokens | vs 6,200 |
idle — task needs no capability | resident schema only | 422 | 93.2% saved |
direct — task opens one capability |
| 554 | 91.1% saved |
cautious — also reviews permissions, reads the full list |
| 1,195 | 80.7% saved |
The direct row still charges a search, which the inlined catalog list often makes
unnecessary — a conservative choice, since the bias should run against our own number.
The direct path is cheap for two reasons that were already in the code while the
benchmark was ignoring them: tools starts the server itself, so enable is not
on the critical path, and tools accepts a query, costing 60 tokens instead of 558
when the agent already knows what it wants:
{"action":"tools","name":"playwright","query":"click"}Break-even is about 47 direct discoveries in one session, or 8 if the agent takes the cautious path every time. Below that the hub wins; above it a static configuration is cheaper. The hub is therefore the right trade when you have many servers and each task touches few of them, and the wrong one when every task uses every tool you have.
Three design decisions came directly out of these measurements:
enableused to return the full tool list, and the documented next step istools— so the workflow paid for the same list twice, 1,567 tokens instead of 780.enablenow returns a count and a pointer to the next action.Model-facing JSON is serialized compactly. Indentation is not information, and pretty-printing measured 31% more tokens on the same payload.
The capability list ships inside the tool description rather than behind a
searchcall — see the accuracy table below for what that bought.
Related MCP server: getagentictools MCP server
Measured tool-selection accuracy
Saving context is worthless if the model then picks the wrong tool. So that is measured too, against Qwen3.8-27B running locally at temperature 0 — 28 tasks with known answers, of which 6 need no tool at all and calling one is scored as a failure.
pnpm bench:accuracyCondition | Resident | Overall | No-tool tasks | False calls | Avg turns | Avg prompt |
classic — 47 schemas resident | 6,200 | 96.4% | 83.3% | 1 | 1 | 7,269 |
hub, vague catalog | 422 | 82.1% | 83.3% | 1 | 3.00 | 2,818 |
hub, list not inlined | 328 | 85.7% | 100% | 0 | 3.54 | 3,047 |
hub, as shipped | 533 | 96.4% | 100% | 0 | 1.96 | 1,873 |
Same accuracy on a twelfth of the resident context — and fewer total tokens. 1,873 prompt tokens per task against 7,269, summed across every turn of the multi-turn protocol. The penalty a broker is supposed to pay for extra round trips did not appear.
The classic setup's single failure is worth naming: asked "Is 97 a prime number?", the
model with 47 tools resident reached for sequentialthinking. Every hub condition with a
usable catalog scored 100% on the no-tool tasks.
The vague-catalog row is the same code and the same servers — only the descriptions differ. Write your catalog so it can be found; it is worth ~14 points.
The hub rows are multi-turn against live child processes, so borderline tasks move a few points between runs. Across three runs the classic condition reproduced at exactly 96.4% every time and the shipped hub scored 96.4–100%; the two ablation rows always landed below both, never above.
Head to head against Tool Search
Everything above compares this broker to a static configuration, which cannot support a
claim of being better than the other lazy approaches. So they were measured too — same
28 tasks, same model, and a tool_search condition built the way Anthropic's Tool Search
Tool and Claude Code's MCP Tool Search work, with real semantic retrieval.
pnpm bench:head-to-head98 tools | Resident | Overall | No-tool | False calls | Avg prompt |
classic | 12,422 | 92.9% | 83.3% | 1 | 14,701 |
toolSearch | 75 | 92.9% | 100% | 0 | 1,384 |
hub | 709 | 92.9% | 100% | 0 | 2,125 |
Read this honestly: it is a tie on accuracy, and Tool Search is the more compact design. 75 resident tokens against 709, and it does not grow with the catalog, because its resident surface is one query string. This project's surface carries an action enum, a payload field and an inlined capability list.
What both lazy approaches do beat is a static list: about a fifth of the prompt tokens, and 100% on the six tasks where the correct answer is to call nothing, against classic's 83.3%.
Where this broker still earns its place is the axis none of these numbers cover — it keeps capabilities stopped, not merely hidden, and it carries permissions, configuration and human approval that a search tool has no opinion about. The comparison is also unfair in our favour in one way that is spelled out in the write-up: the Tool Search index assumes every server has already been enumerated, and its embedding model is not charged for.
Full tables for both scales, the failure analysis and the prior-art section are in docs/context-economy.md.
Raw per-tool measurements are committed under bench/snapshots/, the
token report in bench/results.json, the accuracy report in
bench/accuracy.json and the comparison in
bench/head-to-head.json, so every table can be re-derived
without network access.
Proof that it is actually dynamic
The table above shows what the model does not have to carry. This shows the other
half — that a capability nobody loaded at startup can be found by intent, opened, used
for a real tool call, and shut down again. Nothing in it is mocked: the child is the
published @playwright/mcp package.
pnpm proofhost-visible tools capability_hub
search (by intent) 72 tokens playwright found, enabled=false
inspect (permissions) 121 tokens permissions listed, still stopped
enable (starts process) 22 tokens real child process, 24 tools live
tools (schemas withheld) 558 tokens names + descriptions, schemasIncluded=false
tools (narrowed by query) 60 tokens matched 1 of 24
tools (one schema, opt-in) 144 tokens schema returned only when asked
call (real child tool) 107 tokens browser_navigate executed
disable (stops process) 11 tokens wasEnabled=true
search (after disable) 72 tokens enabled=false againEach step is asserted, not just printed: the run fails if more than one tool is exposed
to the host, if a capability reports itself running before enable, if a child schema
appears in the default tools listing, if includeSchema is ignored, if the query does
not narrow the list, or if the capability is still marked running after disable. The
receipt is written to bench/dynamic-proof.json.
The contrast with a static configuration is the point: those same 24 Playwright tools cost 3,383 resident tokens in every prompt of every turn, whether or not the task ever touches a browser. Here they cost nothing until the model asks, and 24 tools' worth of names costs 558 tokens once — or 60 if it already knows what it wants.
Why it exists
Large static MCP configurations waste context and make tool choice noisier. Capability Hub keeps the model-facing surface stable:
search → inspect → enable → tools → call → disableOne fixed schema stays in the Harness prompt.
Child tool schemas remain outside the model context until requested.
toolsreturns names and descriptions by default; full schemas are opt-in.MCP processes start lazily and live only for the hub process lifetime.
Skills are discovered by metadata and loaded one at a time.
Third-party additions enter a human approval queue; the model cannot self-approve executable code.
Quick start
Requirements: Node.js 22.19+ and pnpm.
git clone https://github.com/NeoXider/neoxider-mcp-hub.git
cd neoxider-mcp-hub
pnpm install --frozen-lockfile
pnpm test
pnpm client -- --json '{"action":"search","query":"demo"}'The default catalog contains only a bundled echo MCP and an example ML skill. Tests do not download or execute third-party packages.
DeepSeek Harness setup
Build the hub, then merge examples/dsh/cordis.patch.yml into the active Harness Web profile and adjust the absolute repository path. Restart Harness.
pnpm buildHarness will expose one model-facing tool:
mcp__capability_hub__capability_hubStart with:
{"action":"search","query":"web research"}Model-facing contract
The public schema is intentionally flat so constrained-decoding engines such as LM Studio can compile it reliably. Arbitrary child arguments travel as JSON strings.
Discover and call a tool:
{"action":"tools","name":"web-search-neo"}{
"action": "call",
"name": "web-search-neo",
"tool": "web_info",
"payloadJson": "{\"topic\":\"search_status\"}"
}Available actions:
Action | Purpose |
| Search compact capability metadata |
| Review one capability, permissions, config and environment status |
| Set allowlisted non-secret values through |
| Start or stop one trusted MCP |
| List child tools; schemas remain optional |
| Proxy one child tool call through |
| Load one approved local skill body |
| Store an untrusted proposal from |
| List pending proposals |
| Reload approved catalog state |
Real integration examples
Ready-to-review proposals are included for:
Web Search Neo — dynamic web research and browser tooling.
Unity CLI MCP — the official Unity CLI transport. Its tool list is populated only while a Unity Editor with Unity Pipeline is connected.
These files are examples, not silently trusted defaults. Review paths, versions and permissions before approval.
Human-gated installation
Model-created proposals are stored under data/state/pending and cannot execute. Approve from a separate human-operated command:
node dist/src/admin.js approve <proposal-id> --catalog .\data\catalog.json --state .\data\state --yesThen call catalog.reload and enable. Prefer pinned package versions or immutable Git revisions; avoid floating latest installers in approved entries.
Catalogs, secrets and skills
MCP transports:
stdioandstreamable-http.Templates:
${catalogDir},${packageDir}and explicitly allowlisted${config:key}values.Secrets: environment-variable references only. Secret-like model configuration keys are rejected.
Skills: approved local Markdown files, loaded on demand, limited to 256 KiB. Resolved paths must remain under the catalog/package directory; an external directory requires an explicitly reviewed
skill.allowedRootsentry.State: runtime config and proposals are ignored by Git.
Strict Harness model smoke
The reusable smoke creates an isolated temporary DSH_HOME, forces the read-only permission preset, and starts a new headless session. Its isolated hub state contains approved metadata only for the Web Search Neo and Unity CLI examples; neither capability is started. The smoke validates exactly seven calls through the single outer hub tool — search, inspect, tools, call (add with 2 + 3), skill.load, status, disable — followed by the exact assistant token CAPABILITY_HUB_SMOKE_OK. Retries, other tools, missing results, tool errors, or extra final text fail validation.
The compact JSON receipt under data/state/smoke-receipts records the final assistant text, catalog visibility, selected Harness provider/model, permission preset, action sequence, and model lifecycle. Before loading LM Studio, the smoke checks the process list: an already-loaded matching model is reused and never unloaded by the smoke; a model loaded by the smoke is released after the Harness evidence receipt has been persisted (with TTL as a fallback).
pnpm smoke:harnessFor a stricter source-checkout-only proof, the optional external smoke uses the pinned
local @playwright/mcp@0.0.79 dev dependency. Qwen must discover it, inspect it,
explicitly enable it, list the narrowed navigation tools, call browser_navigate on an
inert data: page, load the bundled skill, observe the child running, disable it, and
finally observe an empty enabled list. The receipt rejects retries, any second outer
tool, tool errors, a different model, an unverified page title, or a child that remains
enabled. The browser is headless and isolated, writes only below the temporary smoke
home, and the command never downloads a package:
pnpm smoke:harness:externalThe ordinary pnpm smoke:harness remains the fast bundled/offline-contract smoke and
does not require Playwright.
With no model overrides, the default lmstudio smoke reads lms ls --json and deterministically selects the smallest already-installed trainedForToolUse LLM (size first, then modelKey). Its modelKey is also used as the Harness API model identifier. The smoke never downloads a model. Context is 32K and the idle TTL fallback is one hour. Explicit overrides keep the requested model and disable auto-selection:
$env:CAPABILITY_HUB_SMOKE_MODEL = "another-api-identifier"
$env:CAPABILITY_HUB_SMOKE_MODEL_KEY = "installed-lm-studio-model-key"
$env:CAPABILITY_HUB_SMOKE_RECEIPT = "C:\receipts\capability-hub.json"
pnpm smoke:harnessSet CAPABILITY_HUB_SMOKE_DSH_ENTRY when Harness is installed outside C:\AI\work\deepseek-harness-runtime. For non-LM-Studio providers, set CAPABILITY_HUB_SMOKE_PROVIDER and, when needed, CAPABILITY_HUB_SMOKE_PROVIDER_CONFIG_JSON; the script does not install providers or models.
See SECURITY.md for the trust boundary.
Current scope
Tool calls are proxied; child MCP resources and prompts are not bridged yet.
Reconnect is explicit:
disable, thenenable.Remote skill download, signature verification and sandboxed installers are future work.
A model with unrestricted host shell access can bypass plugin-local policy; use Harness permissions as the outer boundary.
Companion project
Want a compact animated desktop view of agents, context, models, reasoning and chat? See NeoXider Agent Deck.
Contributing
Issues and focused pull requests are welcome. New integrations should include a pinned example, a narrow permission description and an end-to-end test.
MIT © NeoXider
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables AI assistants to search, discover, and get recommendations from 20,000+ skills, tools, agents, rules, and MCP servers.5261MIT
- AlicenseNot gradedqualityAmaintenanceEnables searching and retrieving details of 41,000+ agent skills, MCP servers, Claude Code plugins, and agentic loops from any MCP-capable agent.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to search, browse, install, and manage a large library of skills via only 7 MCP tools, with skills stored locally and loaded on demand to minimize context overhead.4
- AlicenseNot gradedqualityBmaintenanceEnables on-demand discovery and loading of skills and MCP tools through a fixed set of routing tools, minimizing token overhead.5MIT
Related MCP Connectors
A registry of 5,900+ peer-authored skills any MCP agent can search and load on demand.
Find, compare, and audit software for AI agents. Scored registry of tools and MCP servers.
Agent-native marketplace. Bootstrap, list inventory, search, negotiate, and trade via MCP.
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/NeoXider/neoxider-mcp-hub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server