MCP Tools
Get MCP Tools by Server
Get Tools for MCP Server
Returns all tools associated with a specific MCP server.
Path Parameters
mcp_server_slug*string
GET /otto/api/mcp-servers/:mcp_server_slug/tools Parameter
Response Body
application/json
application/json
curl -X GET "https://your.server.net/otto/api/mcp-servers/string/tools"{
"response": {
"tools": [
{
"id": -1.7976931348623157e+308,
"mcp_server_slug": "string",
"name": "string",
"description": "string",
"script_name": "string",
"input_schema": {
"property1": {
"type": "string",
"isArray": false,
"required": false,
"description": "string",
"enumValues": [
"string"
]
},
"property2": {
"type": "string",
"isArray": false,
"required": false,
"description": "string",
"enumValues": [
"string"
]
}
},
"is_active": true,
"created_at": "string",
"updated_at": "string"
}
]
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}