dspy-mcp-tool-integration
Pass
Audited by Gen Agent Trust Hub on Jul 10, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides instructions to install the
dspylibrary with MCP support from a public registry usingpip install -U "dspy[mcp]>=3.2.1,<3.3". - [COMMAND_EXECUTION]: The documentation includes an example of how to start a local MCP server using the
stdio_clientinterface. - Evidence: Uses
command="python3"with a placeholder script path inSKILL.mdto demonstrate process execution. - [PROMPT_INJECTION]: The skill demonstrates ingesting tool definitions from external MCP servers, which serves as an entry point for indirect prompt injection.
- Ingestion points: The
session.list_tools()method call in the example code inSKILL.md. - Boundary markers: Not explicitly shown in the simplified integration examples.
- Capability inventory: Tools retrieved via MCP are converted into
dspy.Toolobjects and provided to adspy.ReActagent for execution. - Sanitization: The documentation explicitly recommends applying authentication and authorization as a best practice before exposing tools.
Audit Metadata