Este repositorio contiene definiciones de datasets declarativas para el portal de datos abiertos de Uruguay.
Nota: Esto es un trabajo en progreso en etapa Alpha.
Esto está listo para ejecutarse con el servidor OKFN MCP definido en https://github.com/okfn/mcp-ckan.
Agrega este repositorio a la configuración de tu servidor MCP en el archivo deploy/tool_sources.yaml, agregando una nueva entrada como esta:
- name: mcp-datos-uruguay
repo: git@github.com:okfn/mcp-datos-uruguay.git
# path is the place in which the MCP tools live
path: datasets
ref: main
# if the repo is private, use a key
# This private key file should be generated with something like
# ssh-keygen -t ed25519 -f keys/mcp-datos-uruguay-key -N "" -C "deploy@mcp-server"
# and then add this public key to the GitHub repo's deploy keys (with read access, it'll be enough)
# This key must be deployed in the MCP server's filesystem at the path specified below, and the private key file must have permissions set to 600 (read/write for owner only)
key: deploy/keys/mcp-datos-uruguay-keyPuedes definir herramientas manuales en Python o crear archivos .yaml que definan un dataset y sus herramientas MCP de manera declarativa.
- Crea un nuevo archivo
.yamlendatasets/ - Configura el
engineadecuado. Lee sobre ellos en https://github.com/okfn/mcp-ckan/tree/main/src/mcp_server/engines - Define los metadatos del
datasety lasource(URL del CSV) - Define las
toolscon sus parámetros y lógica - Haz push a este repositorio y vuelve a obtener los datos en el servidor MCP
