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
Playwright MCP Explorer
An intelligent tool that uses MCP to autonomously explore websites and generate Playwright tests from natural language descriptions.
MCP Manager
A full-stack application for managing Model Context Protocol (MCP) servers for Claude Desktop with a modern web interface.
Framer Plugin MCP Server
Create and manage Framer plugins with web3 capabilities.
mcproc
Manage background processes for AI agents using the Model Context Protocol (MCP).
Clangaroo
Provides fast C++ code intelligence for LLMs using the clangd language server.
Claude TypeScript MCP Servers
A collection of TypeScript MCP servers to enhance Claude Desktop as a powerful development assistant using your Claude Pro/Max subscription.
CocoaPods Package README
Retrieve README files and package information from CocoaPods.
MCP Server with Google OAuth & Analytics
A remote MCP server with built-in Google OAuth authentication and analytics tracking.
Jupyter Notebook MCP Server
Interact with Jupyter notebooks, allowing for code execution, cell manipulation, and notebook management.
Snowfort Circuit MCP
Automate web browsers and Electron desktop applications for AI coding agents.