MCP Management
Add MCP Client
Add a new MCP client configuration and establish connection. Supports STDIO, HTTP, and SSE connection types.
post/api/mcp/client
Request body
Example request
{
"name": "filesystem",
"connection_type": "stdio",
"connection_string": "https://api.example.com/mcp",
"stdio_config": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem"
],
"envs": [
"HOME",
"USER"
]
},
"tools_to_skip": [
"delete_file",
"write_file"
],
"tools_to_execute": [
"read_file",
"list_directory"
]
}Response
MCP client added successfully
Example response
{
"status": "success",
"message": "Operation completed successfully"
}