workflows-mcp-server
0
The Workflows MCP Server is an implementation designed to provide weather information for cities via a simple API. It features both a simplified direct API approach and an MCP protocol method, enabling easy integration and usage across different systems.
Workflows MCP Server
This is a Model Context Protocol (MCP) server that provides weather information for cities through a simple API.
Features
- Exposes workflows as tools, such as
get-weather
, to fetch weather data for any city. - Provides a
check-weather
prompt template for integration with LLMs. - Utilizes HTTP/SSE transport for client communication.
Installation
- Clone this repository
- Install dependencies using npm or yarn
Usage - Simplified API Approach
- Start the server to access the Weather API and health check endpoints.
- Run the client example to fetch weather information.
Usage - MCP Approach
- Build the TypeScript code.
- Start the server to access SSE and messages endpoints with connection ID for bidirectional communication.