New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mcpresso

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcpresso

TypeScript package for Model Context Protocol (MCP) utilities and tools

latest
Source
npmnpm
Version
0.9.3
Version published
Weekly downloads
116
274.19%
Maintainers
1
Weekly downloads
 
Created
Source

MCPresso

The only MCP toolkit with production authentication

OAuth 2.1 • PostgreSQL auth database • MCP 2025-06-18 compliant

npm CI Status TypeScript License

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.

Keywords

mcp

FAQs

Package last updated on 24 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts