Skip to main content
Glama

FastMCP Starter Kit

by sujjadshaik
MIT License

FastMCP Starter Kit

A simple Model Context Protocol (MCP) server starter kit built with FastMCP.

GitHub Copilot MCP Integration

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

  1. Fork and Clone this repository.
  2. Install dependencies using uv (recommended):
uv sync

Or using pip:

pip install -e .

Usage

Running the MCP Server

Start the server using:

docker compose up -d

VS Code Configuration

To use this MCP server with GitHub Copilot in VS Code, create a .vscode/mcp.json file in your project root:

{ "servers": { "fastmcp-starter-kit": { "command": "npx", "args": ["-y", "mcp-remote", "http://localhost:8100/sse", "--allow-http"] } } }

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:

GitHub Copilot MCP Integration

Development

To add new tools to your MCP server:

  1. Add new tool functions in src/server.py using the @mcp.tool() decorator
  2. Restart the server
  3. The new tools will be automatically available to connected clients

Example:

@mcp.tool() async def my_new_tool(param: str) -> str: """Description of what this tool does.""" return f"Processed: {param}"
-
security - not tested
A
license - permissive license
-
quality - not tested

A simple Model Context Protocol (MCP) server that allows GitHub Copilot to access custom tools, including an example tool to return the author name.

  1. Features
    1. Installation
      1. Usage
        1. Running the MCP Server
        2. VS Code Configuration
      2. Development

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          GitLabとの連携機能を提供するModel Context Protocol (MCP) サーバーです。GitLabの特定のプロジェクトからパイプラインの失敗情報やマージリクエストへの指摘事項を取得し、AIアシスタントに提供します。
          Last updated -
          2
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          A 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
          • Apple
          • Linux
        • -
          security
          F
          license
          -
          quality
          A 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 -
          331
          Python
        • -
          security
          A
          license
          -
          quality
          A 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
          • Apple

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/sujjadshaik/fastmcp-starter-kit'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server