MCP.so
登录

Debug MCP Server in VSCode

@swatDong

基本信息

分类

开发工具

传输方式

stdio

作者

swatDong

关于 Debug MCP Server in VSCode

Create sample MCP server and able to debug in VSCode

Debug MCP Server in VSCode 配置

暂无标准配置

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

代码仓库

Debug MCP Server in VSCode 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What MCP tools are included?

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

2

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.

3

How do I test the server?

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

4

Where are the debugging configurations defined?

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

5

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 服务器