Streamable Http icon

Streamable Http

Provides example implementations of Model Context Protocol (MCP) Streamable HTTP client and server in Python and TypeScript.

关于

This repository offers example implementations for both a Model Context Protocol (MCP) Streamable HTTP client and server, built using Python and TypeScript. It showcases cross-language compatibility, enabling communication between a Python client and a TypeScript server, and vice versa. The examples integrate with Anthropic's Claude model to retrieve weather information based on user queries, demonstrating a practical application of the MCP Streamable HTTP protocol.

主要功能

  • Example MCP Streamable HTTP server implementation in TypeScript
  • Demonstrates cross-language compatibility between Python and TypeScript
  • Example MCP Streamable HTTP client implementation in TypeScript
  • Example MCP Streamable HTTP client implementation in Python
  • 7 GitHub stars
  • Example MCP Streamable HTTP server implementation in Python
  • Interactive chat loop for querying weather information via MCP Streamable HTTP
  • Uses Anthropic's Claude language model for weather data retrieval

使用案例

  • Implementing streamable HTTP transport for LLM interactions
  • Building MCP-compliant applications
  • Testing cross-language compatibility in MCP environments
Craft Better Prompts with AnyPrompt
Sponsored