mcp-sei-cbm
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., "@mcp-sei-cbmlist my pending processes"
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 SEI (Sistema Eletrônico de Informações)
MCP (Model Context Protocol) server for integration and automation with SEI (Sistema Eletrônico de Informações) through direct authentication by User, Password, and Organization (web session), eliminating the need for API tokens.
🚀 Features
Automatic and Parameterized Authentication: Connects to SEI by providing User, Password, and Organization, with support for Unit selection.
Session Management: Keeps session cookies active and performs auto re-login if the session expires.
Process Control: Lists all open processes in the unit's inbox (generated and received).
Process and Tree Query: Retrieves process metadata and the entire hierarchy of documents/attachments.
Document Reading: Extracts clean textual content and electronic signature data from any document/dispatch/letter.
Advanced Search: Searches processes and documents by number, interested party, or textual terms.
Unit Management: Allows switching between different units of the organization to which the user has access.
Progress Entries: Adds dispatches and observations to the process history.
Related MCP server: mcp-seipro
📦 Installation
1. Clone or Access the Directory
cd c:\Users\chaga\OneDrive\Documentos\mcp-sei-cbm2. Create Virtual Environment and Install Dependencies
# Criar ambiente virtual
python -m venv .venv
# Ativar ambiente virtual
# No Windows (PowerShell):
.\.venv\Scripts\Activate.ps1
# No Linux/Mac:
# source .venv/bin/activate
# Instalar dependências
pip install -r requirements.txt⚙️ Configuration (.env)
Copy the example file .env.example to .env and fill it with your access credentials:
cp .env.example .envEdit the .env file:
# URL base do SEI da sua instituição
SEI_BASE_URL=https://sei.cbm.df.gov.br/sei
# Usuário e senha de acesso
SEI_USUARIO=seu_usuario_ou_cpf
SEI_SENHA=sua_senha_secreta
# Órgão de autenticação (sigla ou ID conforme a lista de seleção de login)
SEI_ORGAO=CBM
# (Opcional) Unidade padrão a ser ativada no login (ex: CBM/DTI)
SEI_UNIDADE=
# (Opcional) Configurações de rede
SEI_TIMEOUT=30
SEI_VERIFY_SSL=true🛠️ Available Tools (MCP Tools)
Tool | Description | Parameters |
| Reports connection status, logged-in user, and active unit. | - |
| Authenticates or updates credentials at runtime. |
|
| Lists the processes in the current unit's inbox. | - |
| Queries a process and returns metadata and document tree. |
|
| Returns all documents attached to a process. |
|
| Reads the text and signatures of a specific document. |
|
| Searches processes or documents by keyword. |
|
| Changes the current working unit in SEI. |
|
| Adds a progress entry to the process history. |
|
🤖 How to Configure in Claude Desktop / Cursor / Antigravity
Add the following configuration to your MCP configuration file (e.g., claude_desktop_config.json or similar):
{
"mcpServers": {
"sei-cbm": {
"command": "c:\\Users\\chaga\\OneDrive\\Documentos\\mcp-sei-cbm\\.venv\\Scripts\\python.exe",
"args": [
"-m",
"src.server"
],
"cwd": "c:\\Users\\chaga\\OneDrive\\Documentos\\mcp-sei-cbm",
"env": {
"SEI_BASE_URL": "https://sei.cbm.df.gov.br/sei",
"SEI_USUARIO": "seu_usuario",
"SEI_SENHA": "sua_senha",
"SEI_ORGAO": "CBM"
}
}
}
}🧪 Automated Tests
To run the validation test suite for parsers and configurations:
.\.venv\Scripts\python.exe -m pytest -vThis 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
- FlicenseNot gradedqualityDmaintenanceMCP server for integrating with the Brazilian PJE judicial system via MNI and BNP, enabling consultation of legal processes, communications, and precedents.
- AlicenseBqualityBmaintenanceMCP Server do SEI Pro para o SEI (Sistema Eletrônico de Informações) via API REST mod-wssei v2 + scraper do frontend web (modo híbrido).1004MIT
- FlicenseAqualityBmaintenanceMCP server for automating consultation and download of documents from Brazil's TRF1 PJe system through authenticated sessions. It uses Playwright for authenticated navigation, providing tools to query process metadata, list documents, and download full case files.6
- FlicenseNot gradedqualityCmaintenanceMCP server that enables an AI to query the Se7e ERP via the plug-server API, supporting authentication and catalog reconciliation.
Related MCP Connectors
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
Brazilian fiscal MCP server - issue NF-e, NFC-e, NFS-e, CT-e, MDF-e and DC-e via SEFAZ.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
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/hugocoliveira/mcp-sei-cbm'
If you have feedback or need assistance with the MCP directory API, please join our Discord server