- Create MCP App 🚀
Create MCP App 🚀
Create MCP App 🚀
Welcome to Create MCP App, a powerful CLI tool designed for developers looking to quickly scaffold Model Context Protocol (MCP) server applications. With TypeScript support and modern development tooling, this tool simplifies the setup process, allowing you to focus on building your application.
Table of Contents
Features
- Quick Setup: Generate a complete MCP server application in minutes.
- TypeScript Support: Enjoy the benefits of static typing with TypeScript.
- Modern Tooling: Integrated tools for testing, linting, and building.
- Customizable Templates: Easily modify templates to fit your needs.
- Active Community: Join a growing community of developers working with MCP.
Installation
To get started, download the latest release from the Releases section. You can execute the downloaded file to install the tool.
npm install -g create-mcp-app
Usage
After installation, you can use the tool to create a new MCP application. Here’s how to do it:
create-mcp-app my-app
This command will scaffold a new MCP server application named my-app. You can then navigate into your new project directory:
cd my-app
Now you can start developing your application.
Project Structure
Once you scaffold a new application, you will see a project structure similar to this:
my-app/
├── src/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ └── server.ts
├── tests/
├── package.json
└── tsconfig.json
- src/: Contains your source code.
- controllers/: Handle incoming requests and business logic.
- models/: Define your data structures.
- routes/: Define your API endpoints.
- server.ts: The entry point of your application.
- tests/: Contains unit and integration tests.
- package.json: Manages dependencies and scripts.
- tsconfig.json: TypeScript configuration file.
Commands
Here are some commands you can use with the Create MCP App CLI:
Create a New App
create-mcp-app <app-name>
Start the Development Server
npm start
Run Tests
npm test
Build the Application
npm run build
Contributing
We welcome contributions! If you would like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b my-feature. - Make your changes.
- Commit your changes:
git commit -m 'Add my feature'. - Push to the branch:
git push origin my-feature. - Open a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Support
For any questions or issues, please check the Releases section or open an issue in the repository.
Join our community and start building your MCP server applications today!