dograh/api/services
Paulo Busato Favarato 75839f9de5
feat(mcp): generic MCP tool source with per-node function filtering (#301)
* feat(mcp): generic MCP tool source with per-node function filtering

Adds a Model Context Protocol tool category: connect a customer MCP
server and expose its tools to the agent, with optional per-node
allow-listing of individual MCP functions.

- ToolCategory.MCP enum + alembic migration
- MCP definition validator and collision-safe function-name namespacing
- McpToolSession wrapper: graceful-degrade, per-call open/close lifecycle
- CustomToolManager MCP branch (schemas + proxy handlers)
- Per-node mcp_tool_filters threaded through DTO/graph/engine
- Best-effort discovered_tools catalog cache + POST /tools/{uuid}/mcp/refresh
- UI: MCP create/edit config, tabbed ToolSelector with per-node toggles

* feat: refactor for code standardisation and documentation

---------

Co-authored-by: Abhishek Kumar <abhishek@a6k.me>
2026-05-19 16:10:00 +05:30
..
auth feat: add test mode for API trigger 2026-04-25 16:30:26 +05:30
campaign feat: add openai realtime models (#298) 2026-05-16 18:05:23 +05:30
configuration feat: add openai realtime models (#298) 2026-05-16 18:05:23 +05:30
filesystem chore: bump pipecat version and fix tests (#263) 2026-05-04 21:35:37 +05:30
gen_ai feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
gender Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
integrations Initial Commit 🚀 🚀 2025-09-09 14:37:32 +05:30
pipecat feat: add openai realtime models (#298) 2026-05-16 18:05:23 +05:30
pricing feat: add openai realtime models (#298) 2026-05-16 18:05:23 +05:30
reports fix: number pool initialization in multi telephony setup 2026-05-08 14:48:53 +05:30
smart_turn feat: add headless mode, redesign floating widget, refactor lifecycle callbacks (#268) 2026-05-07 12:23:41 +05:30
telephony fix: force FORCE_TURN_RELAY for local IPs in setup 2026-05-16 18:37:38 +05:30
worker_sync feat: add worker sync events 2026-04-04 14:26:47 +05:30
workflow feat(mcp): generic MCP tool source with per-node function filtering (#301) 2026-05-19 16:10:00 +05:30
mps_service_key_client.py feat: refactor node spec and add mcp tools (#244) 2026-04-21 07:56:16 +05:30
posthog_client.py feat: add posthog signup and signin events, enable backend posthog events for oss version (#249) 2026-04-24 12:02:52 +05:30
quota_service.py feat: enable FORCE_TURN_RELAY to diagnose turn connectivity for local deployment setups (#272) 2026-05-11 17:13:01 +05:30
storage.py chore: bump pipecat version and fix tests (#263) 2026-05-04 21:35:37 +05:30