MCP Development
Complete guide to developing with Model Context Protocol. Learn SDK usage, development tools, TypeScript decorators, and best practices for building production-ready MCP applications.
🛠️ LeanMCP SDK
TypeScript decorators, auto-generated schemas, and zero-boilerplate development.
⚡ Performance
Agent runtime, parallel execution, and optimization techniques for fast MCP applications.
🔧 Developer Tools
CLI tools, scaffolding, debugging, and development workflow optimization.
Development Articles

TypeScript SDK for Building MCP Servers with type-safe decorators and streamable HTTP support
In 2025, MCP has matured as the open standard for connecting AI agents to external tools. LeanMCP SDK addresses production gaps with TypeScript decorators, compile-time safety, and zero-boilerplate deployment.
Launching Agent Runtime: Parallel MCP at Scale
AI agents need to make hundreds of MCP calls. Doing them sequentially is slow. Agent Runtime parallelizes everything. Here's how it works.
Releasing LeanMCP SDK
Introducing the LeanMCP SDK - built to solve the framework gap in MCP development with best practices, built-in tools, and seamless agent integration.
Development Workflow
Getting Started
Best Practices
Quick Examples
Simple Tool with Decorators
import { Tool, SchemaConstraint } from "@leanmcp/core";
class WeatherInput {
@SchemaConstraint({ description: 'City name' })
city!: string;
}
export class WeatherService {
@Tool({
description: 'Get weather for a city',
inputClass: WeatherInput
})
async getWeather(input: WeatherInput) {
return { temperature: 72, condition: 'sunny' };
}
}Authentication Setup
import { Authenticated, AuthProvider } from "@leanmcp/auth";
const auth = new AuthProvider('cognito', {
region: process.env.AWS_REGION,
userPoolId: process.env.COGNITO_USER_POOL_ID
});
@Authenticated(auth)
export class SecureService {
@Tool({ description: 'Protected endpoint' })
async secureOperation(input: any) {
// Authenticated users only
return { success: true };
}
}