MCP.so
登录

Debug MCP Server in VSCode

@swatDong

关于 Debug MCP Server in VSCode

Create sample MCP server and able to debug in VSCode

基本信息

分类

开发工具

运行时

node

传输方式

stdio

发布者

swatDong

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

开发工具 分类下的更多 MCP 服务器