MCP server wrapper for flox CLI operations - environment management via JSON-RPC
/plugin marketplace add plurigrid/asi/plugin install asi-skills@asi-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
flox-mcp-server.bbMCP server exposing flox CLI operations over JSON-RPC stdio transport.
Trit: 0 (ERGODIC) - Coordinator role for environment orchestration
This skill wraps the flox CLI as an MCP server, enabling AI agents to manage reproducible development environments programmatically. The server communicates via JSON-RPC 2.0 over stdio.
Activate a flox environment.
{
"name": "flox_activate",
"description": "Activate a flox environment",
"inputSchema": {
"type": "object",
"properties": {
"directory": { "type": "string", "description": "Path to environment directory" },
"remote": { "type": "string", "description": "Remote environment (user/env)" }
}
}
}
Search for packages in the flox catalog.
{
"name": "flox_search",
"description": "Search for packages",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "Package search query" }
},
"required": ["query"]
}
}
Install a package into the current environment.
{
"name": "flox_install",
"description": "Install a package",
"inputSchema": {
"type": "object",
"properties": {
"package": { "type": "string", "description": "Package name or pkg-path" }
},
"required": ["package"]
}
}
List installed packages in the environment.
{
"name": "flox_list",
"description": "List installed packages",
"inputSchema": {
"type": "object",
"properties": {
"directory": { "type": "string", "description": "Environment directory" }
}
}
}
Manage flox services (start/stop/status/restart).
{
"name": "flox_services",
"description": "Manage flox services",
"inputSchema": {
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": ["start", "stop", "restart", "status", "logs"],
"description": "Service action"
},
"service": { "type": "string", "description": "Specific service name (optional)" }
},
"required": ["action"]
}
}
List available flox environments.
{
"name": "flox_envs",
"description": "List flox environments",
"inputSchema": {
"type": "object",
"properties": {}
}
}
Push environment to FloxHub.
{
"name": "flox_push",
"description": "Push environment to FloxHub",
"inputSchema": {
"type": "object",
"properties": {
"force": { "type": "boolean", "description": "Force overwrite remote" }
}
}
}
Pull environment from FloxHub.
{
"name": "flox_pull",
"description": "Pull environment from FloxHub",
"inputSchema": {
"type": "object",
"properties": {
"remote": { "type": "string", "description": "Remote environment (user/env)" },
"force": { "type": "boolean", "description": "Force overwrite local" },
"copy": { "type": "boolean", "description": "Copy without remote link" }
}
}
}
bb flox-mcp-server.bb
{
"mcpServers": {
"flox": {
"command": "bb",
"args": ["<path-to-skills>/flox-mcp/flox-mcp-server.bb"]
}
}
}
Trit: 0 (ERGODIC)
Role: Coordinator
Color: #26D826
Triad Formation:
flox-mcp (0) + generator (+1) + validator (-1) ≡ 0 (mod 3)
The ERGODIC trit reflects flox's role as an infrastructure coordinator - it neither generates nor validates, but orchestrates the environment lifecycle.
bb (Babashka) - Clojure scripting runtimeflox - Flox CLI installed and in PATHcheshire - JSON parsing (bundled with Babashka)