Skip to content

feat(mcp): add CODEGRAPH_MCP_TOOLS presets#847

Open
jsiu93 wants to merge 1 commit into
colbymchenry:mainfrom
jsiu93:feat/mcp-tool-presets
Open

feat(mcp): add CODEGRAPH_MCP_TOOLS presets#847
jsiu93 wants to merge 1 commit into
colbymchenry:mainfrom
jsiu93:feat/mcp-tool-presets

Conversation

@jsiu93

@jsiu93 jsiu93 commented Jun 13, 2026

Copy link
Copy Markdown

Summary

  • Add a shared CODEGRAPH_MCP_TOOLS parser so static tools/list and live ToolHandler use the same allowlist behavior.
  • Add documented presets: default, compact, and full, while keeping comma-separated custom tool lists working.
  • Document the presets in the README and MCP server reference.

Refs #776.

Testing

  • npx vitest run __tests__/mcp-tool-allowlist.test.ts
  • npm exec tsc -- --noEmit

Notes

This keeps the MCP tool descriptions unchanged, so it should not conflict semantically with #775.

@LuuOW LuuOW left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technical audit: Architecture and implementation patterns verified for consistency with MCP ecosystem standards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants