Provides containerized deployment of the MCP server through Docker Compose, simplifying setup and ensuring consistent runtime environments.
Integrates with GitHub Copilot to provide custom tools, including an example 'get_author_name' tool, allowing Copilot to access and utilize server-defined functions through the Model Context Protocol.
FastMCP Starter Kit
A simple Model Context Protocol (MCP) server starter kit built with FastMCP.
Features
- Simple MCP server implementation using FastMCP
- Example tool:
get_author_name
- Returns the author name of this MCP server - Easy to extend with additional tools and functionality
Installation
- Fork and Clone this repository.
- Install dependencies using uv (recommended):
Or using pip:
Usage
Running the MCP Server
Start the server using:
VS Code Configuration
To use this MCP server with GitHub Copilot in VS Code, create a .vscode/mcp.json
file in your project root:
Important Notes:
- Make sure your MCP server is running on the port specified in the configuration.
- If you're running the server on port 8000 (default), update the URL to
http://localhost:8000/sse
- The
--allow-http
flag is required for local HTTP connections
Once you have the MCP server running, you can connect it to GitHub Copilot to access the custom tools. Here's how it looks in GitHub Copilot:
Development
To add new tools to your MCP server:
- Add new tool functions in
src/server.py
using the@mcp.tool()
decorator - Restart the server
- The new tools will be automatically available to connected clients
Example:
This server cannot be installed
A simple Model Context Protocol (MCP) server that allows GitHub Copilot to access custom tools, including an example tool to return the author name.
Related MCP Servers
- -securityAlicense-qualityGitLabとの連携機能を提供するModel Context Protocol (MCP) サーバーです。GitLabの特定のプロジェクトからパイプラインの失敗情報やマージリクエストへの指摘事項を取得し、AIアシスタントに提供します。Last updated -2PythonMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables integration of joke delivery capabilities into Microsoft Copilot Studio and GitHub Copilot, allowing users to request and receive various types of jokes through natural language.Last updated -MIT License
- -securityFlicense-qualityA comprehensive Model Context Protocol (MCP) server implementing the latest MCP specification with tools, resources, prompts, and enhanced sampling capabilities that features HackerNews and GitHub API integrations for AI-powered analysis.Last updated -331Python
- -securityAlicense-qualityA lab demonstrating how to deploy a Model Context Protocol (MCP) server and integrate it with Microsoft Copilot Studio, allowing users to connect AI models to different data sources and tools through a standardized protocol.Last updated -MIT License