MCP Sample Server
by swatDong
This repository provides a sample MCP server implementation for debugging in VSCode. It includes examples in both Python and TypeScript and integrates with the MCP Inspector for easy testing.
Last updated: N/A
What is MCP Sample Server?
This is a sample Model Context Protocol (MCP) server designed to demonstrate debugging techniques within VSCode. It provides a basic weather service implementation in both Python and TypeScript.
How to use MCP Sample Server?
To use this server, clone the repository and navigate to either the 'python-weather' or 'typescript-weather' directory. Open the directory in VSCode and follow the instructions in the respective README.md file to set up and run the server for debugging.
Key features of MCP Sample Server
Sample MCP Server
VSCode Debugging Configuration
Python Implementation
TypeScript Implementation
MCP Inspector Integration
Use cases of MCP Sample Server
Learning MCP
Debugging MCP Servers
Testing MCP Inspector
Developing MCP Applications
Prototyping MCP Services
FAQ from MCP Sample Server
What is MCP?
What is MCP?
MCP stands for Model Context Protocol.
What is MCP Inspector?
What is MCP Inspector?
MCP Inspector is a tool for testing and debugging MCP servers in a browser.
Which languages are supported?
Which languages are supported?
This sample provides implementations in Python and TypeScript.
Where can I find more information about MCP?
Where can I find more information about MCP?
Refer to the MCP Quick Start documentation: https://github.com/modelcontextprotocol/quickstart-resources/
How do I run the server?
How do I run the server?
Follow the instructions in the README.md file within the python-weather or typescript-weather directory.