mcp-policy-gate-example
Verified Safeby aporthq
Overview
Provides policy enforcement for AI agent tool calls using the APort platform for authorization and audit trails.
Installation
npx @aporthq/mcp-policy-gate-exampleEnvironment Variables
- APORT_BASE_URL
- APORT_TIMEOUT_MS
- APORT_AGENT_ID
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- MCP_SERVER_COMMAND
- MCP_SERVER_ARGS
Security Notes
The server is built using the Model Context Protocol (MCP) SDK and APort SDK for policy enforcement. It does not contain 'eval' or other directly exploitable patterns. Configuration values are sourced from environment variables, preventing hardcoded secrets. The 'Simple Mode' explicitly noted in the README implies a lesser security posture than an upcoming 'Secure Mode', but this is transparent. Calls to the external APort service are central to its function and introduce a dependency on that service's security.
Similar Servers
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
agent-mcp-gateway
An MCP gateway that aggregates multiple downstream MCP servers, providing policy-based access control and on-demand tool discovery to optimize context window usage for agents and subagents.
dev-kit-mcp-server
A Model Context Protocol (MCP) server targeted for agent development tools, providing scoped authorized operations in the root project directory.
docker-mcp-server
A Model Context Protocol (MCP) server for containerized execution and file operations, enabling AI assistants to interact with a Docker environment via HTTP.