SSE-based Server and Client for

Created By
sidharthrajarama year ago
A working pattern for SSE-based MCP clients and servers
Overview

What is MCP SSE?

MCP SSE is a working pattern for Server-Sent Events (SSE) based clients and servers that utilize the Model Context Protocol (MCP) for real-time data communication.

How to use MCP SSE?

To use MCP SSE, ensure you have the ANTHROPIC_API_KEY set in your environment. Run the server with uv run weather.py and the client with uv run client.py http://0.0.0.0:8080/sse.

Key features of MCP SSE?

  • Real-time data communication using SSE
  • Decoupled server and client architecture
  • Integration with National Weather Service APIs for weather data

Use cases of MCP SSE?

  1. Building cloud-native applications that require real-time data updates.
  2. Creating weather forecasting tools that utilize live data.
  3. Developing agents that can connect to and interact with various tools in a decoupled manner.

FAQ from MCP SSE?

  • What is the purpose of using SSE in MCP?

SSE allows for a more efficient and decoupled communication model between clients and servers, suitable for cloud-native applications.

  • Can I customize the server's host and port?

Yes! You can configure the server's host and port using command line arguments.

  • What kind of data can I retrieve using MCP SSE?

You can retrieve various data types, including weather forecasts and alerts, by utilizing the provided tools.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
sidharthrajaram
Star
273

Recommend Clients

View All
MCP-BUNDLES

2 months ago
NANA-BANANA-PRO

2 months ago
KERNELGEN

3 months ago
PACE

2 months ago
PACE

2 months ago
ODOO-MCP-SERVER

2 months ago
EZAIL

4 months ago
BLUTRANSLATE

3 months ago
TRACE-MCP

2 months ago
NANA-BANANA-PRO

2 months ago
SILVIA222

3 months ago
Chain.Love MCP
@Chain.Love

## Overview ### what is Chain.Love MCP? Chain.Love MCP is a hosted remote MCP server and gateway for AI agents. It provides a single endpoint for discovering and comparing Web3 infrastructure services across 50+ blockchain networks, including RPCs, indexing, oracles, storage, compute, and developer tools. ### how to use Chain.Love MCP? To use Chain.Love MCP, add the hosted endpoint to your MCP client and connect to `https://app.chain.love/mcp` over Streamable HTTP. For public use cases, the basic MCP server URL is enough. For private downstream MCPs, add credentials only when required using `x-chainlove-cred-<credentialKey>` headers. ### key features of Chain.Love MCP? - Hosted remote MCP gateway for AI agents - Single endpoint for Web3 infrastructure discovery across 50+ blockchain networks - Aggregates infrastructure options across RPCs, indexing, oracles, storage, compute, and developer tools - Streamable HTTP transport - Public documentation and onboarding resources available online ### use cases of Chain.Love MCP? - Discovering and comparing Web3 infrastructure providers across many blockchain networks - Finding RPC, indexing, oracle, storage, compute, and developer tooling options through one MCP server - Giving AI agents a single hosted integration surface for Web3 infrastructure discovery - Reducing the need to integrate many separate provider-specific endpoints ### FAQ from Chain.Love MCP? - Can Chain.Love MCP be used as a hosted remote MCP server? Yes. Chain.Love MCP is designed to be consumed as a hosted remote MCP endpoint at `https://app.chain.love/mcp`. - Does Chain.Love MCP require credentials? Not always. Some downstream integrations may require credentials, which can be passed using `x-chainlove-cred-<credentialKey>` headers when needed. - How do I know which credential header to use? You can check the open-source Chain.Love registry at `https://github.com/Chain-Love/chain-love/blob/main/references/offers/mcpservers.csv` or browse `https://app.chain.love/toolbox/mcpservers` and look for the relevant `credentialKey` value. - Where can I learn more? Landing page: `https://www.chain.love/mcp-gateway` Documentation: `https://chain-love.gitbook.io/mcp-module`

a month ago
PDFCHECK-MCP

a month ago