Simple server MCP with memory data to provide context to a LLM.

πŸš€ Memory Data Server (MCP Tool Provider)

A lightweight Model Context Protocol (MCP) server built with Python and FastMCP. This service acts as a specialized tool provider that enables LLMs and Agentic AI systems (like LangChain or Claude Desktop) to securely inspect and retrieve customer support records from an in-memory datastore via Server-Sent Events (SSE).

πŸ“Œ Features

  • Standardized MCP Interface: Exposes backend capabilities via the open Model Context Protocol.
  • SSE Transport: Listens on HTTP via Server-Sent Events for real-time remote procedure calls (RPC).
  • Structured Tool Capabilities: Exposes deterministic data querying functions (fetch_customer_ticket) with typed parameters.

πŸ— System Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” SSE (Port 8000) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚ AI Agent / LLM Host β”‚ ───────────────────────────────► β”‚ FastMCP Server β”‚β”‚ (LangChain / Claude) β”‚ ◄─────────────────────────────── β”‚ (Memory data Server) β”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚β–Όβ”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚ In-Memory DB Lookupβ”‚β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ›  Tech Stack

  • Language: Python 3.10+
  • Framework: mcp (FastMCP)
  • Transport: SSE (Server-Sent Events) over HTTP

πŸš€ Getting Started

1. Prerequisites

Ensure you have Python installed and the required dependencies:

pip install mcp

2.Running the Server

Execute the script directly to start the FastMCP SSE server listening on 0.0.0.0:8000:

python server.py

The server will start and wait for incoming SSE connections on port 8000.

πŸ›  Available Toolsfetch_customer_ticketPerforms an in-memory lookup for customer support tickets using a numeric ticket_id.

Parameters:

ticket_id (int, required): The unique integer identifier of the target ticket.

Returns:

str: Formatted string containing user details, reported issue, and customer tier (or a formatted error message if not found).

πŸ“„ LicenseMIT License. Free to use and modify for personal or commercial projects.

MCP Server Β· Populars

MCP Server Β· New

    gura105

    Operational Ontology

    A minimal, readable reference implementation of the Operational Ontology pattern. Palantir Foundry is one implementation; this is the concept, minimized.

    Community gura105
    EllisMorrow

    Caelune

    Caelune (ζ˜Ÿι‡Ž) β€” Local-first retrieval for private Markdown, PDF, and Tika documents, with a Windows desktop app and read-only MCP server.ο½œζœ¬εœ°δΌ˜ε…ˆηš„η§δΊΊηŸ₯θ―†ζ£€η΄’ε·₯具。

    Community EllisMorrow
    vmware-skills

    VMware AIops

    VMware vCenter/ESXi AI-powered monitoring and operations. Two skills: vmware-monitor (read-only, safe) and vmware-aiops (full operations) | Claude Code Skill

    Community vmware-skills
    asdecided

    AsDecided

    Native deterministic requirements-as-code engine and read-only MCP server.

    Community asdecided
    Mapika

    portview

    See what's on your ports, then act on it. Diagnostic-first port viewer for Linux, MacOS and Windows.

    Community Mapika