MCP ExplorerExplorer

Demo Mcp Hello World

@yalattason 10 months ago
2 MIT
FreeCommunity
AI Systems
A demo project showcasing FastAgent for multi-agent clients communicating with MCP-servers.

Overview

What is Demo Mcp Hello World

demo-mcp-hello-world is a demonstration project that showcases the capabilities of MCP-servers and the FastAgent framework for building multi-agent clients that communicate with these servers. It utilizes both Native and SSE (Server-Sent Events) approaches for server communication.

Use cases

Use cases include building applications that require real-time data processing, creating multi-agent systems for collaborative tasks, and demonstrating the integration of various MCP-servers in a development environment.

How to use

To use demo-mcp-hello-world, ensure you have Docker and Python (preferably 3.13) installed. Set up a virtual environment, install the required packages, and run the client and server scripts using the provided commands in the README.

Key features

Key features include the ability to quickly set up multi-agent clients, support for communication with various MCP-servers, and the demonstration of capabilities using an external PostgreSQL database with an Amazon sales dataset.

Where to use

demo-mcp-hello-world can be used in fields such as software development, data analysis, and any application requiring multi-agent communication systems or server-client architectures.

Content

introduction

This repo demonstrate FastAgent to quickly build up multi-agent client that can communication with MCP-servers
In addition, it demonstrate MCP-server capabilities and how to build it up using fastmcp using both approached. Native & SSE (Server-Sent Events)

client is using external postgres MCP server and docker-compose is responsible to create db instance with initial data of Amazon sales dataset to demonstrate its capabilities

Prerequisite

  • docker
  • python <3.11 (preferably 3.13)
  • uv (here to install)
  • (optional) setup SMTP mcp to enable SMTP capabilities
    uvx mcp-email-server@latest ui
    

Initial setup

uv venv
source .venv/bin/activate
uv pip install -r requirements.txt

client

uv run mcp/client.py

server

uv run mcp install mcp/server.py
uv run python mcp/server.py

MCPs

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers