Cmdhub
БесплатноНе проверенMCP (Model Context Protocol) server for CmdHub — enables AI Agents to search and execute CLI commands
Описание
MCP (Model Context Protocol) server for CmdHub — enables AI Agents to search and execute CLI commands
README
English | 简体中文
A decentralized, intent-driven CLI command registry and offline search infrastructure built for AI Agents and modern developers.
What is CmdHub?
CmdHub provides standardized, machine-readable ACI (Agent-Computer Interface) contracts for CLI tools, enabling AI Agents to discover and execute terminal commands with zero hallucination, millisecond latency, and full security guardrails.
Architecture
cmdhub-oss/ # This repository (open-source)
├── cmdhub-cli/ # cmdh — local CLI client (Rust)
├── cmdhub-mcp/ # MCP server for IDE/Agent integration
├── cmdhub-shared/ # Shared types and ACI schema definitions
├── cmdhub-skills/ # Plugin/skill system
└── schemas/ # ACI JSON Schema definitions
Key Features
- Offline Hybrid Search: FTS5 full-text + sqlite-vec vector search with RRF fusion (< 1ms)
- MCP Server: Native Model Context Protocol for Claude Code, Cursor, etc.
- Safety Guardrail: Risk-level blocking for dangerous commands
- XDG Compliant: Strict adherence to XDG Base Directory Specification
- Ed25519 Signed DB: Cryptographic verification of all distributed databases
Quick Start
# Install from source
cargo install cmdhub-cli
# Or build locally
cargo build --release -p cmdhub-cli
# Update the local database
cmdh update
# Search for a command
cmdh search "extract tar excluding node_modules"
# Start MCP server
cmdh mcp --transport stdio
Use as an AI Agent Skill
CmdHub ships an Agent Skill that teaches AI agents (Claude
Code, etc.) when and how to use cmdh for offline command discovery. Install it with the
skills CLI:
npx skills add https://github.com/Xuepoo/cmdhub-oss/tree/main/cmdhub-skills
The skill covers search tips, OS-aware install resolution, risk handling, and the
cmdhub_search / cmdhub_execute MCP tools.
Documentation
Full architecture, API, and design specifications are in the cmdhub-docs directory.
Key documents:
Development
# Format check
cargo fmt --all -- --check
# Lint
cargo clippy --all-targets --all-features -- -D warnings
# Test
cargo test --all-features --workspace
# Pre-commit
pre-commit run --all-files
License
MIT License — see LICENSE
Установка Cmdhub
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/Xuepoo/cmdhub-ossFAQ
Cmdhub MCP бесплатный?
Да, Cmdhub MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Cmdhub?
Нет, Cmdhub работает без API-ключей и переменных окружения.
Cmdhub — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Cmdhub в Claude Desktop, Claude Code или Cursor?
Открой Cmdhub на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
автор: lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Cmdhub with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
