MCP API
Starting MindsDB's MCP API
This sections provides instructions on how to start MindsDB with its MCP API enabled.
Enable MindsDB as an MCP Server
-
Install MindsDB locally via Docker or Docker Desktop.
-
When starting MindsDB, enable its MCP API.
MindsDB MCP API runs on port 47337 by default.
To enable the MCP API, you can use the MINDSDB_APIS
environment variable:
Or, specify it when starting MindsDB:
If this is your first time using MindsDB, make sure to connect your data source and/or upload files, so that you can ask questions over your data as shown in the following steps.
To get you started quickly, use our sample dataset that stores the sales manager data.
- MindsDB’s MCP server is available at
localhost:47337
.
Was this page helpful?