MCP server for the Prosaic API. Enables Claude Desktop, Perplexity AI, and Cursor to interact with your Prosaic account directly through natural language.
- Python 3.10+ (3.12 recommended)
- A Prosaic API key from beta.prosaic.works
git clone https://github.com/prosaichq/mcp-server.git
cd mcp-server# Create virtual environment
python3 -m venv .venv
# Activate virtual environment
source .venv/bin/activate # macOS/Linux
# or
.venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt# Test the server runs correctly
PROSAIC_API_KEY=prsk_your_api_key python server.pyYou should see: "Successfully loaded OpenAPI spec with X endpoints"
Press Ctrl+C to stop.
- Log in to beta.prosaic.works
- Go to Settings → Users → API Keys
- Click "Generate New API Key"
- Copy the key (starts with
prsk_)
Configuration File:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
Add this:
{
"mcpServers": {
"prosaic-mcp": {
"command": "/FULL/PATH/TO/.venv/bin/python",
"args": [
"/FULL/PATH/TO/server.py"
],
"env": {
"PROSAIC_API_KEY": "prsk_your_api_key_here"
}
}
}
}Replace:
/FULL/PATH/TO/.venv/bin/pythonwith your actual Python path/FULL/PATH/TO/server.pywith your actual server.py pathprsk_your_api_key_herewith your Prosaic API key
To find your paths:
cd /path/to/mcp-server
source .venv/bin/activate
which python # Copy this path
pwd # Use this + /server.pyActivate: Quit Claude Desktop (Cmd+Q) and restart.
Configuration File:
- macOS:
~/Library/Application Support/Perplexity/mcp_config.json - Windows:
%APPDATA%\Perplexity\mcp_config.json
Add this:
{
"mcpServers": {
"prosaic-mcp": {
"command": "/FULL/PATH/TO/.venv/bin/python",
"args": [
"/FULL/PATH/TO/server.py"
],
"env": {
"PROSAIC_API_KEY": "prsk_your_api_key_here"
}
}
}
}.
Replace the same paths and API key as above.
Activate: Restart Perplexity AI.
Reference: Perplexity MCP Documentation
Currently this implementation is not support on OpenAI
Once configured, ask your AI assistant:
What Prosaic entities do I have?
You should see a list of your Prosaic entities.
"Tools not showing"
- Restart the application completely (don't just reload)
- Check the config file for JSON syntax errors
- Verify paths are correct absolute paths
"API key errors"
- Verify your API key starts with
prsk_ - Check your API key is valid at beta.prosaic.works
- Ensure no extra spaces in the config
- Fetches Prosaic OpenAPI specification on startup
- Converts all API endpoints to MCP tools automatically
- Authenticates with your API key
- Handles requests from AI assistants
- Returns Prosaic data in a format AI can understand
- Prosaic Help: beta.prosaic.works
- MCP Protocol: modelcontextprotocol.io
- FastMCP Docs: gofastmcp.com