Dippy icon indicating copy to clipboard operation
Dippy copied to clipboard

Document MCP tool naming inconsistencies for glob patterns

Open ldayton opened this issue 10 months ago • 0 comments

Problem

MCP servers like github-mcp-server use inconsistent naming for read operations, making it difficult to write glob patterns that cover all read-only tools.

Some tools use get_* prefix:

  • get_file_contents
  • get_commit
  • get_me

Others use *_read suffix:

  • pull_request_read
  • issue_read

Impact

No single pattern matches all read-only operations:

allow-mcp mcp__github-foxtrot__get_*     # misses pull_request_read, issue_read
allow-mcp mcp__github-foxtrot__*_read    # misses get_file_contents, get_commit

Suggestion

Document this in the MCP rules section of docs/config.md with example patterns that cover common MCP servers. Could include a "cookbook" of patterns for popular servers.

ldayton avatar Jan 18 '26 07:01 ldayton