Mcpresso
TypeScript framework to build robust, agent-ready MCP servers around your APIs.
What is Mcpresso?
Mcpresso is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to typescript framework to build robust, agent-ready mcp servers around your apis.
TypeScript framework to build robust, agent-ready MCP servers around your APIs.
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- TypeScript framework to build robust, agent-ready MCP server
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcpressoConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Mcpresso
MCPresso is a TypeScript framework for building production-ready MCP servers around your existing REST APIs. It provides scaffolded templates with OAuth 2.1 authentication (including PKCE), automatic CRUD tool generation from Zod schemas, multi-tenancy with user data isolation, rate limiting, and support for both SQLite and PostgreSQL backends. Teams use it to rapidly expose their APIs as agent-ready MCP servers without writing low-level protocol code.
Prerequisites
- Node.js 18 or later installed
- npm or npx available on your PATH
- A database: SQLite (bundled) or PostgreSQL for multi-user deployments
- An MCP client such as Claude Desktop or Claude Code
- Basic TypeScript knowledge for customizing generated server code
Scaffold a new MCPresso project
Use the `mcpresso init` command to generate a project from one of three templates: single-user Docker, multi-user with SQLite, or multi-user with PostgreSQL. Choose based on your deployment needs.
# Single-user (simplest start)
npx mcpresso init --template template-docker-single-user --name my-api --yes
# Multi-user with SQLite
npx mcpresso init --template template-express-oauth-sqlite --name my-api --yes
# Multi-user with PostgreSQL
npx mcpresso init --template template-docker-oauth-postgresql --name my-api --yesInstall dependencies and initialize the database
Navigate into the generated project, install npm dependencies, and run the database initialization script to create the required schema tables.
cd my-api
npm install
npm run db:initCreate a user and generate a JWT secret
For multi-user templates, create at least one user account and generate the JWT signing secret used for OAuth 2.1 token issuance.
npm run user:create "Jane Doe" "[email protected]" "securepassword123"
npm run secret:generateDefine your API tools using Zod schemas
Open the generated server source file and define your tools using Zod schemas. MCPresso automatically generates CRUD endpoints and validates inputs against the schemas.
// src/tools.ts (generated file — customize here)
import { z } from 'zod';
export const CreateItemSchema = z.object({
name: z.string(),
value: z.number(),
});
// Register as a tool in your server configStart the development server
Run the dev server. MCPresso starts an HTTP server implementing the MCP Streamable HTTP transport (2025-06-18 spec) that your MCP client can connect to.
npm run devConfigure your MCP client
Point your MCP client at the running MCPresso server. For Claude Desktop, add the server entry to your config file specifying the HTTP endpoint.
{
"mcpServers": {
"my-api": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/my-api"
}
}
}Mcpresso Examples
Client configuration
Claude Desktop configuration for a locally running MCPresso server built from the single-user template.
{
"mcpServers": {
"my-mcpresso-api": {
"command": "node",
"args": ["dist/index.js"],
"cwd": "/path/to/my-api",
"env": {}
}
}
}Prompts to try
Once your MCPresso server exposes your API tools, use these prompts to interact with the generated endpoints through Claude.
- "List all items in the database"
- "Create a new item with name 'Widget' and value 42"
- "Update item ID 5 to set its value to 100"
- "Delete item ID 3 from the database"Troubleshooting Mcpresso
Database initialization fails with 'table already exists'
The db:init script is not idempotent on all templates. Delete the SQLite file (typically data/db.sqlite) and re-run `npm run db:init`, or use the PostgreSQL template which handles migrations more robustly.
JWT authentication errors when the MCP client connects
Ensure you ran `npm run secret:generate` before starting the server. The JWT_SECRET environment variable must be set; check your .env file in the project root.
OAuth 2.1 PKCE flow not completing in the MCP client
Confirm the MCP client supports OAuth 2.1 with PKCE (Claude Desktop does as of recent versions). Also verify your redirect URI in the server config matches exactly what the client sends.
Frequently Asked Questions about Mcpresso
What is Mcpresso?
Mcpresso is a Model Context Protocol (MCP) server that typescript framework to build robust, agent-ready mcp servers around your apis. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Mcpresso?
Follow the installation instructions on the Mcpresso GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Mcpresso?
Mcpresso works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Mcpresso free to use?
Yes, Mcpresso is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Mcpresso Alternatives — Similar Developer Tools Servers
Looking for alternatives to Mcpresso? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Mcpresso in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Mcpresso?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.