MCP Server Studio

Slice MCP server

Sandboxed TypeScript and JavaScript for AI agents: run locally with npx or hosted on Slice Cloud.

Registry name: io.github.slicevm/mcp

Publisher
slicevm
Runs
Local or hosted
Package
npm
Version
0.15.4
Category
AI & agents
Updated
2026-12-02

Source code on GitHub

Set up Slice (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@slicevm/[email protected]"
      ],
      "env": {
        "SLICE_API_KEY": "<SLICE_API_KEY>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add mcp -e SLICE_API_KEY='<SLICE_API_KEY>' -- npx -y @slicevm/[email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@slicevm/[email protected]"
      ],
      "env": {
        "SLICE_API_KEY": "<SLICE_API_KEY>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@slicevm/[email protected]"
      ],
      "env": {
        "SLICE_API_KEY": "<SLICE_API_KEY>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@slicevm/[email protected]"
      ],
      "env": {
        "SLICE_API_KEY": "<SLICE_API_KEY>"
      }
    }
  }
}

Set up Slice (hosted url)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "mcp": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://api.slicevm.com/mcp",
        "--header",
        "Authorization: <Authorization>"
      ]
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add --transport http mcp https://api.slicevm.com/mcp --header 'Authorization: <Authorization>'

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.slicevm.com/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.slicevm.com/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://api.slicevm.com/mcp",
      "headers": {
        "Authorization": "<Authorization>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
SLICE_API_KEYNoSlice Cloud API key (slicevm.com/console). Without it the server runs code locally.

More ai & agents MCP servers