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.

コメント

「開発者ツール」の他のコンテンツ