REST API Reference
MCP Connections
Endpoints in the MCP Connections group of the /mltk/** REST API.
Model Context Protocol (MCP) connections let agents reach external tool servers. The current MVP supports two transports:
SPLUNK— JSON-RPC 2.0 over HTTPS with Bearer token (on-deployment/services/mcpor on-cloud SSE).ATLASSIAN— Server-Sent Events with OAuth bearer token; optional automatic refresh.
| Endpoint | Methods | Source file |
|---|---|---|
/mltk/mcp_connection |
GET, POST, PUT | bin/rest_handlers/mcp_connection.py |
/mltk/mcp_connection/{name} |
DELETE | bin/rest_handlers/mcp_connection.py |
/mltk/mcp_connection/test |
POST | bin/rest_handlers/mcp_connection.py |
/mltk/mcp_connection/tools |
POST | bin/rest_handlers/mcp_connection.py |
Backing store. KV collection aitk_mcp_collection. Tokens are stored separately in Splunk passwords (realm mcp_token:{connection_name}) and replaced by the placeholder ***MASKED*** in API responses.
Capabilities. All write paths require AGENT_CONNECTION_CAPABILITIES. Per-record ACL is enforced on read/write.
Endpoints Permalink to this section
| Section | Method | Endpoint | Page |
|---|---|---|---|
| 4.1 | GET | /mltk/mcp_connection[?name=...] |
get-mcp-connection |
| 4.2 | POST | /mltk/mcp_connection |
post-mcp-connection |
| 4.3 | PUT | /mltk/mcp_connection |
put-mcp-connection |
| 4.4 | DELETE | /mltk/mcp_connection/{name} |
delete-mcp-connection-name |
| 4.5 | POST | /mltk/mcp_connection/test |
post-mcp-connection-test |
| 4.6 | POST | /mltk/mcp_connection/tools |
post-mcp-connection-tools |