-
Couldn't load subscription status.
- Fork 129
Open
Labels
enhancementNew feature or requestNew feature or request
Description
[Feature Request] Tool Name Prefixes for MCP Server Identification
Problem Description
When using the Docker MCP Toolkit with multiple MCP servers enabled, users cannot easily identify which MCP server a tool belongs to from its name alone. This creates confusion when:
- Tool Identification: Multiple servers may have tools with similar names (e.g.,
create_issue,read_file,query) - Debugging: Users need to determine which server is causing issues or providing certain functionality
- Server Management: Users want to enable/disable tools by server category
- Tool Discovery: Users browse available tools and need to understand their origins
Current Impact
- User confusion about tool origins and capabilities
- Difficulty in managing tools by server category
- Manual workarounds required to track tool-to-server mappings
- Poor user experience when working with multiple MCP servers
Proposed Solution: Tool Name Prefixes
Add configurable prefixes to tool names indicating their source MCP server:
github:create_issueinstead of justcreate_issuefilesystem:read_fileinstead of justread_filedatabase:queryinstead of justqueryslack:send_messageinstead of justsend_message
Benefits
- Clear Tool Organization: Immediately identify which server provides each tool
- Better UX: Users can mentally categorize and filter tools by server
- Server Transparency: Always know which servers are active and contributing tools
- Debugging Aid: Easier to isolate issues to specific servers
Implementation Notes
- Prefixes should be configurable per MCP server in the server configuration
- Default prefixes could be derived from server names or allow custom specification
- Backward compatibility maintained - existing configurations continue to work
- Could integrate with existing
docker mcp tools lscommand to show prefixed names
Example Configuration
servers:
- name: github
prefix: "github"
# ... other config
- name: filesystem
prefix: "fs"
# ... other configRelated Issues
- MCP SEP-986: Specify Format for Tool Names - Official MCP specification proposal for standardized tool naming, including support for forward slashes (/) for namespacing
- ShotGrid MCP Server: Tool Naming Convention - Real-world implementation using prefixed tool names (e.g.,
prefix_action_qualifier) - AWS Q Developer CLI #2397: Token usage breakdown by tool/MCP (related to tool identification)
- mcp-filter project: External proxy solution for tool filtering (addresses similar organization needs)
Environment
- Docker MCP Toolkit via Docker Desktop
- IDEs: Cursor, Windsurf, VSCode with MCP extensions
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request