Skip to main content
The @mcp-ts/sdk/server package provides handlers for standard Node.js and Express applications.

Server-Side Setup

Step 1: Install Dependencies

Step 2: Create MCP Handler

Create a file named mcp-handler.ts:

Step 3: Mount the Router

In your main app.ts or index.ts:

Client-Side Setup

You can use the React client in any frontend application that renders React.

Using with React

Environment Configuration

Ensure your Express server has access to Redis or another storage backend:

Next Steps