feat: Add MCP Server integration for agency agents#518
Open
shenshuoyaoyouguang wants to merge 4 commits into
Open
feat: Add MCP Server integration for agency agents#518shenshuoyaoyouguang wants to merge 4 commits into
shenshuoyaoyouguang wants to merge 4 commits into
Conversation
added 4 commits
May 9, 2026 08:06
- Add complete MCP (Model Context Protocol) server implementation in TypeScript - Server entry point, agent loader, nexus orchestration pipeline - Tools: invoke-agent, list-agents, orchestrate - Prompts: agent-activate, nexus-pipeline - Resources: agent-profile - Add mcp-server as a supported tool in convert.sh and install.sh - Auto-detect Node.js 18+ for MCP server compatibility - Generate IDE-specific MCP config files (Trae, Cursor, Claude Desktop) - Install dependencies and build automatically if needed - Add scripts/common.sh with shared shell utilities (normalize_node_entry_path) - Update .gitignore for MCP server build artifacts and IDE config files - Fix .omx/ ignore pattern to properly exclude subdirectories - Update README.md to include MCP Server in supported tools list - Fix zk-steward.md description field quoting for YAML compatibility
- loader.ts: remove unused 'cat' variable, iterate byCategory.values() directly - index.ts: replace hardcoded category enum with AGENT_DIRS constant - invoke-agent.ts: use slugify() for multi-word query matching in suggestions - smoke-test.mjs: replace fragile exact count assertion with functional checks - nexus.ts: use word-boundary regex for keyword matching, handle terminal phase handoff - utils.ts: improve resolveRepoRoot fallback with logging and process.cwd() - install.sh: remove 'trae' from ALL_TOOLS (no implementation yet) - convert.sh: remove 'trae' from valid_tools/tools_to_run/parallel_tools - docs/mcp-server-development-plan.md: add 'text' language tags to fenced code blocks (MD040) - integrations/mcp-server/README.md: add 'text' language tag to usage example block (MD040) - README.md: add MCP Server entry to Multi-Tool Integrations section
将 slugify 函数从 loader.ts 模块中导出,以便 invoke-agent.ts 可以导入并使用该函数。同时更新 install.sh 脚本中的工具列表,添加 trae 工具。
|
Closing — this is my personal fork (bensl84/agency-agents). The canonical project lives at https://github.com/msitarzewski/agency-agents — please re-open your PR there. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a complete MCP (Model Context Protocol) Server integration, enabling IDE tools to interact with agency agents via the MCP protocol.
Changes
New: MCP Server Implementation (mcp-server/)
New: Integration Support
Modified: Tool Integration Scripts
Modified: Other Files
Testing
Files Changed (23 files, +3905 / -8 lines)