OB

owretch/building-mcp-servers

Developer tools
0 stars 12 forks Quality 46 Trend 0MIT

Base code for my Building MCP Servers workshop

Overview

This repository contains the base code for the workshop initially run as part of the VS Code Dev Days 2025 in Auckland, NZ. The MCP Server code is taken from Anthropic's Introduction to Model Context Protocol course. Parts of the workshop, including the base configuration, are drawn from the Building an MCP Server with AI Toolkit section of Microsoft's MCP for Beginners curriculum. To run the client for testing the server you will need a GitHub PAT token with the models:read permisson. Generate a new fine-grained PAT. Then either create an environment variable called GITHUB_TOKEN with you token as the value, or create a .env file in the root of the repository and set GITHUB_TOKEN there. This workshop is based around Visual Studio Code. To make things easier, all the pre-requisites are configured within a Dev Container, which could be used either locally or in GitHub Codespaces. To use the Dev Container locally, you need a docker-compatible runtime and the Dev Container extension.

README

VS Code Dev Days — Building MCP Servers

This repository contains the base code for the workshop initially run as part of the VS Code Dev Days 2025 in Auckland, NZ. The MCP Server code is taken from Anthropic’s Introduction to Model Context Protocol course. Parts of the workshop, including the base configuration, are drawn from the Building an MCP Server with AI Toolkit section of Microsoft’s MCP for Beginners curriculum.

To run the client for testing the server you will need a GitHub PAT token with the models:read permisson. Generate a new fine-grained PAT. Then either create an environment variable called GITHUB_TOKEN with you token as the value, or create a .env file in the root of the repository and set GITHUB_TOKEN there.

Prerequisites

This workshop is based around Visual Studio Code. To make things easier, all the pre-requisites are configured within a Dev Container, which could be used either locally or in GitHub Codespaces. To use the Dev Container locally, you need a docker-compatible runtime and the Dev Container extension.

If you wish to run the code locally, you will require:

  • Python 3.10+
  • Node.js and npm

Once you have these installed, the required packages can be installed by running the following commands:

# Install Python pre-requisites. Will create a virtual environment if one doesn't already exist.
uv sync --all-extras

# Install NodeJS pre-requisites for the inspector
cd inspector
npm install

Then activate the Python Virtual Environment (VS Code should prompt you).

View the full README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →