MCP Servers
Create an MCP Server
Create a new MCP Server
This endpoint creates a new Model Context Protocol server that can be used to expose FileMaker scripts as tools for AI agents.
Request Body
application/json
POST /otto/api/mcp-servers Request body
name*string
Length
1 <= length <= 100slug*string
Match
^[a-zA-Z0-9-]+$Length
1 <= length <= 50filename*string
Length
1 <= lengthdescription?string
is_active?boolean
Default
trueResponse Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/mcp-servers" \ -H "Content-Type: application/json" \ -d '{ "name": "Customer Management Server", "slug": "customer-management", "filename": "CustomerDB.fmp12", "description": "MCP server for customer management operations", "is_active": true }'{
"response": {},
"messages": [
{
"code": 0,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}