SIA MCP Server
Provides Hermes access to SIA data through read-only endpoints, including prisoner records, visits, appointments, attendance locations, and sentenced individuals without active execution.
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., "@SIA MCP Serverwhat are today's scheduled appointments?"
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.
SIA API
API FastAPI inicial para integração somente leitura com o SIA.
O que já existe
GET /healthGET /db/pingGET /db/relationsGET /db/relations/{relation_name}/columnsGET /presosGET /presos/{matricula}GET /presos/{matricula}/visitasGET /presos/{matricula}/visitas/timelineGET /presos/{matricula}/atendimentosGET /presos/{matricula}/atendimentos/historicoGET /atendimentos/locaisGET /atendimentos/advogadosGET /atendimentos/do-dia?data_ref=YYYY-MM-DDGET /atendimentos/soltos/agoraGET /sentenciados/sem-execucao
Related MCP server: KVMFleet MCP Server
MCP para o Hermes
A API também expõe uma camada FastMCP em /mcp.
Ferramentas disponíveis:
sia_db_pingsia_list_presossia_get_presosia_list_visitassia_list_visitas_timelinesia_list_atendimentossia_list_atendimentos_historicosia_list_atendimento_locaissia_list_atendimento_advogadossia_list_atendimentos_do_diasia_soltos_agorasia_list_sentenciados_sem_execucao
Exemplo de uso local no Hermes:
uvicorn app.main:app --reloadDepois, o cliente MCP deve apontar para o endpoint HTTP da aplicação com o caminho /mcp.
Conexão Firebird
A conexão é montada a partir destas variáveis de ambiente:
SIA_FIREBIRD_HOST=10.14.161.210
SIA_FIREBIRD_PORT=3050
SIA_FIREBIRD_DATABASE=/home/sia/banco/dbsia.fdb
SIA_FIREBIRD_USER=SYSDBA
SIA_FIREBIRD_PASSWORD=***
SIA_FIREBIRD_CHARSET=WIN1252Opcional:
SIA_FIREBIRD_CLIENT_LIBRARY=/caminho/para/libfbclient.soRodar localmente
python3 -m venv .venv
. .venv/bin/activate
pip install -U pip
pip install -e .[dev]
pytest
uvicorn app.main:app --reloadObservações importantes
Este ambiente foi tratado como produção.
A API foi travada para consultas בלבד.
Não há endpoint de inserção ou exclusão.
Os testes atuais validam que SQL não-SELECT é bloqueado pela camada de acesso.
Próximo passo
Mapear as tabelas/vistas reais do SIA para criar endpoints de domínio (presos, visitas, etc.) sem tocar em escrita.
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.
Related MCP Servers
- Alicense-quality-maintenanceProvides read-only access to TrustLayer's public API, enabling users to query and retrieve data about parties, documents, projects, and other TrustLayer entities through MCP-compatible tools.

KVMFleet MCP Serverofficial
AlicenseAqualityCmaintenanceRead-only MCP server that allows AI assistants to query and monitor KVM Fleet devices, audit logs, and console sessions through the official REST API.5111MIT- AlicenseAqualityDmaintenanceRead-only MCP server for Akamai CDN that enables searching properties, browsing EdgeWorker code, querying DNS zones, inspecting network lists, and translating error codes via natural language.161MIT
- Alicense-qualityBmaintenanceEnables read-only interaction with App Store Connect via MCP tools, including listing apps, versions, builds, and review submissions, with compliance boundaries and no write operations by default.MIT
Related MCP Connectors
Read-only access to your VortexIQ store data: audits, KPIs, alerts, Brand DNA, reports, Ask VIQ.
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only MCP server for ClassQuill, a tutoring-business-management platform.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/leandroluz/sia-mcp-api'
If you have feedback or need assistance with the MCP directory API, please join our Discord server