- Use service.Name instead of service.ID (UUID) for stable tool names across MCP server reconnections - Add (tenant_id, name) unique index on MCPService to prevent name collisions at the DB level - Add collision detection logging in RegisterMCPTools for defense-in-depth - Improve truncation logic to prioritize keeping the tool name intact Security: first-wins policy in ToolRegistry + unique name constraint prevents tool hijacking (GHSA-67q9-58vj-32qx). |
||
|---|---|---|
| .. | ||
| data_analysis.go | ||
| data_schema.go | ||
| database_query.go | ||
| definitions.go | ||
| final_answer.go | ||
| get_document_info.go | ||
| grep_chunks.go | ||
| knowledge_search.go | ||
| list_knowledge_chunks.go | ||
| mcp_tool.go | ||
| query_knowledge_graph.go | ||
| registry.go | ||
| sequentialthinking.go | ||
| skill_execute.go | ||
| skill_read.go | ||
| todo_write.go | ||
| tool.go | ||
| web_fetch.go | ||
| web_search.go | ||