TODO list MCP server (Exercício 4.2)
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TODO list MCP server (Exercício 4.2)adicionar tarefa: revisar artigo"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP server da TODO list — Exercício 4.2
Um MCP server local que expõe tools de uma lista de tarefas para um agente
de IA. As tools não guardam estado próprio: elas chamam a API REST do
Exercício 4.1 (http://localhost:8000). O MCP é a camada de adaptação entre o
mundo do agente (MCP) e a fonte do dado (HTTP).
Aluno: Antonio Diniz · Disciplina: IDP-TD 2026
Agente / LLM ──MCP──▶ servidor_mcp.py ──HTTP──▶ API 4.1 (localhost:8000)Tools expostas
Tool | Chamada HTTP | Retorno |
|
| a tarefa criada |
|
| lista de tarefas |
A URL da API é lida da variável de ambiente API (default http://localhost:8000).
Related MCP server: Todo MCP Server
Como rodar
Suba a API do 4.1 (noutro terminal, no repo do 4.1):
uvicorn app.main:app --port 8000No repo do 4.2:
pip install -r requirements.txt python cliente_teste.pyDeve imprimir o envelope JSON com
tools,criar_resultadoelistar_resultado.
Para testar apontando para outra porta:
API=http://localhost:9010 python cliente_teste.py.
Reflexão (Aula 6)
No 4.1 o cliente precisava falar HTTP: montar URL, método, cabeçalhos, corpo e
tratar status. No 4.2 o agente só precisa saber que existe criar_tarefa(titulo).
O MCP escondeu o protocolo HTTP — endpoint, verbo, formato do corpo e códigos
de status deixaram de importar para quem chama. A tool virou a interface; a API
continua sendo a fonte do dado.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/antonioddiniz/todo-mcp-4.2'
If you have feedback or need assistance with the MCP directory API, please join our Discord server