MCP Server Template

by BoLiDev

1 stars
301 downloads
Not rated
GitHub

Description

<!-- @format --> # MCP Server Template This is a template for creating Model Context Protocol (MCP) servers. ## Getting Started 1. Install dependencies: ```bash npm install ``` 2. Build the project: ```bash npm run build ``` 3. Run the server: ```bash npm run dev ``` ##…

About

<!-- @format --> # MCP Server Template This is a template for creating Model Context Protocol (MCP) servers. ## Getting Started 1. Install dependencies: ```bash npm install ``` 2. Build the project: ```bash npm run build ``` 3. Run the server: ```bash npm run dev ``` ## Development - Watch mode (auto-rebuild on…

Details

Author
BoLiDev
GitHub stars
1
Downloads
301
Categories
Developer Tools

- Pre-configured TypeScript project for MCP servers.
- Watch mode for automatic rebuilds on changes.
- Linting and formatting scripts included.
- Test with Inspector using a dedicated script.
- Environment variable support via ENV_KEY.

Install dependencies with npm install, build with npm run build, and run with npm run dev. For development, use npm run watch for auto-rebuild, npm run lint for linting, npm run format for formatting, and npm run inspect to test with an inspector.

MCP Server Template

This is a template for creating Model Context Protocol (MCP) servers.

Getting Started

1. Install dependencies:

npm install

2. Build the project:

npm run build

3. Run the server:

npm run dev

Development

- Watch mode (auto-rebuild on changes): npm run watch
- Lint code: npm run lint
- Format code: npm run format
- Test with Inspector: npm run inspect

Project Structure

- src/ - Source code
- index.ts - Main entry point

Environment Variables

- ENV_KEY - Sample environment variable

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.