1. Conduid
  2. Developer Tools
  3. Sse Demo
MCP server · Developer Tools

Sse Demo

MCP server: Sse Demo

Unclaimed last commit a year ago devtools
42Fair

Scored 6 months ago · breakdown

About Sse Demo

Sse Demo is an MCP server published by stepanogil in the Developer Tools category: mCP server: Sse Demo.

The repository has 37 stars and 7 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/stepanogil/mcp-sse-demo

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Sse Demo

Powered by Claude · Grounded in docs

I know everything about Sse Demo. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 8 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile. Installs can pull different code over time.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MCP SSE Demo

This repository demonstrates using the Model Context Protocol (MCP) with Server-Sent Events (SSE) to interact with a Zapier MCP server, enabling access to Gmail functionalities through an AI agent.

It illustrates integrating a remotely hosted MCP server with your LLM of choice (i.e. not via the Claude desktop app or Cursor)

Update: SSE is being deprecated in favor of Stremable HTTP. I've added an example using this via FastMCP. Notebook here

Overview

The project uses an OpenAI model (gpt-4o-mini) to understand user requests, determine if a Gmail action (tool) is needed, and execute it via the Zapier MCP server.

Key Files

  • mcp_clients/zapier_mcp_client.py: Contains the GmailMCPClient class responsible for connecting to the Zapier MCP server over SSE, listing available tools, and managing the connection.
  • chat.py: The chat application logic. It initializes the GmailMCPClient, connects to the Zapier server, retrieves tools, execute the tool call and pass the tool output to the LLM for synthesis. (i.e. the familiar function calling pattern)

Prerequisites

  • Python 3.8+
  • OpenAI API key
  • Zapier account with MCP access

Setup

  1. Clone the repository:

    git clone <your-repo-url>
    cd <your-repo-directory>
    
  2. Create a virtual environment and install dependencies:

    python -m venv .venv
    source .venv/bin/activate
    pip install openai python-dotenv mcp nest_asyncio fastmcp
    
  3. Create a .env file:

    touch .env
    
  4. Add your credentials to the .env file:

    OPENAI_API_KEY="sk-proj-..."
    ZAPIER_URL="https://actions.zapier.com/mcp/YOUR_SECRET_KEY/sse"
    ZAPIER_URL_FASTMCP="https://mcp.zapier.com/api/mcp/s/your-secret-key/mcp"
    
    
  5. Enable the Zapier actions you want to call as tools

    via https://actions.zapier.com/settings/mcp/

    This demo uses Gmail: Find Email

Usage

The chat.py script provides an async chat(user_input) function. You can import and use this function in your own script or an interactive environment i.e. Jupyter notebook to interact with the chatbot.

Example in a Python script):

import asyncio
from chat import chat

async def main():
    user_query = "Check my latest email."
    response = await chat(user_query)
    print(response)

if __name__ == "__main__":
    asyncio.run(main())

Example in Jupyter notebook

Chat in Jupyter Notebook

Example using the FastMCP framework (tool discovery and invocation)

FastMCP

README fetched from the repository 8 days ago. The original is authoritative.

Questions

About Sse Demo

How do I install Sse Demo?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Sse Demo safe to use with an AI agent?

Its trust score is 42 out of 100 (fair). It passes 2 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Sse Demo still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.