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 recebidotime_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a2649f5e0d7bc81b447c95f3967111f5ecb18611e0b5f38c604bf0a85d6a888
|
|
| MD5 |
f9772a57e19ad30386bf8e20b5029dba
|
|
| BLAKE2b-256 |
6da39472f59d523b8ca846ce1696ee860fc6006500eb6bb7a296837f8fa088ee
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_example_server-0.1.3.tar.gz -
Subject digest:
1a2649f5e0d7bc81b447c95f3967111f5ecb18611e0b5f38c604bf0a85d6a888 - Sigstore transparency entry: 458207792
- Sigstore integration time:
-
Permalink:
DioniSilva/mcp-servers@f894579575f5ccb9c5be6f9c8757a541b8651dce -
Branch / Tag:
refs/tags/example-v0.1.3 - Owner: https://github.com/DioniSilva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp-example.yml@f894579575f5ccb9c5be6f9c8757a541b8651dce -
Trigger Event:
push
-
Statement type:
File details
Details for the file mcp_example_server-0.1.3-py3-none-any.whl.
File metadata
- Download URL: mcp_example_server-0.1.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df8f5ace1c6b34e61d69f1ca9744a3c183de7f9702aa9c0f356a7e8ef26d63e4
|
|
| MD5 |
81c6b39bbb3cf7abf80c791a4a2c2040
|
|
| BLAKE2b-256 |
05b12685f0245f85a2b3dd046816d54e71b508aac8973be73f35022f25205019
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_example_server-0.1.3-py3-none-any.whl -
Subject digest:
df8f5ace1c6b34e61d69f1ca9744a3c183de7f9702aa9c0f356a7e8ef26d63e4 - Sigstore transparency entry: 458207794
- Sigstore integration time:
-
Permalink:
DioniSilva/mcp-servers@f894579575f5ccb9c5be6f9c8757a541b8651dce -
Branch / Tag:
refs/tags/example-v0.1.3 - Owner: https://github.com/DioniSilva
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-mcp-example.yml@f894579575f5ccb9c5be6f9c8757a541b8651dce -
Trigger Event:
push
-
Statement type: