Skip to main content

Servidor MCP de exemplo (echo e time_now)

Project description

mcp-example-server

Servidor MCP (Model Context Protocol) de exemplo, com duas tools básicas:

  • echo: retorna o texto recebido
  • time_now: devolve a hora atual (UTC) em ISO-8601

Instalação

cd mcp-servers/servers/example
pip install -e .

Execução

  • Via entry point (STDIO):
mcp-example
  • Via módulo Python:
python -m example_server.main

Inspecionar com MCP Inspector

uv run mcp dev src/example_server/main.py:server

Use este pacote como base mínima para criar novos servidores MCP.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_example_server-0.1.3.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_example_server-0.1.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_example_server-0.1.3.tar.gz.

File metadata

  • Download URL: mcp_example_server-0.1.3.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcp_example_server-0.1.3.tar.gz
Algorithm Hash digest
SHA256 1a2649f5e0d7bc81b447c95f3967111f5ecb18611e0b5f38c604bf0a85d6a888
MD5 f9772a57e19ad30386bf8e20b5029dba
BLAKE2b-256 6da39472f59d523b8ca846ce1696ee860fc6006500eb6bb7a296837f8fa088ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_example_server-0.1.3.tar.gz:

Publisher: publish-mcp-example.yml on DioniSilva/mcp-servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_example_server-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_example_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df8f5ace1c6b34e61d69f1ca9744a3c183de7f9702aa9c0f356a7e8ef26d63e4
MD5 81c6b39bbb3cf7abf80c791a4a2c2040
BLAKE2b-256 05b12685f0245f85a2b3dd046816d54e71b508aac8973be73f35022f25205019

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_example_server-0.1.3-py3-none-any.whl:

Publisher: publish-mcp-example.yml on DioniSilva/mcp-servers

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page