MCP Server Template
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…
Explore
- 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.
1. Install dependencies:
npm install
2. Build the project:
npm run build
3. Run the server:
npm run dev
- ENV_KEY - Sample environment variable
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
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



