action-hub
One fixed, cache-stable MCP tool with offline MiniLM+BM25 search, lazy activation, OAuth 2.0, and a shared multi-harness daemon for MCP servers and skills.
Install / Use
claude mcp add 1solomonwakhungu -- npx -y github:1solomonwakhungu/action-hubIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
AI & Machine LearningSupported Platforms
Tags
Our assessment of action-hub
action-hub scores 74/100 on our quality scale, 863rd of 961 AI & Machine Learning skills we index.
Its MCP Server is 17 KB long, well organised into 23 sections with 8 code examples: a thorough specification that gives an agent plenty to work with.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so action-hub is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 92/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
action-hub compared with similar skills
All 4 of these similar skills score higher than action-hub; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| action-hub (this skill)by 1solomonwakhungu | 74 | 3 | today | MCP Server |
| claude-memby thedotmack | 100 | 119.2k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.1k | 1d ago | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 93.7k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 88.6k | today | CLAUDE.md |
Frequently asked questions
- How do I install action-hub?
- Run
claude mcp add 1solomonwakhungu -- npx -y github:1solomonwakhungu/action-hub. The install tabs above show the steps for each supported agent. - Which AI agents does action-hub work with?
- It is written for Claude Code, Claude Desktop, Cursor and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is action-hub safe to use?
- It is MIT-licensed and scores 92/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is action-hub still maintained?
- The repository was last updated today, so action-hub is actively maintained.
Skill content
View source on GitHubAction Hub
One fixed, cache-stable MCP tool in front of all your MCP servers and skills — with offline hybrid semantic search, lazy activation, and a shared multi-harness daemon.
Works with Claude Code, Claude Desktop, Cursor, VS Code, Codex, OpenCode, Zed, Windsurf, pi, and local-LLM MCP hosts.
Why Action Hub?
Every MCP server you connect injects its full set of tool schemas into the model's prompt on every turn. Connect GitHub, Linear, Slack, Postgres, and a browser server and you're burning 15K–90K+ tokens before typing a prompt — while degrading tool-selection accuracy and bloating context windows (especially fatal on local models).
Action Hub replaces that eager tool list with one fixed tool (action_hub, ~600 tokens) backed by a local, hybrid-indexed catalog (BM25 + vendored offline int8 all-MiniLM-L6-v2 ONNX/WASM embeddings with RRF fusion).
Claude Code / Cursor / Codex / VS Code / OpenCode / Zed / Windsurf / Local LLMs
│
action_hub (1 fixed tool, ~600 tokens)
│
Action Hub (stdio, HTTP, or shared daemon)
│
┌──────────────┬────────────┼────────────┬──────────────────┐
▼ ▼ ▼ ▼ ▼
GitHub MCP Linear MCP Slack MCP Remote OAuth2 ~/.action-hub/skills
(lazy spawn) (lazy spawn) (gated) (PKCE + rotate) (SKILL.md catalog)
How the loop works
The model sees one tool with three core operations plus discovery helpers:
search— hybrid BM25 + local MiniLM semantic search over tools and skills. Returns rankedaction_ids and one-line summaries (never full schemas unlessinclude_schema: trueis passed).load— fetches the verbatim upstream JSON Schema (orSKILL.mdinstructions for a skill) as a conversation tool result on demand.execute— validates arguments locally against the upstream schema, enforces trust/approval policy, and lazily activates + dispatches to the owning MCP server.- Discovery helpers —
list_serversreturns a compressed IDF-keyword directory of connected servers for vague/goal-only prompts;search_bundles/load_bundleload multi-tool workflows in one turn.
Quickstart (60 Seconds)
Action Hub ships as a zero-dependency standalone binary (Node SEA) bundling the runtime, CLI, in-process MCP server, and vendored MiniLM model — no Node.js installation required.
1. Install the binary
macOS (Apple Silicon) — direct verified download:
curl -LO https://github.com/1solomonwakhungu/action-hub/releases/latest/download/action-hub-macos-arm64
curl -LO https://github.com/1solomonwakhungu/action-hub/releases/latest/download/SHA256SUMS.txt
shasum -a 256 -c SHA256SUMS.txt --ignore-missing
chmod +x action-hub-macos-arm64
sudo mv action-hub-macos-arm64 /usr/local/bin/action-hub
action-hub --version
Binaries for macOS (
<details> <summary>Other install options (Homebrew formula, build from source, npm / MCP Registry status)</summary>arm64,x64), Linux (x64,arm64), and Windows (x64) plusaction-hub.rb(Homebrew formula) andwinget-manifests.tar.gzare attached to the latest release.Homebrew (from release formula or tap):
# Directly from the release asset: curl -LO https://github.com/1solomonwakhungu/action-hub/releases/latest/download/action-hub.rb brew install --formula ./action-hub.rb # Or via tap (when published): brew tap 1solomonwakhungu/tap && brew install action-hubBuild from source (Node.js 20.11+):
git clone https://github.com/1solomonwakhungu/action-hub.git cd action-hub npm install && npm run build && npm testnpm & Official MCP Registry status:
</details>@action-hub/clinpm package publishing and Official MCP Registry metadata (server.json) are prepped in-repo and pending npm scope/token activation; seedocs/releasing.md.
2. Onboard in one command (or step by step)
One-command setup (discovers existing MCP servers & skills, installs into your harness with a .bak backup, and prints your real per-turn token savings):
action-hub init --harness claude-code
# Supported targets: claude-code, claude-desktop, cursor, codex, opencode, pi, vscode
Or run each step individually:
# 1. Auto-discover MCP servers, skills, and plugins from Claude Desktop, Cursor,
# VS Code, Copilot, Codex, Windsurf, Cline, and Roo Code (redacted preview + atomic 0600 write):
action-hub migrate --type all # dry-run preview
action-hub migrate --type all --write # save to ~/.config/action-hub/servers.json
# 2. Connect your AI harness (writes a timestamped .bak backup before editing):
action-hub harness claude-code install --write
# 3. Verify health, measure actual token savings, and inspect live hybrid search:
action-hub doctor
action-hub test-search "open a pull request"
For Zed and Windsurf, see docs/harness-guides.md.
Example action-hub doctor output:
Context Savings Estimate:
Total tools indexed: 184
Eager tokens estimate: 41200
Hub tokens estimate: 600
Estimated token savings per turn: ~99%
(Note: action-hub also runs autoDiscover by default when no servers.json exists yet, and indexes any SKILL.md folders dropped into ~/.action-hub/skills/.)
Why Action Hub vs. Native Tool Search or MCP Proxies?
If you only ever use Claude Code with Anthropic's built-in Tool Search (ENABLE_TOOL_SEARCH), native deferral already cuts a lot of upfront bloat. Action Hub is built for what native client deferral and manual proxies don't solve:
| Capability | Anthropic Tool Search | Manual Proxies (MetaMCP / MCP Router) | Action Hub |
| --- | :---: | :---: | :---: |
| Works across Cursor, Codex, OpenCode, VS Code, Zed, Windsurf, pi, local LLMs | No (Claude only) | Yes | Yes |
| Byte-stable single tool (zero tools/list_changed, preserves prompt cache) | Provider-managed | Varies | Yes (pinned by test) |
| Offline hybrid BM25 + MiniLM semantic search (no API keys, no manual tool toggling) | Provider-side | Usually manual grouping | Yes (vendored WASM ONNX) |
| Unified catalog for MCP tools + SKILL.md skills + bundles | Separate systems | Tools only | Yes |
| Shared local daemon across multiple editors simultaneously | No | Docker / external server | Yes (0600 Unix socket) |
| Argument-bound single-use approval tokens + OAuth 2.0 PKCE + circuit breakers | Client-specific | Partial | Built-in |
| Zero-dependency single binary (no Docker, no Node install required) | Built into CLI | No | Yes (Node SEA) |
Shared Daemon Mode
Running a separate MCP server per editor duplicates downstream processes and OAuth state. Start one background daemon and wire every harness to it in one command:
action-hub daemon start
action-hub daemon status
action-hub harness cursor install --daemon --write
action-hub harness claude-code install --daemon --write
Or configure any stdio MCP host manually to bridge through the shared daemon:
{
"command": "action-hub",
"args": ["connect"]
}
- macOS / Linux: User-only
0600Unix domain socket inside a0700runtime directory. - Windows: Ephemeral
127.0.0.1loopback port. - Auth: 256-bit random per-daemon token stored
0600, verified in constant time. Clients that cannot read the token are rejected. - Streamable HTTP: Need HTTP instead of stdio? Run
action-hub serve --port 6290(loopback-only, bearer-token protected).
Measured Economics, Performance & Scale
Context & payload costs
| Metric | Eager MCP | Action Hub | Source |
| --- | ---: | ---: | --- |
| Fixed baseline tool schema per turn | ~15K tokens (5 servers / ~60 tools)<br>~90K tokens (20 servers / ~400 tools) | ~600 tokens (1 fixed tool) | packages/core/src/action-hub.ts (HUB_TOOL_TOKENS) |
| Marginal baseline cost of server #101 | Linear growth | 0 tokens | Fixed tool surface |
| search (limit 10) tool result | — | ~3.6 KB (~900 tokens) | Measured on 15K-action corpus (stress/README.md) |
| load (1 schema) tool result | — | ~2.9 KB (~730 tokens) | Measured on 15K-action corpus (stress/README.md) |
| list_servers (44 servers, 8 keywords/server) | — | ~6.5 KB compact JSON (~1.6K tokens) | Measured on 44-server corpus (docs/harness-guides.md) |
Cache-stable by design
Hosts that cache prompt prefixes (Anthropic, OpenAI, Claude Code, Cursor, Codex) invalidate the cache whenever the tool list changes. Action Hub pins three invariants in packages/plugin/server/test/cache-stable.test.ts:
- One fixed tool (
action_hub) registered once before transport connect; single-pagetools/listwith no pagination cursor. - No
tools/list_changednotifications emitted even when the catalog re-indexes or skills change underneath. - Schemas arrive as tool results, keeping the cached prefix untouched. (For how to handle loaded schemas after host context compaction, see
docs/harness-guides.md#loaded-schemas-after-compaction.)
Fleet-scale stress results (44 servers / 10,000 tools / 5,000 skills)
Tested in an isolated stress harness (stress/):
- Search latency (c1): stdio p50 ~33 ms, HTTP p50 ~40 ms across 15,000 indexed records (
stress/README.md). - Warm startup (
initialize): 1.5 s with deferred background refresh (persisted catalog + hydrated embedding vectors). - Sustained load (10–40 RPS, k6 JSON-RPC mix): 0% errors, search p95 747 ms; throughput knee near ~110 RPS; saturation ramp (100→500 VU + 5-min soak) 263.6 RPS at 1.73% HTTP failures, peak RSS 765 MB.
- Shared daemon: 20/20 concurrent
action-hub connectclients connect and search with 0 errors (~346 MB daemon RSS). - Test suite: 440+ passing tests (
v0.1.0baseline:core293,mcp-server39,cli90,site4,as-of execution eval14 — seeSTATUS.md).
Security, Auth & Reliability Built In
- Trust tiers & argument-bound approval tokens: Servers are
blocked,untrusted, ortrustedwith per-serverallowTools/denyTools(deny always beats allow, evaluated before approval). Gated executions return anapproval_requiredenvelope with a single-use token bound to a SHA-256 hash of canonicalized arguments (5-minute default TTL). - OAuth 2.0 for remote HTTP MCP servers: Standards-based PKCE and
client_credentialsvia config (action-hub auth login/status/logout), proactive 60 s pre-expiry refresh, deduplicated concurrent refreshes, and RFC 6749 refresh-token rotation stored0600. - Downstream resilience: Lazy server activation, per-server activation deadlines (
timeoutMs), closed/open/half-open circuit breakers (3 transport failures → 10 s cooldown → half-open probe; tool errors never trip the breaker), heartbeat probes, exponential restart backoff with jitter, cooperative chunked re-indexing, and--max-old-space-sizememory caps for Node stdio servers. - Zero-lock-in OpenTelemetry: Instrumented via
@opentelemetry/api(no-op when no SDK is register
Truncated for display — read the full file on GitHub.
Related Skills
claude-mem
119.2kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
114.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Understand-Anything
93.7kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
hyperframes
88.6kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
