MCP Servers

A collection of Model Context Protocol servers, templates, tools and more.

MCP server for reading files from StackBlitz projects

Created 1/31/2026
Updated 2 days ago
Repository documentation and setup instructions

stackblitz-mcp

npm version npm downloads Unit Test

MCP server for reading files from StackBlitz projects. Enables AI to access file contents and project structure from StackBlitz reproduction repositories.

Install

npm i -g stackblitz-mcp

Usage

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "stackblitz": {
      "command": "npx",
      "args": ["-y", "stackblitz-mcp"]
    }
  }
}

Claude Code

claude mcp add stackblitz -- npx -y stackblitz-mcp

Cursor

Add to your .cursor/mcp.json:

{
  "mcpServers": {
    "stackblitz": {
      "command": "npx",
      "args": ["-y", "stackblitz-mcp"]
    }
  }
}

Tools

resolve_project

Resolve a StackBlitz project URL or ID and return project metadata (title, description, preset, visibility, file count).

Input:

  • projectRef (string) — Project ID or StackBlitz URL (e.g. stackblitz-starters-rf7brvcm or https://stackblitz.com/edit/stackblitz-starters-rf7brvcm)

list_files

List files in a StackBlitz project as an ASCII tree, optionally filtered by path prefix.

Input:

  • projectRef (string) — Project ID or URL
  • path (string, optional) — Filter files by path prefix

read_file

Read the contents of a file from a StackBlitz project.

Input:

  • projectRef (string) — Project ID or URL
  • path (string) — File path within the project

search_files

Search for content within files of a StackBlitz project.

Input:

  • projectRef (string) — Project ID or URL
  • query (string) — Search query
  • regex (boolean, default: false) — Treat query as regex
  • caseSensitive (boolean, default: false) — Case-sensitive search
  • maxResults (number, default: 50) — Maximum number of results

Resources

| URI Pattern | Description | |---|---| | stackblitz://{projectId}/tree | File tree of a project | | stackblitz://{projectId}/files/{path} | Contents of a specific file |

Sponsors

sponsors - Stackblitz MCP by sxzz

License

MIT License © 2026-PRESENT Kevin Deng

Quick Setup
Installation guide for this server

Installation Command (package not published)

git clone https://github.com/sxzz/stackblitz-mcp
Manual Installation: Please check the README for detailed setup instructions and any additional dependencies required.

Cursor configuration (mcp.json)

{ "mcpServers": { "sxzz-stackblitz-mcp": { "command": "git", "args": [ "clone", "https://github.com/sxzz/stackblitz-mcp" ] } } }