MCP ExplorerExplorer

Create Mcp App

@boguanon 9 months ago
56 MIT
FreeCommunity
AI Systems
#mcp-server#mcp-server-template#model-context-protocol#model-context-protocol-servers#mcp-server-boilerplate
A CLI tool for quickly scaffolding Model Context Protocol (MCP) server applications with TypeScript support and modern development tooling

Overview

What is Create Mcp App

create-mcp-app is a CLI tool designed for quickly scaffolding Model Context Protocol (MCP) server applications, providing TypeScript support and modern development tooling.

Use cases

Use cases for create-mcp-app include creating new MCP server applications, developing documentation applications, and managing configurations for TypeScript and ESLint within a monorepo setup.

How to use

To use create-mcp-app, run the command npx create-mcp-server-app@latest my-mcp-server in your terminal to create a new MCP server application.

Key features

Key features include quick setup of MCP applications, built-in TypeScript support, modern development tooling, well-structured project templates, easy extensibility and customization, and monorepo architecture support.

Where to use

create-mcp-app is used in software development, particularly for building server applications that adhere to the Model Context Protocol, making it suitable for backend development projects.

Content

create-mcp-app

A powerful scaffolding toolkit for creating Model Context Protocol (MCP) applications with modern development practices.

Overview

create-mcp-app is a monorepo project that provides tools and templates for building MCP applications. It uses modern development practices and tools to ensure a smooth development experience. The project is designed to help developers quickly set up and start building MCP applications with best practices and modern tooling.

Features

  • 🚀 Instant project scaffolding for MCP applications
  • 📦 First-class TypeScript support with strict type checking
  • 🔧 Modern development toolchain with ESLint, Prettier, and Husky
  • 🎯 Extensible and customizable templates for both server and client
  • 🏗️ Monorepo architecture with Turborepo for efficient development
  • 📝 Comprehensive documentation and examples
  • 🔍 Built-in testing setup with Jest
  • 🛠️ Development tools and utilities

Project Structure

This project is organized as a monorepo using Turborepo, containing:

create-mcp-app/
├── apps/                          # Application packages
│   ├── create-mcp-server-app/     # Server application template
│   │   ├── src/                   # Source code
│   │   ├── boilerplate/          # Template files
│   │   ├── docs/                 # Documentation
│   │   └── dist/                 # Build output
│   │
│   └── create-mcp-client-app/    # Client application template
│       ├── src/                   # Source code
│       ├── boilerplate/          # Template files
│       ├── docs/                 # Documentation
│       └── dist/                 # Build output
│
├── packages/                      # Shared packages and configurations
├── .vscode/                      # VS Code configuration
└── package.json                  # Root package configuration

Quick Start

To create a new MCP server application (see detailed guide):

npx create-mcp-server-app@latest my-mcp-server

Server Demo

To create a new MCP client application (see detailed guide):

npx create-mcp-client-app@latest my-mcp-client

Client Demo

Development

Prerequisites

  • Node.js 16.x or later
  • pnpm 7.x or later

Package Management

This project uses pnpm for package management. To get started with development:

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run development environment
pnpm dev

# Run tests
pnpm test

# Lint code
pnpm lint

Contributing

We welcome contributions! Here’s how you can help:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Please make sure to:

  • Follow the existing code style
  • Add tests for new features
  • Update documentation as needed
  • Keep commits clean and well-described

Issues and Bugs

If you find a bug or have a suggestion:

License

This project is licensed under the terms of the license included in the LICENSE file.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers