mcp-server-templates
Templates for building MCP (Mission Control Protocol) servers for AI assistants
GitHubスター
0
ユーザー評価
未評価
お気に入り
0
閲覧数
5
フォーク
0
イシュー
0
README
MCP Server Templates
This repository contains templates for building MCP (Mission Control Protocol) servers for AI assistants like Claude.
What is MCP?
The Model Context Protocol (MCP) is a protocol for enabling AI models to interact with external tools and data sources, extending their capabilities beyond the conversation interface.
Templates
This repository contains different templates for building MCP servers:
- Basic Template - A minimal starting point with just the essentials
- Resource Server - Template for serving resources (files, logs, etc.)
- Tools Server - Template for providing tools that can be called from AI assistants
- Prompts Server - Template for managing AI prompts
- Combined Server - A complete template with all functionalities
Getting Started
To use these templates:
- Choose a template that suits your needs
- Clone this repository
- Navigate to the template directory
- Follow the setup instructions in the template's README
Usage with Claude
To use your MCP server with Claude Desktop:
- Build your server
- Add the server configuration to Claude Desktop's config file
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
- MacOS:
Example configuration:
{
"mcpServers": {
"my-server": {
"command": "node",
"args": [
"path/to/your/server/build/index.js"
],
"env": {
"API_KEY": "your-api-key-if-needed"
}
}
}
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
作者情報
0
フォロワー
0
リポジトリ
0
Gist
0
貢献数