# 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
```bash
cd mcp-servers/servers/example
pip install -e .
```
## Execução
- Via entry point (STDIO):
```bash
mcp-example
```
- Via módulo Python:
```bash
python -m example_server.main
```
## Inspecionar com MCP Inspector
```bash
uv run mcp dev src/example_server/main.py:server
```
> Use este pacote como base mínima para criar novos servidores MCP.
Raw data
{
"_id": null,
"home_page": null,
"name": "mcp-example-server",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "example, mcp, model-context-protocol",
"author": "TCC Lab",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/6d/a3/9472f59d523b8ca846ce1696ee860fc6006500eb6bb7a296837f8fa088ee/mcp_example_server-0.1.3.tar.gz",
"platform": null,
"description": "# mcp-example-server\n\nServidor MCP (Model Context Protocol) de exemplo, com duas tools b\u00e1sicas:\n- `echo`: retorna o texto recebido\n- `time_now`: devolve a hora atual (UTC) em ISO-8601\n\n## Instala\u00e7\u00e3o\n```bash\ncd mcp-servers/servers/example\npip install -e .\n```\n\n## Execu\u00e7\u00e3o\n- Via entry point (STDIO):\n```bash\nmcp-example\n```\n- Via m\u00f3dulo Python:\n```bash\npython -m example_server.main\n```\n\n## Inspecionar com MCP Inspector\n```bash\nuv run mcp dev src/example_server/main.py:server\n```\n\n> Use este pacote como base m\u00ednima para criar novos servidores MCP.\n",
"bugtrack_url": null,
"license": null,
"summary": "Servidor MCP de exemplo (echo e time_now)",
"version": "0.1.3",
"project_urls": null,
"split_keywords": [
"example",
" mcp",
" model-context-protocol"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "05b12685f0245f85a2b3dd046816d54e71b508aac8973be73f35022f25205019",
"md5": "81c6b39bbb3cf7abf80c791a4a2c2040",
"sha256": "df8f5ace1c6b34e61d69f1ca9744a3c183de7f9702aa9c0f356a7e8ef26d63e4"
},
"downloads": -1,
"filename": "mcp_example_server-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "81c6b39bbb3cf7abf80c791a4a2c2040",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 2402,
"upload_time": "2025-09-02T00:41:32",
"upload_time_iso_8601": "2025-09-02T00:41:32.866678Z",
"url": "https://files.pythonhosted.org/packages/05/b1/2685f0245f85a2b3dd046816d54e71b508aac8973be73f35022f25205019/mcp_example_server-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6da39472f59d523b8ca846ce1696ee860fc6006500eb6bb7a296837f8fa088ee",
"md5": "f9772a57e19ad30386bf8e20b5029dba",
"sha256": "1a2649f5e0d7bc81b447c95f3967111f5ecb18611e0b5f38c604bf0a85d6a888"
},
"downloads": -1,
"filename": "mcp_example_server-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "f9772a57e19ad30386bf8e20b5029dba",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 1620,
"upload_time": "2025-09-02T00:41:34",
"upload_time_iso_8601": "2025-09-02T00:41:34.119317Z",
"url": "https://files.pythonhosted.org/packages/6d/a3/9472f59d523b8ca846ce1696ee860fc6006500eb6bb7a296837f8fa088ee/mcp_example_server-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-02 00:41:34",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mcp-example-server"
}