关于
Workshop enables developers to build and run custom Model Context Protocol (MCP) servers that connect external data sources directly into their development environment. Using JavaScript and the `@modelcontextprotocol/sdk`, it implements MCP servers that can fetch live data from public APIs such as Open-Meteo and AgroMonitoring. By defining `resource()` and `tool()` interfaces accessible via MCP URIs, it allows for structured responses within tools supporting MCP, such as VS Code, enhancing developer productivity.
主要功能
- Defines `resource()` and `tool()` interfaces accessible via MCP URIs
- Connects to public APIs for live data fetching
- Implements MCP servers using JavaScript and the `@modelcontextprotocol/sdk`
- 0 GitHub stars
- Supports structured responses in MCP-enabled tools (e.g., VS Code)
- Uses Zod for schema validation
使用案例
- Fetching weather data from Open-Meteo API
- Retrieving polygon data from the AgroMonitoring API
- Creating dynamic greetings using a custom `greeting://` URI