经 AI Skill Hub 精选评估,开源MCP工具 获评「推荐使用」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 7.5 分,适合有一定技术背景的用户使用。
基于OpenCode的强大多智能体协同工具,提升开发效率和智能体协同能力
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
基于OpenCode的强大多智能体协同工具,提升开发效率和智能体协同能力
开源MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/HiAi-gg/hiai-opencode
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"--mcp--": {
"command": "npx",
"args": ["-y", "hiai-opencode"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 开源MCP工具 执行以下任务... Claude: [自动调用 开源MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"__mcp__": {
"command": "npx",
"args": ["-y", "hiai-opencode"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
hiai-opencode is an OpenCode plugin that turns vanilla OpenCode into an opinionated multi-agent cockpit.
What you get on top of plain OpenCode:
task() delegation — quick/bounded/unspecified-low → Sub, deep/cross-module → Coder, ultrabrain → Strategist, visual-engineering/artistry → Designer, writing → Writer, git-ops → Manager. No more "everything routes to coder".lsp_diagnostics after every edit.This repository is intended to be usable by someone who clones it from GitHub without any internal context. External MCP servers, skills, model providers, and auxiliary OpenCode plugins remain their own upstream projects; this plugin only provides OpenCode wiring, defaults, prompts, launchers, and documentation around them.
Minimum:
Usually required:
Optional, depending on which services you want:
FIRECRAWL_API_KEY for Firecrawl (CLI skill, not MCP)STITCH_AI_API_KEY for Stitch (MCP)CONTEXT7_API_KEY for Context7 (MCP)uv for MemPalace (MCP)Direct npm install is only needed for development or inspection:
bun install
Local development:
git clone https://github.com/HiAi-gg/hiai-opencode.git
cd hiai-opencode
bun install
bun run build
After installing the plugin, you can ask OpenCode to finish local setup with this prompt:
Inspect this OpenCode workspace and finish hiai-opencode setup.
Do not add MCP server packages to the OpenCode plugin list. Keep OpenCode plugins separate from MCP servers.
Check that @hiai-gg/hiai-opencode is registered. If Dynamic Context Pruning is requested, install @tarquinen/opencode-dcp as a separate OpenCode plugin.
Find or create hiai-opencode.json in the project root or .opencode/. Use its mcp object as the single switchboard for enabling or disabling MCP services.
Keep skill discovery deterministic unless I explicitly ask for external skills. Leave global_opencode, project_claude, global_claude, project_agents, and global_agents disabled by default.
Enable only services that can run on this machine:
- sequential-thinking: requires node/npx.
- mempalace: requires uv or Python 3.9+ with pip; set `mcp.mempalace.pythonPath` (or `MEMPALACE_PYTHON`) if needed. Leave `HIAI_MCP_AUTO_INSTALL` enabled unless the user forbids package installation.
- stitch: requires STITCH_AI_API_KEY.
- context7: works without a key but use CONTEXT7_API_KEY if available.
- grep_app: no key required.
- firecrawl-cli: CLI skill (not MCP) at `skills/firecrawl-cli/`; requires FIRECRAWL_API_KEY.
Check .env.example, report missing keys without printing secret values, and never invent or hardcode API keys.
Run verification commands where available:
- opencode debug config
- hiai-opencode mcp-status
- hiai-opencode export-mcp .opencode/.mcp.json
- opencode mcp list --print-logs --log-level INFO
If a dependency is missing, install only user-level or project-local dependencies, explain every command before running it, and do not use sudo/admin rights unless the user explicitly asks.
mempalace: prefers uv; otherwise uses Python. You can force interpreter selection via mcp.mempalace.pythonPath or MEMPALACE_PYTHON. If HIAI_MCP_AUTO_INSTALL is not 0, false, or no, the launcher can run python -m pip install --user mempalace on first start.Build:
bun run build
Typecheck:
bun run typecheck
Prompt snapshots:
bun run prompts:measure
Before publishing:
bun run buildnpm pack --dry-rundebug confighiai-opencode export-mcp .opencode/.mcp.json if you need static mcp list visibilityPublish:
npm publish --access public
User install after publish:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@hiai-gg/hiai-opencode"]
}
Create a project-level config file at hiai-opencode.json in the project root or at .opencode/hiai-opencode.json.
Bash:
mkdir -p .opencode
cp hiai-opencode.json .opencode/hiai-opencode.json
PowerShell:
New-Item -ItemType Directory -Force .opencode
Copy-Item .\hiai-opencode.json .\.opencode\hiai-opencode.json
If you installed only from npm/OpenCode and do not have this repository checked out, create .opencode/hiai-opencode.json with the shape below and adjust it later.
{
"models": {
"bob": { "model": "kimi-for-coding/k2p6", "recommended": "xhigh" },
"coder": { "model": "minimax-coding-plan/MiniMax-M2.7", "recommended": "high" },
"strategist": { "model": "deepseek/deepseek-v4-pro", "recommended": "high" },
"manager": { "model": "opencode-go/qwen3.6-plus", "recommended": "middle" },
"critic": { "model": "opencode-go/mimo-v2.5-pro", "recommended": "high" },
"designer": { "model": "openrouter/google/gemini-3.1-pro-preview", "recommended": "design" },
"researcher": { "model": "openrouter/deepseek/deepseek-v4-flash", "recommended": "fast" },
"writer": { "model": "openrouter/mistralai/mistral-small-2603", "recommended": "writing" },
"vision": { "model": "openrouter/google/gemma-4-26b-a4b-it", "recommended": "vision" }
},
"mcp": {
"sequential-thinking": { "enabled": true },
"mempalace": { "enabled": true, "pythonPath": "{env:MEMPALACE_PYTHON:-./.venv/bin/python}" },
"stitch": { "enabled": false },
"context7": { "enabled": true }
}
}
By default, skill discovery is deterministic: hiai-opencode skills plus project-local .opencode/skills only. Global Claude/OpenCode/Agents skill folders are opt-in.
Model provider keys are handled by OpenCode Connect. Do not add OPENROUTER_API_KEY, OPENAI_API_KEY, or ANTHROPIC_API_KEY to hiai-opencode config for normal model usage.
Important service variables:
STITCH_AI_API_KEY (MCP)FIRECRAWL_API_KEY (CLI skill, not MCP)CONTEXT7_API_KEY (MCP)OLLAMA_BASE_URLOLLAMA_MODELMEMPALACE_PYTHON (MCP)MEMPALACE_PALACE_PATH (MCP)HIAI_MCP_AUTO_INSTALLHIAI_OPENCODE_AUTO_EXPORT_MCPHIAI_OPENCODE_MCP_EXPORT_PATHOptional headless or non-Connect fallback variables are documented in .env.example, but they are not required for normal OpenCode model auth.
Use .env.example as the reference template. Create a local .env in your OpenCode environment or export these variables in your shell before startup.
firecrawl: uses the CLI skill at skills/firecrawl-cli/ and requires FIRECRAWL_API_KEY for web scraping and extraction tasks. No MCP server needed.MCP integrations and which agents use them:
| Service | Key env var | Agent(s) | What it's for |
|---|---|---|---|
| Stitch | STITCH_AI_API_KEY | Designer | UI generation, design systems, screen variants |
| Firecrawl | FIRECRAWL_API_KEY | Researcher | CLI skill (not MCP) for web scraping, crawl, extract, search |
| Context7 | CONTEXT7_API_KEY | Researcher, Coder | Library API documentation |
| grep_app | — | Researcher | GitHub OSS code pattern search |
| MemPalace | MEMPALACE_PYTHON (optional) | Manager (primary), all agents | Project memory and past decisions |
| Sequential-Thinking | — | Strategist, Critic | Deep reasoning for planning/review |
opencode plugin @hiai-gg/hiai-opencode@latest --global
Optional Dynamic Context Pruning plugin:
opencode plugin @tarquinen/opencode-dcp@latest --global
Do not put MCP server packages such as @modelcontextprotocol/server-sequential-thinking into the OpenCode plugin array. They are MCP servers, not OpenCode plugins. Firecrawl is available as a CLI skill at skills/firecrawl-cli/, not as an MCP server.
Manual OpenCode config equivalent:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@hiai-gg/hiai-opencode",
"@tarquinen/opencode-dcp@latest"]
}
The packaged minimal OpenCode example lives in config/opencode.json.
hiai-opencode wires these projects and ideas into an OpenCode-friendly setup. Upstream projects remain independent; this table is attribution and orientation, not an ownership claim.
| Component | Upstream | Notes |
|---|---|---|
| OpenCode host/runtime | [anomalyco/opencode](https://github.com/anomalyco/opencode) | plugin host and runtime target |
| Core orchestration influences | [code-yeongyu/oh-my-openagent](https://github.com/code-yeongyu/oh-my-openagent) | architectural influence |
| Planning / workflow influences | [obra/superpowers](https://github.com/obra/superpowers) | planning, review, and debugging ideas |
| Specialist / platform influences | [vtemian/micode](https://github.com/vtemian/micode) | platform-style specialist behavior |
| Agent skill ecosystem | [addyosmani/agent-skills](https://github.com/addyosmani/agent-skills) | tactical workflow skill ideas |
| Supabase Postgres skill | [supabase/agent-skills](https://github.com/supabase/agent-skills/blob/main/skills/supabase-postgres-best-practices/SKILL.md) | Postgres best practices skill |
| Browser automation | [vercel-labs/agent-browser](https://github.com/vercel-labs/agent-browser) | CLI-based browser automation via CDP |
| Optional external plugin | [Opencode-DCP/opencode-dynamic-context-pruning](https://github.com/Opencode-DCP/opencode-dynamic-context-pruning) | installed separately |
| MemPalace | [MemPalace/mempalace](https://github.com/MemPalace/mempalace) | external MCP/runtime |
| Sequential Thinking | [modelcontextprotocol/servers](https://github.com/modelcontextprotocol/servers) | external MCP |
| Firecrawl CLI skill | [firecrawl/firecrawl](https://github.com/firecrawl/firecrawl) | CLI-based web scraping, crawl, extract, search (NOT an MCP server) |
| Context7 MCP | [upstash/context7](https://github.com/upstash/context7) | external MCP |
| bun-pty / PTY ecosystem | [shekohex/opencode-pty](https://github.com/shekohex/opencode-pty) | PTY/runtime integration influence |
该工具基于OpenCode,提供了强大的多智能体协同功能,适合用于开发和测试多智能体系统,但需要进一步优化和完善
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
AI Skill Hub 点评:开源MCP工具 的核心功能完整,质量良好。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | hiai-opencode |
| 原始描述 | 开源MCP工具:hiai-opencode turns vanilla OpenCode into a powerful opinionated multi-agent coc。⭐6 · TypeScript |
| Topics | mcpai-agentshiaimempalacemulti-agent-systemsopencode |
| GitHub | https://github.com/HiAi-gg/hiai-opencode |
| License | NOASSERTION |
| 语言 | TypeScript |
收录时间:2026-05-23 · 更新时间:2026-05-30 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端