MCP ExplorerExplorer

Mcp Hello World

@Filipi1on a year ago
3 MIT
FreeCommunity
AI Systems
Demonstração do uso do MCP (Model Control Protocol) com o famoso Hello World!

Overview

What is Mcp Hello World

mcp-hello-world is a demonstration project showcasing the use of the Model Control Protocol (MCP) for communication between language models and AI applications. It consists of a server and a client that communicate using Server-Sent Events (SSE).

Use cases

Use cases for mcp-hello-world include educational demonstrations, testing communication between AI models and applications, and as a foundational project for developers looking to implement MCP in their own applications.

How to use

To use mcp-hello-world, start the server by running ‘python server.py’ in your terminal. The server will be available at ‘http://localhost:8000/sse’. In another terminal, run the client with ‘python client.py’ to connect to the server and invoke the ‘hello-world’ tool, which will display ‘Hello World!’ in the console.

Key features

Key features of mcp-hello-world include the demonstration of MCP for AI communication, the use of Server-Sent Events for real-time updates, and a simple implementation using Python 3.12.

Where to use

mcp-hello-world can be used in educational settings for teaching the fundamentals of the Model Control Protocol, in AI development for understanding communication protocols, and in prototyping applications that require real-time data exchange.

Content

Meu Primeiro MCP

Este é um projeto de exemplo demonstrando o uso do MCP (Model Control Protocol), um protocolo para comunicação entre modelos de linguagem e aplicações com IA. O projeto consiste em um servidor e um cliente MCP que se comunicam usando o protocolo SSE (Server-Sent Events). O servidor expõe uma ferramenta simples “hello-world” que retorna a famosa mensagem utilizada para abençoar qualquer inicio de estudo

Ferramentas

  • Python 3.12
  • UV para gerênciamento dos pacotes

🛠️ Como Usar

Iniciando o Servidor

Execute o servidor com:

python server.py

O servidor estará disponível em http://localhost:8000/sse.

Executando o Cliente

Em outro terminal, execute o cliente:

python client.py

O cliente se conectará ao servidor e chamará a ferramenta “hello-world”, exibindo a mensagem “Hello World!” no console.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers