Skip to main content
Open Source MCP Framework

Build MCP servers
with TypeScript decorators

A modern, type-safe toolkit for building production-ready Model Context Protocol servers. Define tools, resources, and prompts with clean decorator syntax.

server.ts
import 'reflect-metadata';
import { createServer, MCPServer, Tool, Param } from '@mcpkit-dev/core';

@MCPServer({
name: 'my-server',
version: '1.0.0',
})
class MyServer {
@Tool({ description: 'Add two numbers' })
add(
@Param({ name: 'a' }) a: number,
@Param({ name: 'b' }) b: number
) {
return { result: a + b };
}
}

const server = createServer(MyServer);
await server.listen();

Everything you need

MCPKit provides a complete toolkit for building, testing, and deploying MCP servers.

Decorator-Based

Define tools, resources, and prompts using clean TypeScript decorators.

Type-Safe

Full TypeScript support with Zod schema validation at runtime.

Production Ready

Built-in middleware, auth, rate limiting, metrics, and tracing.

Multiple Transports

Support for stdio, HTTP, SSE, and Streamable HTTP protocols.

Plugin System

Extend with plugins for metrics, health checks, CORS, and more.

Testing Utilities

Mock clients and servers for comprehensive testing.

Quick Start

Get started in seconds with the CLI.

1

Create a new project

npx @mcpkit-dev/cli init my-server
2

Start development server

cd my-server && npm run dev
3

Connect your AI client

Works with Claude Desktop, VS Code, and any MCP client.

Ready to get started?

Build your first MCP server in minutes.

Read the docs