Action Hub

OPEN SOURCE / MCP CAPABILITY LAYER

More capability.
Less context.

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 INTERFACE STAYS SMALL01 / OVERVIEW
Many capabilities, one host-visible tool An MCP host connects to the fixed action_hub tool. Action Hub routes to an indexed catalog of GitHub, Slack, Linear, other MCP servers, and skills. Any MCP host action_hub ONE FIXED TOOL DEFINITION GitHubSlackLinearMCP …Skills INDEXED CATALOG / LAZY DOWNSTREAM ACTIVATION

The catalog can change. The tool definition doesn’t.

01 / CONTEXT ECONOMICS

Don’t broadcast.
Retrieve.

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.

Eager MCP · 20 servers~90k tokens
Action Hub · fixed baseline~600 tokens

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

One entry point.
Three deliberate steps.

Read the architecture
01 / SEARCH

Find the capability, not the schema.

Hybrid lexical + semantic retrieval returns ranked action IDs and concise descriptions. Discovery does not activate the downstream server.

HOST-VISIBLE TOOL / SIMPLIFIED REQUEST SHAPE
{
  "operation": "search | load | execute",
  "query": "...",
  "action_id": "...",
  "arguments": {}
}

Original schemas

Load upstream JSON Schema on demand. Validate against that schema before dispatch.

Lazy activation

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.

Cache-stable surface

One fixed definition; no emitted tools/list_changed notification. Schemas arrive as results.

03 / DESIGN NOTES & OPEN QUESTIONS

A smaller surface.
Not a free lunch.

The architecture moves complexity. It doesn’t eliminate it. These are real tradeoffs raised in the community discussion.

01
APPROVAL VISIBILITY

One tool can hide the action that matters.

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.

Inspect the telemetry contract
Approval bound to action and exact argumentsThe action ID and canonical argument hash bind a five-minute, single-use approval token. Execute telemetry emits action_hub.approval.args_sha256, while upstream server version is not yet emitted. action_idcanonical hashof exact argumentsBound approval tokenSINGLE USE · 5 MIN DEFAULT Binding ≠ host or trace visibility
Consent must be specific, even when the interface is small.
02
DISCOVERY QUALITY

“Help me with this” is a hard search query.

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.

03
THE REAL TOKEN BUDGET

A map has a cost. So does a wrong turn.

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.

Read the original community discussion

04 / GET STARTED

Try the capability layer.
Keep your MCP host.

A standalone binary includes the runtime, CLI, and MCP server. Or build from source with Node.js 20.11+.

macOS / Linux

brew tap 1solomonwakhungu/tap
brew install action-hub

Windows

winget install SolomonWakhungu.ActionHub

Prefer a binary download? Use the latest release and verify SHA256SUMS.txt.

1

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 doctor
2

Share 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 --write
Multiple hosts? See shared daemon mode
Build from source Node.js 20.11+
git clone https://github.com/1solomonwakhungu/action-hub.git
cd action-hub
npm install
npm run build
npm test
Full quickstart guide

BUILT IN THE OPEN

Inspect the code.
Challenge the tradeoffs.

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.