MOSTLY AI MCP Server
A Model Context Protocol (MCP) server with OAuth 2.1 support for LLM agents to interact with the MOSTLY AI Platform.
Available Tools
Tool | Description |
| retrieve information about the platform |
| retrieve information about the current user |
| retrieve a list of available models of a specific type |
| retrieve a list of available compute resources for tasks |
| list all available connectors |
| get details of a specific connector |
| create a new connector and optionally test the connection |
| list available locations (schemas, tables, buckets, etc.) for a connector |
| get the schema of a table or file at a connector location |
| read data from a connector location |
| write data to a connector location (currently disabled) |
| execute a read-only SQL query against a connector's data source |
| list all available generators |
| get details of a specific generator |
| poll progress of a generator training job |
| train a new generator with provided data or configuration |
| clone an existing generator |
| get details of a specific synthetic dataset |
| poll progress of a synthetic dataset generation job |
| generate a synthetic dataset using a generator |
| list all available synthetic datasets |
| probe a generator for a new synthetic dataset (quick sample) |
Usage of Remote Server
Prerequisites
An MCP host that supports the latest MCP specification and remote servers, such as Claude, VS Code and Cursor.
Installation
Search and tools -> Add integrations -> Add integration -> Set Integration name to the name of your choice (e.g., mostlyai) and Integration URL to https://mcp.mostly.ai/sse.
For quick installation, please use the one-click button above.
Alternatively, one can add the following JSON to .vscode/mcp.json (for the workspace) or the global settings.json (for the user).
For quick installation, please use the one-click button above.
Alternatively, one can add the following JSON to ~/.cursor/mcp.json.
Development
Setup virtual environment
uv sync --frozen
Start the server locally
Set the necessary environment variables (see
.env.example)uv run mostlyai-mcp-server --port 8000Connect to the server with the configuration described in the above section, but change the url to
http://localhost:8000/sse.
Debug
We recommend to use the Anthropic's MCP Inspector for testing and debugging by running npx @modelcontextprotocol/inspector.