I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

MCP-JS-Server-Template
Modèle de serveur MCP simplifié pour node.js
1
Github Watches
1
Github Forks
1
Github Stars
MCP JS Server Template
Overview
This is a simplified template for creating Model Context Protocol (MCP) servers in JavaScript for integration with Claude Desktop. It provides a basic structure for developing custom MCP servers with minimal boilerplate code.
Features
- Implements standard MCP server initialization
- Provides two basic tools:
about
andhello
- Follows MCP protocol version 2024-11-05
- Uses
@modelcontextprotocol/sdk
for server implementation - Includes error handling and logging
Prerequisites
- Node.js (v16 or later)
- Claude Desktop
-
@modelcontextprotocol/sdk
npm package
Installation
- Clone the repository
- Install dependencies:
npm install @modelcontextprotocol/sdk
Claude Desktop Configuration
Add to your Claude Desktop configuration file:
Location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
Configuration Example:
{
"mcpServers": {
"template-server": {
"command": "node",
"args": [
"/full/path/to/simplified-template-mcp-server.js"
],
"env": {
"NODE_OPTIONS": "--no-deprecation"
}
}
}
}
Available Tools
1. about
Returns information about the MCP server.
2. hello
Provides a greeting, with an optional name parameter.
Example Usage in Claude:
hello with name="Claude"
Extending the Template
To create your own MCP server:
- Copy this template
- Modify the
TOOLS
array - Implement custom tool handlers in
server.fallbackRequestHandler
- Update server name and version
Limitations
- Minimal error handling
- No advanced security features
- Meant as a starting point for custom implementations
Contributing
Contributions are welcome! Please submit pull requests or open issues.
License
MIT License
相关推荐
I find academic articles and books for research and literature reviews.
Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.
L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.
Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX
Plateforme d'automatisation de workflow à code équitable avec des capacités d'IA natives. Combinez le bâtiment visuel avec du code personnalisé, de l'auto-hôte ou du cloud, 400+ intégrations.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
Reviews

user_hAgrL1mb
As a dedicated user of the MCP-JS-Server-Template, I can confidently say it's an exceptional boilerplate for any JavaScript server project. Created by ryaker, this template simplifies setup and boosts efficiency. I highly recommend checking it out on GitHub: https://github.com/ryaker/MCP-JS-Server-Template. It's been a game-changer for my development process!