ConnectProxies
Proxies with an agent
Create a proxy and call it from the Core MCP.
The agent creates a proxy from an inbound credential, target, and target credential in one organisation and region. You need the clientId and a region before starting.
Call get_guide with guide_key: "proxy-creation" before the first create.
Create and call a proxy
create_target— PassclientId,targetName,targetBaseURL,targetRegion, and optionaltargetTestPath. Savetargets[0].sKey.create_credential— Create the target credential withclientId, name,credentialType: "target", auth type, region, and itscredentialSecret. Save its id.create_credential— Create the inbound credential withcredentialType: "proxy"in the same region. Save its id.create_proxy— PassclientId,proxyName,proxyRegion,proxyProxyCredentialId,proxyTargetId, andproxyTargetCredentialId.proxyActivedefaults totrue. Saveproxies[0].sKey.get_proxy_url— PassproxyIdandproxyRegion. Optionalpathappends a target path.execute_proxy_read_request— PassproxyUrl, the optionalpath, and the full inbound value asproxyCredentialToken.
The execution tools also include execute_proxy_create_request for POST, execute_proxy_modify_request for PUT, and execute_proxy_delete_request for DELETE. The delete tool must be confirmed before use.
Example create call
{
"clientId": "organisation-id",
"proxyName": "HTTPBin",
"proxyRegion": "us-east-2",
"proxyProxyCredentialId": "inbound-credential-id",
"proxyTargetId": "target-id",
"proxyTargetCredentialId": "target-credential-id",
"proxyActive": true
}A successful result has success: true. Use data.proxies[0].sKey as proxyId.
For existing records, use list_proxies, then get_proxy with clientId and the proxy's sKey. update_proxy changes supplied fields; setting proxyActive to false stops live traffic.