MCP Servers
Create an MCP Server
POST
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.
POST /otto/api/mcp-servers Request body
application/json- body
description?stringfilename*stringLength
1 <= lengthis_active?booleanDefault
truename*stringLength
1 <= length <= 100slug*stringMatch
^[a-zA-Z0-9-]+$Length
1 <= length <= 50POST /otto/api/mcp-servers Positive response
application/json- response
messages*array<>response*curl -X POST 'https://your.server.net/otto/api/mcp-servers' \ -H 'Content-Type: application/json' \ -d '{ "description": "MCP server for customer management operations", "filename": "CustomerDB.fmp12", "is_active": true, "name": "Customer Management Server", "slug": "customer-management"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?