MCP-dump

by Jayanth-MKV

285 downloads
Not rated
GitHub

About

Dump of all the MCP (model context protocol) servers

Details

Author
Jayanth-MKV
Downloads
285
Categories
Other

- Monorepo with multiple MCP server and client implementations
- Cloudflare Workers MCP server (TypeScript)
- Python MCP server with tooling abstractions and CLI
- AI agent example connecting MCP to Postgres
- Example clients including a reactive agent pattern
- Experimental Python minimal MCP server

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP-dump
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

To use the Cloudflare Workers MCP server, navigate to mcp-hello, install dependencies with npm install, run tests with npm test, and optionally start with npx wrangler dev. For the Python MCP workspace (mcp-files), use uv run mcp-server to start the server, or run client examples like uv run examples/clients/react_agent.py. The Postgres AI agent (ai-agent-postgres-mcp) can be started with uv run main.py after reviewing its local README for database setup. The uv tool is required for Python projects.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp-dump": {
            "MCP-dump": {
                "command": "npx",
                "args": [
                    "wrangler",
                    "dev"
                ]
            }
        }
    }
}

McpServers

{
    "MCP-dump": {
        "command": "npx",
        "args": [
            "wrangler",
            "dev"
        ]
    }
}

MCP-dump

A collection of Model Context Protocol (MCP) servers, clients, and experiments for learning, prototyping, and comparing implementation styles across runtimes (Cloudflare Workers, Python, etc.).

Table of Contents

1. Overview
2. Repository Structure
3. What is MCP?
4. Project Summaries
5. Quick Start
6. Development Environment
7. Contributing
8. Disclaimer

---

1. Overview

This monorepo hosts multiple MCP server and client implementations exploring different tooling stacks (Python + uv, TypeScript + Cloudflare Workers) and agent patterns (LLM-backed analysis, reactive agents, tool invocation). It is intended as a playground and reference.

2. Repository Structure

MCP-dump/
├── ai-agent-postgres-mcp/        # AI agent using MCP to analyze a Postgres database
│   ├── ai_agent_postgres_mcp.ipynb
│   ├── main.py
│   └── README.md
├── mcp-hello/                    # Minimal MCP server (Cloudflare Workers / JS)
│   ├── src/
│   ├── test/
│   ├── package.json
│   └── README.md
├── mcp-files/                    # New Python MCP workspace (managed via uv)
│   ├── pyproject.toml            # Root Python project (workspace style)
│   ├── uv.lock
│   ├── examples/                 # Example Python clients & agents
│   │   └── clients/
│   │       ├── base.py
│   │       ├── gemini.py
│   │       └── react_agent.py
│   ├── mcp-server/               # Python MCP server implementation
│   │   ├── pyproject.toml
│   │   └── src/mcp_server/
│   │       ├── cli.py
│   │       ├── config.py
│   │       ├── helpers.py
│   │       ├── mcp.py
│   │       ├── tools.py
│   │       └── __init__.py
│   └── mcp-hello/                # (Experimental) parallel minimal example in Python
│       └── README.md
└── README.md

> Note: mcp-files/mcp-hello is a Python-flavored minimal example separate from the root mcp-hello Cloudflare Workers implementation. They intentionally explore analogous concepts in different runtimes.

3. What is MCP?

Model Context Protocol (MCP) standardizes how tools, agents, and large language models exchange contextual information, resources, and tool invocation results. It aims to:

- Provide predictable, typed exchanges
- Reduce ad-hoc prompt engineering glue
- Support richer, stateful multi-step agent behaviors

4. Project Summaries

- ai-agent-postgres-mcp: Demonstrates connecting an AI agent to Postgres via MCP for conversational querying & analysis.
- mcp-hello (Cloudflare / Workers): Minimal TypeScript MCP server showcasing deployment in edge environments.
- mcp-files/mcp-server: A Python MCP server with tooling abstractions, CLI entrypoint, and strongly-typed helpers.
- mcp-files/examples/clients: Example Python clients (including a basic reactive agent pattern and Gemini integration placeholder).
- mcp-files/mcp-hello: Lightweight Python analogue of the Cloudflare example (experimental).

5. Quick Start

A. Cloudflare Workers MCP server (mcp-hello root)

1. Enter the directory:
    cd mcp-hello
    
2. Install deps (pnpm / npm / yarn):
    npm install
    
3. Run tests:
    npm test
    
4. (Optional) Publish / dev with Wrangler:
    npx wrangler dev
    

B. Python MCP workspace (mcp-files)

This workspace uses uv for fast resolution & execution.

1. Navigate:

    cd mcp-files

2. Run the Python MCP server (CLI):
    uv run mcp-server

3. Try a client example (reactive agent):
    uv run examples/clients/react_agent.py

4. Explore available tools by invoking help:
    uv run mcp-server --help

C. Postgres AI Agent (ai-agent-postgres-mcp)

Follow its local README.md for database connection setup. Typically you'll:
cd ai-agent-postgres-mcp
uv run main.py  # or python main.py depending on your environment

6. Development Environment

| Layer | Tech | Notes |
|-------|------|-------|
| Edge server | Cloudflare Workers | Uses workers-mcp + Wrangler dev server |
| Python server | uv + pyproject | Fast lockfile (uv.lock), typed package layout |
| Tooling | LLM clients (Gemini placeholder) | Extend via tools.py in Python server |

Recommended:
- Install uv for Python: https://docs.astral.sh/uv/
- Keep commits atomic (feature / chore / docs) using Conventional Commits.
- Use uv lock --upgrade when updating deps in Python workspace.

7. Contributing

Contributions are welcome. Suggested contribution types:
- New MCP tool modules (mcp-files/mcp-server/src/mcp_server/tools.py)
- Additional runtime adapters (Rust, Go, etc.)
- Agent strategy examples (planning, retrieval-augmented, streaming)
- Documentation improvements & diagrams

Workflow:
1. Fork & branch from main.
2. Implement + add minimal docs/tests.
3. Run lint/tests (where applicable).
4. Open PR with clear description and rationale.

8. Disclaimer

These implementations are experimental and not guaranteed production-grade. Security, robustness, and performance concerns may be intentionally simplified for clarity.

---

If you find this useful, feel free to open issues with questions or ideas for additional MCP experiment directions.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.