FluidMCP CLI
A command-line tool to run MCP servers from a single file, with support for automatic dependency resolution, environment setup, and package installation from local or S3 sources.
๐ Features
-
๐ฆ Package Management
- Install MCP packages with
fluidmcp install author/package@version - Automatic dependency resolution and environment setup
- Support for npm, Python, and custom MCP servers
- Install MCP packages with
-
๐ FastAPI Gateway
- Unified HTTP endpoints for all MCP tools
- Server-Sent Events (SSE) streaming support
- Swagger documentation at
/docs
-
๐ Security & Authentication
- Bearer token authentication
- Secure mode with encrypted communications
- Environment variable encryption for API keys
๐ฅ Installation
pip install fluidmcp
โก Quick Start
1. Install a Package
fluidmcp install author/package@version
2. List Installed Packages
fluidmcp list
3. Run a Package
fluidmcp run ./config.json --file
๐ Secure Run (Token Auth)
fluidmcp file_directory/config.json --file --secure --token your_token --start-server
after authorisation
โ๏ธ Run from S3 URL
fluidmcp run "https://bucket.s3.amazonaws.com/config.json" --s3
fluidmcp run "https://bucket.s3.amazonaws.com/config.json" --s3
Common Options:
--start-serverโ Starts FastAPI server--masterโ Use S3-driven config--fileโ Run from local config.json--s3โ Run from S3 URL--secureโ Enable secure token mode--token <token>โ Custom bearer token
๐ Run as an individual package
fluidmcp run author/package@version --start-server
4. Run All Installed Packages
fluidmcp run all
๐ Run Modes
๐ง Master Mode (S3 Centralized)
fluidmcp install author/package@version --master
fluidmcp run all --master
๐งฉ Environment Variables
# S3 Credentials (used in --master mode)
export S3_BUCKET_NAME="..."
export S3_ACCESS_KEY="..."
export S3_SECRET_KEY="..."
export S3_REGION="..."
# Registry access
export MCP_FETCH_URL="https://registry.fluidmcp.com/fetch-mcp-package"
export MCP_TOKEN="..."
Edit Environment
fluidmcp edit-env <author/package@version>
๐ Directory Layout
.fmcp-packages/
โโโ Author/
โโโ Package/
โโโ Version/
โโโ metadata.json
โโโ [tool files]
๐ metadata.json Example
{
"mcpServers": {
"maps": {
"command": "npx",
"args": ["-y", "@package/server"],
"env": {
"API_KEY": "xxx"
}
}
}
}
๐งช Try an MCP Server
fluidmcp install Google_Maps/google-maps@0.6.2
fluidmcp run all
Then call it using:
import requests, json
url = "http://localhost:8099/google-maps/mcp"
payload = {
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "maps_search_places",
"arguments": {
"query": "coffee shops in San Francisco"
}
}
}
response = requests.post(url, json=payload)
print(json.dumps(response.json(), indent=2))
๐ก Streaming with SSE
curl -N -X POST http://localhost:8099/package/sse \
-H "Content-Type: application/json" \
-d @payload.json
sse/startsse/streamsse/messagesse/tools_call
Useful for LLMs, web scraping, or AI workflows that stream data.
๐ธ Demo
Installing an individual package
Running an individual package
Edit environment of a package
๐ค Contribute
FluidMCP is open for collaboration. Feel free to open issues or submit PRs.
๐ License
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Headless Terminal (ht) MCP
A high-performance MCP server for the headless terminal (ht), implemented in Rust.
ProjectFlow
A workflow management system for AI-assisted development with MCP support, featuring flexible storage via file system or PostgreSQL.
Icons8 MCP server
Get access to MCP server SVG and MCP server PNG icons in your vibe-coding projects
Enhanced QR Code MCP Server
Generates QR codes with metadata, batch processing, and file management tools.
PyMOL-MCP
Enables conversational structural biology, molecular visualization, and analysis in PyMOL through natural language.
Jenkins
A server for integrating with Jenkins CI/CD to manage and trigger builds.
Terminal MCP Server
Execute commands on local or remote hosts via SSH. Supports session persistence and environment variables.
MCP API Bridge
A server that bridges Google Sheets, Azure AI, and MQTT APIs.
MCP Selenium Server
Automate web browsers using Selenium WebDriver via MCP.
Grumpy Senior Developer
Provides sarcastic and cynical code reviews from the perspective of a grumpy senior developer.