MCP Server Setup
Quick Start
Run the MCP server instantly — no install, no clone, no setup:Configuration by Editor
In every case below, usenpx @stackfront/mcp-server as the command — your AI tool handles the rest.
Cursor
Create.cursor/mcp.json at your project root:
Claude Code
Create or edit~/.claude/settings.json:
VS Code (Continue Extension)
In your Continue config (.continuerc.json or Continue extension settings):
Other MCP-Compatible Tools
Any tool that supports the Model Context Protocol can connect:Remote (Cloudflare Workers)
For team-wide use or when you don’t want a local process, connect to the hosted Workers deployment via SSE:Internal Development (Full SDK Reflection)
If you need the full capabilities including SDK source introspection (hooks, services, types, GraphQL), clone the monorepo and use the local entry point:node ./dist/index.js instead of npx @stackfront/mcp-server.
Verify It Works
After connecting, ask your AI assistant:“Search the Stackfront docs for cart checkout” “Show me a code example for product listing”For the local monorepo version, you can also ask:
“Look up the useCart hook in the SDK”If the assistant returns documentation or code, the MCP server is working correctly.
What’s Included
| Mode | search_docs | get_code_example | get_sdk_api | Resources |
|---|---|---|---|---|
npx / Workers | ✅ | ✅ | ❌ (uses docs instead) | Docs only |
| Monorepo (local) | ✅ | ✅ | ✅ (full SDK reflection) | Docs + SDK |