TODO list MCP server (Exercício 4.2)
Click on "Deploy 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-hud-mcp
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 deployed
Maintenance
Related MCP Connectors
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server exposing the Backtest360 engine API as tools for AI agents.
- mcpOAuthnet.todoist
Official Todoist MCP server for AI assistants to manage tasks, projects, and workflows.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server that exposes a TODO list API to AI assistants, enabling natural language management of tasks with create, read, update, and delete operations.-
- FlicenseNot gradedqualityBmaintenanceMCP server for managing a todo list with gamified pomodoro features, exposing set_tasks and list_tasks tools.-
- AlicenseNot gradedqualityCmaintenanceA CRUD todo list server that exposes tools to create, list, and conclude tasks, compatible with any MCP host.1 npmMIT
- FlicenseNot gradedqualityBmaintenanceMCP server that provides tools to create and list tasks by consuming a REST API, allowing LLMs to manage a TODO list via natural language.-