Mcpresso

v1.0.0Developer Toolsstable

TypeScript framework to build robust, agent-ready MCP servers around your APIs.

agentic-frameworkai-agentai-agent-toolsai-agentsdeveloper-tools
Share:
27
Stars
0
Downloads
0
Weekly
0/5

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

Build robust, agent-ready MCP servers around your APIs with TypeScript.
Create scalable API integrations for AI agents rapidly.
Implement agentic frameworks with pre-built patterns.
LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMar 14, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcpresso

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 --yes
2

Install 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:init
3

Create 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:generate
4

Define 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 config
5

Start 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 dev
6

Configure 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.

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.

Quick Config Preview

{ "mcpServers": { "mcpresso": { "command": "npx", "args": ["-y", "mcpresso"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides