Back to Home
aporthq icon

mcp-policy-gate-example

Verified Safe

by aporthq

Overview

Provides policy enforcement for AI agent tool calls using the APort platform for authorization and audit trails.

Installation

Run Command
npx @aporthq/mcp-policy-gate-example

Environment 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

Stats

Interest Score0
Security Score9
Cost ClassLow
Avg Tokens50
Stars0
Forks0
Last Update2026-01-15

Tags

AI agentsPolicy enforcementAuthorizationMCP serverAPort