GET /mltk/mcp_connection[?name=...]

GET /mltk/mcp_connection[?name=...]

List all MCP connections, or fetch one by name.

  • AGENT_CONNECTION_CAPABILITIES

Description. List all MCP connections, or fetch one by name. Tokens are returned masked.

Response (200, list).

[
  {
    "name": "splunk_mcp",
    "type": "SPLUNK",
    "description": "Internal MCP server",
    "details": {
      "url": "https://mcp.example.com/services/mcp",
      "token": "***MASKED***",
      "is_auto_refresh_enabled": false
    },
    "created_at": 1715425200.123,
    "last_updated_at": 1715425200.123,
    "last_updated_by": "admin"
  }
]

Example.

# List
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" 
  "$SPLUNK_HOST/servicesNS/-/Splunk_ML_Toolkit/mltk/mcp_connection?output_mode=json"

# Single record
curl -sk -u "$SPLUNK_USER:$SPLUNK_PASSWORD" 
  "$SPLUNK_HOST/servicesNS/-/Splunk_ML_Toolkit/mltk/mcp_connection?name=splunk_mcp&output_mode=json"

Press Cmd/Ctrl+K to focus search. Esc to close.

Type to search the portal.