Skip to content

MCP Kit

An interactive CLI for scaffolding ready-to-develop MCP servers and clients in TypeScript or JavaScript.

Install

$git clone https://github.com/my-mcp-hub/mcp-kit

Install command taken from the project's README or registry entry. Always review code before running it.

mcp-kit

An interactive CLI for scaffolding ready-to-develop Model Context Protocol servers and clients.

Documentation · Getting started · Issues · Changelog

Overview

mcp-kit turns the repetitive setup around an MCP application into a short, guided workflow. Choose what you are building, select a language and transport, then decide how much engineering infrastructure you want. The CLI writes a working project that follows the same choices all the way through its source, scripts, tests, and documentation.

It is designed for both sides of an MCP integration:

Project What the generated starter provides
MCP Server A structured server with tools, resources, prompts, lifecycle handling, and the transports you selected
MCP Client A client with connection helpers and an end-to-end example that discovers and uses tools, resources, and prompts

Why mcp-kit?

  • Start with a real MCP workflow — generated starters include working protocol primitives and a small knowledge-base example, not an empty entry file.
  • Build either side — create a server or a client from the same CLI.
  • Choose your runtime shape — use TypeScript or JavaScript with STDIO, Streamable HTTP, or both.
  • Keep only the tooling you need — start with the recommended setup or select individual plugins.
  • Develop immediately — generated scripts cover local development, production builds, linting, testing, and coverage when enabled.
  • Stay close to the protocol — server templates separate tools, resources, prompts, and transports into focused modules.

Quick start

Run the CLI with your package manager:

npm create mcp-kit@latest
pnpm create mcp-kit
yarn create mcp-kit

bun create mcp-kit and deno init --npm mcp-kit are also supported.

The interactive setup asks for:

Choice Options
Project type MCP Server · MCP Client
Language TypeScript · JavaScript
Transport STDIO · Streamable HTTP · both
Template Standard · Custom
Plugins GitHub Actions · Vitest · MCP Inspector (server) · ESLint/Prettier/Lint-staged · Commitlint · Changelog
Dependencies Install now · install later

After generation:

cd mcp-server-starter
npm run dev

What gets generated

The exact output follows your answers. A TypeScript server with both transports uses a structure like this:

Similar plugs

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io