@everystack/mcp
v0.2.0
Published
MCP server that makes Claude an everystack expert
Readme
@everystack/mcp
MCP server that makes Claude an everystack expert. Provides architecture knowledge, project introspection tools, and guided workflow prompts so Claude can help build apps from V1 (static) to V3 (full platform).
Setup
Add to your project's .mcp.json:
{
"mcpServers": {
"everystack": {
"command": "npx",
"args": ["@everystack/mcp"]
}
}
}Or for a monorepo workspace:
{
"mcpServers": {
"everystack": {
"command": "npx",
"args": ["tsx", "packages/mcp/src/index.ts"]
}
}
}What It Provides
Resources (Knowledge)
Claude reads these to understand everystack architecture and conventions.
Core (loaded first):
everystack://core— Architecture, package map, tiers, conventions, handler referenceeverystack://security— Three-layer security model, AWS IAM profiles, RLS policies
Detail (loaded on demand):
everystack://handler-options— Complete createHandler() options referenceeverystack://query-protocol— PostgREST filter syntax, embedding, aggregateseverystack://client-api— Typed client, query builder, mutationseverystack://auth— JWT auth flows, OAuth, token lifecycleeverystack://schema-patterns— Drizzle schema design, migrations, RLSeverystack://deployment— SST config, secrets, stages, resource linkingeverystack://admin— Declarative admin dashboardeverystack://jobs— SQS background workerseverystack://storage— S3 file uploads, presigned URLseverystack://logging— Structured logging, crash reports, analyticseverystack://security-device— Device attestation, biometric autheverystack://testing— Jest setup, TDD workflow, mocking patternseverystack://plugins— Plugin system for composing handlerseverystack://ssr— Server-side rendering, loaders, SEOeverystack://images— Sharp image processing, CDN deliveryeverystack://events— Real-time events via LISTEN/NOTIFY + WebSocketeverystack://cli— CLI command reference
Tools (Project Introspection)
Read-only tools that analyze your project and return structured data.
| Tool | Purpose |
|------|---------|
| project_status | Detect tier (V1/V2/V3), installed packages, project structure, deployment state |
| schema_analyze | Parse Drizzle schema, cross-reference handler config, detect misconfigurations |
| project_validate | Check for security gaps, missing dependencies, convention violations |
Prompts (Guided Workflows)
Structured prompts that guide Claude through multi-step tasks.
| Prompt | Purpose |
|--------|---------|
| new-app | Scaffold a new everystack app (V1/V2/V3) |
| add-feature | Add auth, jobs, storage, images, admin, logging, security, SSR, or events |
| design-schema | Plain English → Drizzle schema + RLS policies + handler config |
| deploy | Stage-specific deployment walkthrough |
| debug | Systematic debugging based on symptoms |
| secure | AWS IAM profiles + RLS + JWT auth setup |
Design
Standalone. Zero everystack peer dependencies. Only depends on @modelcontextprotocol/sdk and zod. Works even when the project is broken or partially set up.
Local-only. Runs via stdio transport. No network access, no AWS calls. The everystack CLI handles remote infrastructure — the MCP teaches Claude how to use it.
Read-only tools. Tools read files and return structured data. Claude does the reasoning. No file writes, no imports from other packages.
Curated resources. The markdown files are optimized for Claude consumption — organized by task, not by package. Each follows a consistent structure: When to Use, Setup, API Reference, Common Patterns, Gotchas.
Development
pnpm --filter @everystack/mcp test # Run tests (58 passing)
pnpm --filter @everystack/mcp lint # Type check