Stdio proxy
Wrap an individual server process. Inspect MCP tool calls before forwarding them to the backend.
Secure the path between AI agents and MCP servers. Review dependencies with Signal, enforce tool and parameter policy with Control, and test the boundary with Assessment.
MCP security covers the tools, resources and trust boundaries exposed through the Model Context Protocol. A connected server gives an agent a way to act; its implementation, permissions and responses all belong in the security review.
Authentication establishes a caller’s identity. Action authorization narrows what that caller may do. Server code, tool definitions and returned content also need review.
Control can wrap a single MCP server through a stdio proxy or front multiple backend servers through an MCP gateway. Enforcement applies to calls routed through that configured integration.
Requests a tool and arguments
Identity · allowlist · constraints · scan
Executes the permitted tool call
A tool response is another trust boundary. Optional backend response scanning and outbound controls depend on the configured deployment.
Wrap an individual server process. Inspect MCP tool calls before forwarding them to the backend.
Front configured stdio or HTTP backends, discover their tools and apply per-agent policy to tool calls.
The tool is permitted, but its requested path includes production secrets.
Constrain parameter patterns, approved paths and maximum lengths.
Tool and parameter policyA tool schema expands from a read-only operation to a general command.
Review the changed definition and revisit approval before trusting the broader authority.
Dependency and schema reviewReturned content tries to turn a legitimate task into credential access or an unauthorized transfer.
Treat tool output as untrusted. Combine configured content scanning with explicit action and egress policy.
Prompt injection boundariesA credential lookup is immediately followed by a network request to an external destination.
Use configured tool-chain cooldowns and destination controls to restrict the sequence.
Test the connected workflowAn allowlist decides whether the agent may invoke read_file. A parameter constraint limits which paths that permitted tool can receive. Both matter when the same server can reach public data and secrets.
agents:
researcher:
allowed_tools: [read_file, search_files]
tool_constraints:
- tool: read_file
parameters:
path:
allowed_patterns: ["/data/*", "/public/*"]
blocked_patterns: ["/secrets/*", "*.env"]Inspect MCP server code, tool definitions, packages and install paths; revisit material changes.
Apply explicit per-agent tool, parameter and content policy at supported enforcement points.
Exercise realistic tool abuse, prompt injection and data paths within the agreed scope.
Review the acting identity, requested tool, applied policy and outcome. With a node key configured, hash chained and signed audit records support independent integrity verification.
No. Connectivity describes how the client and server communicate. Trust also depends on the implementation, the permissions it receives and the actions it can perform.
Oktsec supports per-agent tool constraints, including allowed and blocked parameter patterns. This can narrow an otherwise permitted tool to approved paths or values.
Control enforces inside the environment where the supported gateway, proxy or integration handles the action. Deployment depends on the MCP client, server transport and workflow.
Share the client, server and tools involved. We will identify which calls can be checked and which access needs to be restricted.