Debug MCP Server in VSCode
@swatDong
关于 Debug MCP Server in VSCode
Create sample MCP server and able to debug 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
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 服务器
nuxt-mcp / vite-plugin-mcp
antfuMCP server helping models to understand your Vite/Nuxt app better.
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
MCP-Bridge
SecretiveShellA middleware to provide an openAI compatible endpoint that can call MCP tools
Golf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
评论