workflows-mcp-server

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

  1. Clone this repository
  2. Install dependencies using npm or yarn

Usage - Simplified API Approach

  1. Start the server to access the Weather API and health check endpoints.
  2. Run the client example to fetch weather information.

Usage - MCP Approach

  1. Build the TypeScript code.
  2. Start the server to access SSE and messages endpoints with connection ID for bidirectional communication.