MCP.so
Sign In

Debug MCP Server in VSCode

@swatDong

About Debug MCP Server in VSCode

Create sample MCP server and able to debug in VSCode

Basic information

Category

Developer Tools

Runtime

node

Transports

stdio

Publisher

swatDong

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Debug MCP Server in VSCode?

Debug MCP Server in VSCode is a sample MCP (Model Context Protocol) server that demonstrates how to set up and debug MCP tools directly in Visual Studio Code. It includes the same weather tools as the MCP Quick Start, with launch configurations that automatically open MCP Inspector for browser-based testing. Aimed at developers learning to build and debug MCP servers.

How to use Debug MCP Server in VSCode?

Clone the repository, navigate to either the python-weather/ or typescript-weather/ directory, open the folder in VSCode, and follow the steps in the language-specific README.

Key features of Debug MCP Server in VSCode

  • Pre‑configured VSCode debugging for MCP servers
  • Launches MCP Inspector automatically for tool testing
  • Same sample weather tools as the MCP Quick Start
  • Available in both Python and TypeScript

Use cases of Debug MCP Server in VSCode

  • Learning how to debug an MCP server in VSCode
  • Experimenting with MCP tools via the Inspector interface
  • Starting a new MCP project with a working debug setup

FAQ from Debug MCP Server in VSCode

What MCP tools are included?

The sample server provides the same weather tools from the MCP Quick Start (get alerts, get forecast).

Do I need to install anything extra to debug?

Yes, you need to have Python or Node.js installed, then follow the language-specific README for dependencies.

How do I test the server?

When debugging, MCP Inspector opens in your browser, allowing you to interactively test the available tools.

Where are the debugging configurations defined?

The VSCode launch configurations are included in the repository; exact details are in the language-specific README files.

Does this work with any MCP server?

The repository is specifically set up for the included sample server; you would need to adapt configurations for other servers.

Comments

More Developer Tools MCP servers