mcpresso
TypeScript package for Model Context Protocol (MCP) utilities and tools
Installation
npx mcpressoAsk AI about mcpresso
Powered by Claude Β· Grounded in docs
I know everything about mcpresso. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
MCPresso
The only MCP toolkit with production authentication
OAuth 2.1 β’ PostgreSQL auth database β’ MCP 2025-06-18 compliant
The Problem
Every MCP tutorial stops at localhost. Production needs authentication.
β No multi-user authentication in MCP tutorials
β OAuth 2.1 implementation complexity
β No production-ready auth examples
MCPresso CLI: OAuth 2.1 compliant MCP servers with dedicated auth database.
π Choose Your Template
Single User Authentication
npx mcpresso init --template template-docker-single-user --name my-api --yes
cd my-api
npm install
npm run dev
β OAuth 2.1 compliant authentication for single user scenarios
Multi-user with SQLite
npx mcpresso init --template template-express-oauth-sqlite --name my-api --yes
cd my-api
npm install
npm run db:init # Initialize SQLite authentication database
npm run user:create "John Doe" "john@example.com" "password123"
npm run secret:generate
npm run dev
β OAuth 2.1 authentication + SQLite auth database for few users
Multi-user with PostgreSQL
npx mcpresso init --template template-docker-oauth-postgresql --name my-api --yes
cd my-api
npm install
npm run db:init # Initialize PostgreSQL authentication database
npm run user:create "John Doe" "john@example.com" "password123"
npm run secret:generate # Generate JWT secret for OAuth 2.1
npm run dev
β OAuth 2.1 authentication + PostgreSQL authentication database for more users
Beyond Authentication
π€ User context - Every handler gets authenticated user automatically
β‘ Auto CRUD - Zod schemas β REST endpoints
π Relationships - Define connections between resources
βοΈ Custom Methods - Extend beyond CRUD with business logic
π₯ Multi-tenancy - User data injection and scope-based access
π‘οΈ Production ready - Rate limiting, retries, server metadata
MCP Standards Compliance
MCPresso follows Model Context Protocol 2025-06-18 specifications:
π OAuth 2.1 Authorization - MCP authorization standard with PKCE support
π Streamable HTTP Transport - Transport specification with SSE
π οΈ Tools and Resources - Proper MCP tool definition and resource management
π Protocol Compliance - Full MCP lifecycle, message format, and error handling requirements
Examples
Hello World β Minimal server
Basic CRUD β Resource management
Custom Methods β Beyond CRUD
Multi-tenancy β User isolation
β Star us if MCPresso solves your MCP authentication headaches.
MIT License. Experimental - pin version for production.
