Shardflux
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Installation
Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).
claude mcp add --transport http shardflux 'https://mcp.shardflux.dev/mcp'
{
"mcpServers": {
"shardflux": {
"type": "http",
"url": "https://mcp.shardflux.dev/mcp"
}
}
}
@shardflux/mcpclaude mcp add shardflux -e 'SHARDFLUX_API_KEY=<your shardflux_api_key>' -e 'SHARDFLUX_API_URL=https://api.shardflux.dev' -e 'SHARDFLUX_WORKSPACE_KEY=<SHARDFLUX_WORKSPACE_KEY>' -e 'SHARDFLUX_TEMPLATE=<SHARDFLUX_TEMPLATE>' -e 'SHARDFLUX_MCP_TOOL_TIMEOUT_MS=120000' -e 'SHARDFLUX_WAKE=on' -e 'SHARDFLUX_WAKE_TIMEOUT_MS=120000' -e 'SHARDFLUX_AGENT_LABEL=mcp' -e 'SHARDFLUX_MCP_LOG_LEVEL=info' -e 'SHARDFLUX_HTTP_KEEPALIVE=<SHARDFLUX_HTTP_KEEPALIVE>' -e 'SHARDFLUX_PREWAKE=off' -- npx -y @shardflux/mcp@0.12.2
{
"mcpServers": {
"shardflux": {
"command": "npx",
"args": [
"-y",
"@shardflux/mcp@0.12.2"
],
"env": {
"SHARDFLUX_API_KEY": "<your shardflux_api_key>",
"SHARDFLUX_API_URL": "https://api.shardflux.dev",
"SHARDFLUX_WORKSPACE_KEY": "<SHARDFLUX_WORKSPACE_KEY>",
"SHARDFLUX_TEMPLATE": "<SHARDFLUX_TEMPLATE>",
"SHARDFLUX_MCP_TOOL_TIMEOUT_MS": "120000",
"SHARDFLUX_WAKE": "on",
"SHARDFLUX_WAKE_TIMEOUT_MS": "120000",
"SHARDFLUX_AGENT_LABEL": "mcp",
"SHARDFLUX_MCP_LOG_LEVEL": "info",
"SHARDFLUX_HTTP_KEEPALIVE": "<SHARDFLUX_HTTP_KEEPALIVE>",
"SHARDFLUX_PREWAKE": "off"
}
}
}
}
Variables d'environnement
SHARDFLUX_API_KEYobligatoire secret Scoped Shardflux project API key (sfk_<key id>_<secret>). Its tool permissions decide which workspace tools are listed.SHARDFLUX_API_URLAPI base URL. Plain http:// is allowed only for loopback hosts.SHARDFLUX_WORKSPACE_KEYPin one workspace: workspace_key becomes optional on every tool and any other key is refused (workspace_pinned).SHARDFLUX_TEMPLATEDefault template slug for workspace_open.SHARDFLUX_MCP_TOOL_TIMEOUT_MSDefault and maximum deadline per tool call in milliseconds (1000-3600000). A call's timeout_ms can only shorten it.SHARDFLUX_WAKEon: workspace tools resume a suspended workspace and then run. off: they return the workspace_not_running refusal.SHARDFLUX_WAKE_TIMEOUT_MSLongest wait per tool call for a workspace to wake or finish a transition, in milliseconds (1000-3600000; clamped to SHARDFLUX_MCP_TOOL_TIMEOUT_MS).SHARDFLUX_AGENT_LABELAttribution label of every tool token this server obtains (shown as an agent session).SHARDFLUX_MCP_LOG_LEVELLog level of the JSON log lines on stderr (stdout carries the protocol).SHARDFLUX_HTTP_KEEPALIVEUnset: private HTTP/1.1 pooling on Node 26, native fetch elsewhere. 0: force connection closure for diagnosis. 1: select native pooling.SHARDFLUX_PREWAKEOffer explicit workspace_hint for tool input streaming (on or off).
Questions fréquentes
Qu'est-ce que Shardflux ?
Persistent cloud workspaces for AI agents: run commands, edit files, use git and a browser.
Comment installer Shardflux ?
Il fonctionne comme serveur distant. Dans Claude Code : claude mcp add --transport http shardflux 'https://mcp.shardflux.dev/mcp'. Pour les autres clients, collez la configuration JSON de cette page dans leurs réglages MCP.
Faut-il une clé API pour Shardflux ?
Oui. Il attend SHARDFLUX_API_KEY, à renseigner dans sa configuration.
Qui maintient Shardflux ?
Il est publié par dev.shardflux. AI.tn le référence sans le maintenir ni le recommander.
Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.