Skip to main content

MCP Server Setup

Quick Start

Run the MCP server instantly — no install, no clone, no setup:
The server starts in stdio mode and waits for your AI assistant to connect. Leave this terminal running while you work.

Configuration by Editor

In every case below, use npx @stackfront/mcp-server as the command — your AI tool handles the rest.

Cursor

Create .cursor/mcp.json at your project root:
After saving, restart Cursor — the MCP server appears in the MCP panel.

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:
Then configure your editor with 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