ap_tcp
Test TCP connectivity to host:port from an AP (async, polls ~60s). timeout: 1-10s.
This record as markdown: /tools/secure-ssid-centralmcp/ap-tcp.md
What ap_tcp does on API-Central
AI agents invoke ap_tcp to trigger actions in API-Central. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.
Why ap_tcp is rated High
This tool actively executes a TCP connectivity test from a network device (AP), triggering an external network operation. It is not a passive read — it initiates a real connection attempt from the AP to a specified host:port, which constitutes executing an operation on network infrastructure. Misuse could be used to probe internal network hosts or services.
From the tool's definition Test TCP connectivity to host:port from an AP (async, polls ~60s)
Attacks that exploit this kind of access
The rule that runs ap_tcp safely
PolicyLayer is an MCP gateway: it sits between your AI agents and API-Central, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For ap_tcp, this is the rule to start with:
ap_tcp stays usable, but rate-capped: a runaway agent can't fire it dozens of times a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect API-Central, apply this rule, and every ap_tcp call is checked against it from then on.
Questions about ap_tcp
Test TCP connectivity to host:port from an AP (async, polls ~60s). timeout: 1-10s. It is categorised as a Execute tool in the API-Central MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the API-Central MCP server in PolicyLayer and add a rule for ap_tcp: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches API-Central. Nothing to install.
ap_tcp is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the ap_tcp rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for ap_tcp. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
ap_tcp is provided by the API-Central MCP server (secure-ssid/centralmcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on API-Central, and thousands of servers like it.
Across the catalogue