langchain4j-mcp-server-patterns

Pass

Audited by Gen Agent Trust Hub on Feb 28, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill provides technical documentation and Java templates for implementing the Model Context Protocol. All reviewed content is educational and follows established security best practices.
  • [EXTERNAL_DOWNLOADS]: The skill references standard MCP packages such as @modelcontextprotocol/server-everything and @modelcontextprotocol/server-sqlite via npm exec. These are well-known, official protocol components used for testing and demonstration.
  • [COMMAND_EXECUTION]: The provided patterns utilize StdioMcpTransport to facilitate communication between AI agents and local processes. This is a core architectural requirement of the protocol. Additionally, the skill includes explicit warnings and code examples for implementing security filters to ensure that only authorized commands are executed.
  • [PROMPT_INJECTION]: The documentation includes proactive safety guidance, specifically instructing developers to sanitize user inputs within prompt templates and validate resource URIs to prevent injection and directory traversal attacks.
Audit Metadata
Risk Level
SAFE
Analyzed
Feb 28, 2026, 11:37 PM