stackblitz-mcp
Provides tools to resolve StackBlitz project URLs or IDs and access project contents: metadata, an ASCII file tree, individual file contents, and full-text search; also exposes project tree and file resources via stackblitz:// URIs.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@stackblitz-mcp what's in src/App.tsx in stackblitz-starters-rf7brvcm?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
stackblitz-mcp
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-mcpRelated MCP server: Miru
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-mcpCursor
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-rf7brvcmorhttps://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 URLpath(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 URLpath(string) — File path within the project
search_files
Search for content within files of a StackBlitz project.
Input:
projectRef(string) — Project ID or URLquery(string) — Search queryregex(boolean, default:false) — Treat query as regexcaseSensitive(boolean, default:false) — Case-sensitive searchmaxResults(number, default:50) — Maximum number of results
Resources
URI Pattern | Description |
| File tree of a project |
| Contents of a specific file |
Sponsors
License
MIT License © 2026-PRESENT Kevin Deng
Available Tools
4 toolslist_filesA
List files in a StackBlitz project, optionally filtered by path prefix
Inputs: projectRef (required), path.
read_fileC
Read the contents of a file from a StackBlitz project
Inputs: path (required), projectRef (required).
resolve_projectC
Resolve a StackBlitz project URL or ID and return project metadata
Inputs: projectRef (required).
search_filesC
Search for content within files of a StackBlitz project
Inputs: query (required), projectRef (required), regex, maxResults, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a clearly distinct operation: resolving a project, listing files, reading a file, and searching file contents. There is no overlap between them—resolve establishes context, then list/read/search operate on files with distinct purposes.
All four tools follow a consistent verb_noun snake_case pattern (resolve_project, list_files, read_file, search_files). The convention is predictable and readable throughout.
Four tools is on the thin side but reasonable for a focused project-browsing surface. Each tool earns its place, though a couple more operations (e.g. write/create) could round it out.
The surface is entirely read-only: it can resolve, list, read, and search, but there is no way to create, update, or delete files, or create projects. This notable write-side gap limits agent workflows that need to modify a project.
Maintenance
Related MCP Connectors
Your org's AI agents, tasks, runs, search, and brain files as MCP tools and resources.
Lets your AI build and edit websites and apps in Xodia, an AI builder and visual editor for real code (Vite, React, Tailwind CSS or plain HTML in your own git repo): read and write site files, create pages and CMS collections, make database tables and visitor sign-in on the built-in Xodia database or your own Supabase, write server tasks, run typecheck, design, link and security checks, take screenshots, manage forms and translations, and pick up change requests the user sends from the visual editor. 67 tools. Sign in once with your Xodia account (OAuth). Free plan, no card needed. Setup: https://xodia.ai/ai/mcp
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
GitHub Copilot MCP: code, repo, PR, workflow tools for AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to inspect files, search text, compare directories, read symbols, and apply structured edits against large codebases through bounded, local-first MCP tools.4Apache 2.0
- AlicenseNot gradedqualityBmaintenanceExposes search, locate, expand, and find_related tools over MCP so AI coding agents in Claude Code, Cursor, Copilot, and other clients can retrieve the best code chunks (path, lines, snippet) by meaning instead of grep or glob. This hybrid code search lets agents find the right files in fewer steps, using up to 50% fewer tokens.291 npm12MIT
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients such as Claude Desktop, Cline, and Cursor to extract information from GitHub repositories, including repository summaries, project directory structure, and file contents. It exposes these capabilities as tools that can be invoked directly from a natural-language chat session.-
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code and other agents to search versioned skills, fetch skill contents, and browse folders through MCP, backed by hybrid full-text and semantic search.MIT