anupmurali05

MCP Server

Community anupmurali05
Updated

exploring Model Context Protocol (MCP)

MCP Server

This repository contains a FastMCP server that exposes a mocked documentation database tool.

Tool

  • get_documentation_from_database(document_id: str | None = None, query: str | None = None) -> dict

This tool returns mocked documentation records from a simulated database. You can request a specific document by document_id or search the mocked documentation with query.

Run the server

Install dependencies in the project virtual environment:

cd /Users/anupmurali/projects/MCP
.venv/bin/python -m pip install -e ./mcp-server

Run the server:

cd /Users/anupmurali/projects/MCP/mcp-server
.venv/bin/python main.py

The MCP endpoint will be available at http://127.0.0.1:8000/mcp.

Test the tool locally

You can call the tool directly from Python for a quick smoke test:

cd /Users/anupmurali/projects/MCP/mcp-server
.venv/bin/python -c "from main import get_documentation_from_database; print(get_documentation_from_database(query='MCP'))"

Notes

  • The server uses fastmcp with mcp under the hood.
  • The mocked database includes a few sample documentation records.

MCP Server ยท Populars

MCP Server ยท New

    abskrj

    velane

    Code Runtime and iPaaS for AI Agent โ€” execute Bun/Python snippets at scale via POST API + integrate with 800+ tools (N8N for AI Agents)

    Community abskrj
    jean-technologies

    Jean Memory

    next-generation AI memory infrastructure (powered by mem0 and graphiti)

    Community jean-technologies
    PascaleBeier

    HitKeep

    HitKeep is privacy-first analytics for humans and AI agents, self-hosted or in managed EU/US cloud regions.

    Community PascaleBeier
    prometheus

    Prometheus MCP Server

    MCP server for LLMs to interact with Prometheus

    Community prometheus
    TencentEdgeOne

    EdgeOne Makers MCP

    An MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.

    Community TencentEdgeOne