Original schemas
Load upstream JSON Schema on demand. Validate against that schema before dispatch.
OPEN SOURCE / MCP CAPABILITY LAYER
Your agent doesn’t need the entire tool catalog in its prompt. It needs a good way to find the right action.
Action Hub puts MCP servers and skills behind one fixed tool. Search for a capability, load its schema, execute when ready.
Host-neutral core. Original upstream schemas. MIT licensed.
The catalog can change. The tool definition doesn’t.
01 / CONTEXT ECONOMICS
In an eager setup, tool schemas occupy context whether the task needs them or not. Action Hub keeps the catalog outside the fixed tool definition.
Illustrative project figures from the README and context economics, not universal MCP guarantees or a total session cost. Search results and loaded schemas still consume conversation tokens. Bars are schematic, not to scale.
02 / THE ROUTING LOOP
Hybrid lexical + semantic retrieval returns ranked action IDs and concise descriptions. Discovery does not activate the downstream server.
{
"operation": "search | load | execute",
"query": "...",
"action_id": "...",
"arguments": {}
}
Load upstream JSON Schema on demand. Validate against that schema before dispatch.
Cold catalog indexing and refresh contact configured downstream servers to call listTools before execution. After indexing, runtime connections stay inactive until an action is executed.
One fixed definition; no emitted tools/list_changed notification. Schemas arrive as results.
03 / DESIGN NOTES & OPEN QUESTIONS
The architecture moves complexity. It doesn’t eliminate it. These are real tradeoffs raised in the community discussion.
hutsonlabs’ concern, paraphrased: a host that only sees action_hub may not expose the downstream action in its normal approval UI. A single entry point is not a substitute for legible consent.
Current binding: approval tokens are bound to the action and exact arguments via a canonical argument hash. They are single-use and expire after five minutes by default. The lifetime is configurable, capped at one hour. See the approval design.
Visibility gap: execute OTel spans now emit action_hub.approval.args_sha256 (the canonical argument hash), while upstream server version is not yet emitted. Approval binding and trace hashing still do not replace host-native consent UI.
QuanTradin’s concern, paraphrased: search-first discovery can miss capabilities when a task is vague or goal-only rather than phrased in tool vocabulary.
Current mitigations: the compressed list_servers helper exposes the connected integrations and domain words. Pinned bundles can keep known task capabilities close at hand. The 30 goal-only queries are gated separately so aggregate improvements cannot hide this weak spot.
Proposed tradeoff, not the shipped default: put a tiny static capability index in the stable system prompt to give the model a starting map.
BC_MARO’s tradeoff, paraphrased: a tiny static capability index in a stable system prompt may help discovery, but adds permanent token overhead.
False-positive searches and repeated discovery can erase the savings from a small baseline. False-positive search cost is a metric to track, not an existing measured result. Evaluate the whole path to a useful action, not just the initial tool definition.
04 / GET STARTED
A standalone binary includes the runtime, CLI, and MCP server. Or build from source with Node.js 20.11+.
brew tap 1solomonwakhungu/tap
brew install action-hubwinget install SolomonWakhungu.ActionHubPrefer a binary download? Use the latest release and verify SHA256SUMS.txt.
Onboard in 60 seconds via the CLI. Auto-discover existing MCP servers and skills, wire your harness (with automatic .bak backup), and measure real token savings with init, or run each step individually:
action-hub init --harness claude-code
# Or step by step:
action-hub migrate --type all --write
action-hub harness claude-code install --write
action-hub doctorShare one daemon across multiple hosts. Start the local authenticated daemon once and point Claude Code, Cursor, Codex, VS Code, OpenCode, or pi at it with --daemon:
action-hub daemon start
action-hub harness cursor install --daemon --writeMultiple hosts? See shared daemon mode git clone https://github.com/1solomonwakhungu/action-hub.git
cd action-hub
npm install
npm run build
npm testFull quickstart guide BUILT IN THE OPEN
v0.1.0 is shipped with standalone binaries, shared daemon mode, OAuth 2.0, and 440+ passing tests. Inspect the implementation and roadmap before relying on any capability.