Verifies a Model Context Protocol (MCP) connection and discovers available tools. Use this endpoint to test MCP server connectivity before configuring an agent.
MCP connection configuration
Model Context Protocol connection configuration for integrating external services with the agent. Defines how to connect to an MCP server including server URL, authentication, transport protocol, custom headers, and tool filtering.
Display name for this MCP connection. Used to identify the connection in logs and configuration.
1MCP server URL to connect to. The URL format depends on the transport protocol (SSE uses HTTP/HTTPS endpoints, StreamableHTTP uses HTTP endpoints).
Authentication configuration for the MCP server. Supported types include none, API key, bearer token, and custom authentication schemes.
Custom HTTP headers to include with each request to the MCP server. Useful for passing additional metadata or configuration to the server.
Whether this MCP connection is enabled. When disabled, the agent will not connect to this MCP server or use its tools.
Optional description explaining the purpose of this MCP connection or what services it provides.
Transport protocol for MCP communication. Supported values are SSE (Server-Sent Events for persistent connections) and StreamableHTTP (for request-response patterns).
SSE, StreamableHTTP List of tool names to exclude from this MCP connection. Tools in this list will not be available to the agent even if the MCP server provides them. Useful for restricting access to specific tools.
List of tool names to allow from this MCP connection. When specified, only tools in this list will be available to the agent. If not specified, all tools from the server are available (subject to BlackListTools).
Connection test completed successfully (check success field in response)
Results from testing a Model Context Protocol (MCP) server connection. Contains connection status, discovered tools, and performance metrics. Use this to verify MCP server connectivity and discover available capabilities before configuring agents.
Whether the connection test succeeded. When true, the MCP server was reachable, responded correctly, and tool discovery completed. When false, check the Message field for error details.
Tools discovered on the MCP server during the connection test. Each tool represents a capability that agents can use when this MCP connection is configured. Empty list when the connection failed or the server provides no tools.
Timestamp when the connection test was performed.
Response time in milliseconds for the connection test. Indicates server responsiveness and network latency. Useful for evaluating performance before production use.
Human-readable message describing the test result. Contains error details when Success is false, or a confirmation message when the connection test succeeded.