{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "dev.shardflux/mcp",
  "slug": "dev.shardflux.mcp",
  "title": "Shardflux",
  "summary": "Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.",
  "version": "0.12.2",
  "serverKey": "mcp",
  "pageUrl": "https://mcpkglabs.com/tool/dev.shardflux.mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/dev.shardflux.mcp/install.md",
  "trust": {
    "score": 81,
    "grade": "B",
    "smokeStatus": "needs_credentials",
    "status": "active",
    "verifiedAt": "2026-12-01T14:31:09.608078391Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "--package=@shardflux/mcp@0.12.2",
        "shardflux-mcp"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mcp -e 'SHARDFLUX_API_KEY=<SHARDFLUX_API_KEY>' -- npx -y --package=@shardflux/mcp@0.12.2 shardflux-mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@shardflux/mcp@0.12.2\",\n        \"shardflux-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SHARDFLUX_API_KEY\": \"<SHARDFLUX_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@shardflux/mcp@0.12.2\",\n        \"shardflux-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SHARDFLUX_API_KEY\": \"<SHARDFLUX_API_KEY>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"SHARDFLUX_API_KEY\",\n      \"id\": \"shardflux-api-key\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"--package=@shardflux/mcp@0.12.2\",\n        \"shardflux-mcp\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"SHARDFLUX_API_KEY\": \"${input:shardflux-api-key}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"--package=@shardflux/mcp@0.12.2\", \"shardflux-mcp\"]\nenv = { \"SHARDFLUX_API_KEY\" = \"<SHARDFLUX_API_KEY>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    },
    {
      "id": "remote",
      "label": "Remote (hosted)",
      "transport": "streamable-http",
      "url": "https://mcp.shardflux.dev/mcp",
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add --transport http mcp https://mcp.shardflux.dev/mcp"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mcp-remote\",\n        \"https://mcp.shardflux.dev/mcp\"\n      ],\n      \"command\": \"npx\"\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"url\": \"https://mcp.shardflux.dev/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"servers\": {\n    \"mcp\": {\n      \"type\": \"http\",\n      \"url\": \"https://mcp.shardflux.dev/mcp\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mcp-remote\", \"https://mcp.shardflux.dev/mcp\"]"
        }
      ]
    }
  ],
  "env": [
    {
      "name": "SHARDFLUX_API_KEY",
      "required": true,
      "secret": true,
      "description": "Scoped Shardflux project API key (sfk_<key id>_<secret>). Its tool permissions decide which workspace tools are listed.",
      "help": "Scoped Shardflux project API key (sfk_<key id>_<secret>). Its tool permissions decide which workspace tools are listed.",
      "placeholder": "<SHARDFLUX_API_KEY>"
    },
    {
      "name": "SHARDFLUX_API_URL",
      "required": false,
      "secret": false,
      "description": "API base URL. Plain http:// is allowed only for loopback hosts.",
      "help": "API base URL. Plain http:// is allowed only for loopback hosts.",
      "default": "https://api.shardflux.dev",
      "placeholder": "https://api.shardflux.dev"
    },
    {
      "name": "SHARDFLUX_WORKSPACE_KEY",
      "required": false,
      "secret": false,
      "description": "Pin one workspace: workspace_key becomes optional on every tool and any other key is refused (workspace_pinned).",
      "help": "Pin one workspace: workspace_key becomes optional on every tool and any other key is refused (workspace_pinned).",
      "placeholder": "<SHARDFLUX_WORKSPACE_KEY>"
    },
    {
      "name": "SHARDFLUX_TEMPLATE",
      "required": false,
      "secret": false,
      "description": "Default template slug for workspace_open.",
      "help": "Default template slug for workspace_open.",
      "placeholder": "<SHARDFLUX_TEMPLATE>"
    },
    {
      "name": "SHARDFLUX_MCP_TOOL_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Default and maximum deadline per tool call in milliseconds (1000-3600000). A call's timeout_ms can only shorten it.",
      "help": "Default and maximum deadline per tool call in milliseconds (1000-3600000). A call's timeout_ms can only shorten it.",
      "default": "120000",
      "placeholder": "120000"
    },
    {
      "name": "SHARDFLUX_WAKE",
      "required": false,
      "secret": false,
      "description": "on: workspace tools resume a suspended workspace and then run. off: they return the workspace_not_running refusal.",
      "help": "on: workspace tools resume a suspended workspace and then run. off: they return the workspace_not_running refusal.",
      "default": "on",
      "placeholder": "on"
    },
    {
      "name": "SHARDFLUX_WAKE_TIMEOUT_MS",
      "required": false,
      "secret": false,
      "description": "Longest wait per tool call for a workspace to wake or finish a transition, in milliseconds (1000-3600000; clamped to SHARDFLUX_MCP_TOOL_TIMEOUT_MS).",
      "help": "Longest wait per tool call for a workspace to wake or finish a transition, in milliseconds (1000-3600000; clamped to SHARDFLUX_MCP_TOOL_TIMEOUT_MS).",
      "default": "120000",
      "placeholder": "120000"
    },
    {
      "name": "SHARDFLUX_AGENT_LABEL",
      "required": false,
      "secret": false,
      "description": "Attribution label of every tool token this server obtains (shown as an agent session).",
      "help": "Attribution label of every tool token this server obtains (shown as an agent session).",
      "default": "mcp",
      "placeholder": "mcp"
    },
    {
      "name": "SHARDFLUX_MCP_LOG_LEVEL",
      "required": false,
      "secret": false,
      "description": "Log level of the JSON log lines on stderr (stdout carries the protocol).",
      "help": "Log level of the JSON log lines on stderr (stdout carries the protocol).",
      "default": "info",
      "placeholder": "info"
    },
    {
      "name": "SHARDFLUX_HTTP_KEEPALIVE",
      "required": false,
      "secret": false,
      "description": "Unset: private HTTP/1.1 pooling on Node 26, native fetch elsewhere. 0: force connection closure for diagnosis. 1: select native pooling.",
      "help": "Unset: private HTTP/1.1 pooling on Node 26, native fetch elsewhere. 0: force connection closure for diagnosis. 1: select native pooling.",
      "placeholder": "<SHARDFLUX_HTTP_KEEPALIVE>"
    },
    {
      "name": "SHARDFLUX_PREWAKE",
      "required": false,
      "secret": false,
      "description": "Offer explicit workspace_hint for tool input streaming (on or off).",
      "help": "Offer explicit workspace_hint for tool input streaming (on or off).",
      "default": "off",
      "placeholder": "off"
    }
  ],
  "agentSteps": [
    "Ask the user for: SHARDFLUX_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-01T14:31:09.608078391Z"
}
