Provides access to the Rockfish machine learning platform API, enabling management of databases, worker sets, ML workflows, models, projects, and datasets through Python-based tools.
Rockfish MCP Server
A Model Context Protocol (MCP) server that provides access to the Rockfish API, enabling AI assistants to interact with Rockfish's machine learning platform.
Features
This MCP server provides tools for the following Rockfish resources:
Databases: Create, list, update, and delete databases
Worker Sets: Manage worker sets for distributed processing
Workflows: Create and manage ML workflows
Models: Upload, list, and manage ML models
Projects: Organize and manage projects
Datasets: Create and manage datasets
Installation
Clone the repository and set up your virtual environment (Python 3.12 or below):
Install dependencies:
Set up environment variables:
Configuration
Create a .env file with your Rockfish API credentials:
If you want to use a specific Rockfish Organization and/or Rockfish Project,
add the following to the .env file too:
Usage
Run the MCP server:
Or use the console script:
Claude Desktop Setup
To use this MCP server with Claude Desktop:
Complete some of the installation steps above (clone, install dependencies). Note that you do not need to start the MCP server manually for using it with Claude Desktop. Claude Desktop will automatically start it for you when you follow the steps below. Also, the .env file doesn't need to be created, we will be adding the environment variables to the Claude setup.
Find your Claude Desktop configuration directory:
macOS:
~/Library/Application Support/Claude/Windows:
%APPDATA%\Claude\Linux:
~/.config/Claude/
Create or edit the in that directory:
Note that setting ROCKFISH_ORGANIZATION_ID and ROCKFISH_PROJECT_ID is optional.
If you don't set these variables, the default organization and/or default project
will be used.
Update the paths in the configuration:
Replace
/path/to/your/project/.venv/bin/pythonwith the actual path to your Python executableReplace
your_api_key_herewith your actual Rockfish API keyAdjust
ROCKFISH_BASE_URLif you're using a different endpointAdjust
ROCKFISH_ORGANIZATION_IDif you're using a different organization other than the default oneAdjust
ROCKFISH_PROJECT_IDif you're using a different project other than the default one
Get the correct Python path by running this command in your project directory:
Example configuration (replace with your actual paths and API key):
Restart Claude Desktop after making these changes
Test the connection by asking Claude to list your Rockfish databases or projects
MCP Inspector Setup
The MCP Inspector is a debugging tool that helps you test your MCP server before connecting it to Claude Desktop.
Installation
Usage
Start the MCP Inspector:
Or create a test script for easier repeated testing:
Make it executable and run:
The Inspector will open in your browser and show:
Available tools (should show all 32 Rockfish tools)
Tool schemas and descriptions
Interactive tool testing interface
Test your tools by:
Selecting a tool from the list (e.g.,
list_databases)Filling in required parameters
Clicking "Call Tool" to test the API call
Viewing the response
Useful Tools to Test First
list_databases- Simple GET request with no parameterslist_projects- Another simple list operationget_database- Test with a database ID from the listcreate_database- Test creating a new resource
Troubleshooting
MCP server not appearing: Check that the Python path is correct and the virtual environment is activated
Authentication errors: Verify your
ROCKFISH_API_KEYis correctConnection issues: Confirm your
ROCKFISH_BASE_URLis accessiblePath issues on Windows: Use forward slashes or escaped backslashes in JSON paths
Available Tools
Database Tools
list_databases: List all databasescreate_database: Create a new databaseget_database: Get a specific database by IDupdate_database: Update a databasedelete_database: Delete a database
Worker Set Tools
list_worker_sets: List all worker setscreate_worker_set: Create a new worker setget_worker_set: Get a specific worker set by IDdelete_worker_set: Delete a worker setget_worker_set_actions: List actions that the specific worker set can runlist_available_actions: List all actions available to the user (across all worker sets)
Workflow Tools
list_workflows: List all workflowscreate_workflow: Create and run a new workflowget_workflow: Get a specific workflow by IDupdate_workflow: Update a workflow
Model Tools
list_models: List all modelsupload_model: Upload a new modelget_model: Get a specific model by IDdelete_model: Delete a model
Organization Tools
get_active_organization: Get the currently active organizationlist_projects: List all organizations
Project Tools
get_active_project: Get the currently active projectlist_projects: List all projectscreate_project: Create a new projectget_project: Get a specific project by IDupdate_project: Update a project
Dataset Tools
list_datasets: List all datasetscreate_dataset: Create a new datasetget_dataset: Get a specific dataset by IDupdate_dataset: Update a datasetdelete_dataset: Delete a datasetget_dataset_schema: Get dataset metadata present in its schema
Development
To contribute to this project:
Fork the repository
Create a feature branch
Make your changes
Add tests if applicable
Submit a pull request
License
MIT License
This server cannot be installed
Related Resources
Related MCP Servers
- -security-license-qualityEnables AI assistants to interact with Metabase, providing access to dashboards, questions, databases, and tools for executing queries and viewing data through natural language.
StarRocks MCP Serverofficial
AsecurityAlicenseAqualityActs as a bridge between AI assistants and StarRocks databases, allowing for direct SQL execution and database exploration without requiring complex setup or configuration.Last updated -6127Apache 2.0- AsecurityAlicenseAqualityEnables AI assistants to interact with WordPress sites through REST APIs, allowing programmatic management of posts, users, comments, categories, and tags with secure authentication.Last updated -2946MIT License
- -securityFlicense-qualityA powerful interface for extending AI capabilities through remote control, calculations, email operations, knowledge search, and more.Last updated -47