1. Conduid
  2. Developer Tools
  3. SEI MCP
MCP server · Developer Tools

SEI MCP

MCP Server + Chrome Extension para automação do SEI com IA

Unclaimed last commit 8 months ago devtools
34Low

Scored 11 days ago · breakdown

About SEI MCP

SEI MCP is an MCP server published by NicholasJacob1990 in the Developer Tools category: mCP Server + Chrome Extension para automação do SEI com IA.

The repository has 6 stars and 2 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/NicholasJacob1990/SEI-MCP

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about SEI MCP

Powered by Claude · Grounded in docs

I know everything about SEI MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 7 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.

1 check has not been run yet.

README

SEI-MCP

MCP (Model Context Protocol) server + extensão Chrome para automação do sistema SEI! (Sistema Eletrônico de Informações) via Claude Code.

Funcionalidades

  • sei_login - Login automático no SEI
  • sei_search_process - Busca de processos
  • sei_download_process - Download de processos em PDF
  • sei_list_documents - Listagem de documentos
  • sei_create_document - Criação de documentos
  • sei_sign_document - Assinatura eletrônica
  • sei_forward_process - Tramitação de processos
  • sei_get_status - Consulta de andamento
  • sei_screenshot - Captura de tela
  • sei_snapshot - Estado da página (ARIA)

Arquitetura

Claude/Cliente MCP ←→ Servidor MCP ←→ (Playwright) ←→ SEI
                          └→ (WebSocket) ←→ Extensão Chrome ←→ SEI

Driver (Extensão vs Playwright)

Este projeto suporta dois modos de automação:

  • extension (padrão): usa a extensão Chrome via WebSocket.
  • playwright: usa Playwright diretamente (sem extensão). Ideal quando você quer abrir o SEI e automatizar sem depender do clique “Conectar”.

Para usar Playwright, defina SEI_MCP_DRIVER=playwright.

Instalação

Opção 1: Desktop Extension (Recomendado - Um Clique)

  1. Baixe o arquivo sei-mcp.mcpb da Releases
  2. No Claude Desktop: Settings > Extensions > Advanced settings
  3. Clique em "Install Extension..."
  4. Selecione o arquivo sei-mcp.mcpb
  5. Pronto!

Opção 2: Instalação Manual

1. Servidor MCP

cd sei-mcp
pnpm install
pnpm build

2. Configurar no Claude Code

Adicione ao ~/.claude.json:

{
  "mcpServers": {
    "sei-mcp": {
      "command": "node",
      "args": ["/caminho/para/sei-mcp/dist/index.js"],
      "env": {
        "SEI_MCP_WS_PORT": "19999"
      }
    }
  }
}

Extensão Chrome (necessária apenas no modo extension)

  1. Abra chrome://extensions/
  2. Ative "Modo do desenvolvedor"
  3. Clique em "Carregar sem compactação"
  4. Selecione a pasta extension/

Uso

  1. Inicie o Claude Code
  2. Abra o SEI no Chrome
  3. Clique no ícone da extensão "SEI-MCP Bridge"
  4. Clique em "Conectar"
  5. Use comandos no Claude Code:
Faça login no SEI com usuário joao.silva e senha 123456

Busque o processo 12345.678901/2024-00

Liste os documentos do processo

Crie um ofício de resposta com o texto: "Em atenção ao solicitado..."

Dicas de navegação (estabilidade)

  • Se você tiver mais de uma aba/janela do SEI aberta, use sei_list_sessions e passe session_id nas chamadas para garantir que os comandos vão para a aba certa.
  • Para operações lentas (login, busca, download, assinatura), passe timeout_ms (por chamada) ou ajuste o padrão via SEI_MCP_COMMAND_TIMEOUT_MS.
  • Se houver cliques “perdidos” por falta de foco, chame sei_focus_window antes do fluxo.
  • Se o SEI ainda não estiver aberto no navegador, você pode usar sei_open_url para abrir a URL (não requer extensão; útil antes de conectar).

Desenvolvimento

# Servidor (watch mode)
pnpm dev

# Testar conexão
npx @anthropic-ai/mcp-inspector

# Build
pnpm build

# Criar pacote .mcpb (Desktop Extension)
./scripts/build-mcpb.sh
# Ou manualmente:
npm install -g @anthropic-ai/mcpb
mcpb pack build-mcpb sei-mcp.mcpb

Variáveis de Ambiente

Variável Descrição Padrão
PORT Porta HTTP (Render/Cloud) (vazio)
SEI_MCP_WS_PORT Porta do WebSocket 19999
SEI_MCP_COMMAND_TIMEOUT_MS Timeout padrão de comandos enviados à extensão 30000
SEI_MCP_LOG_LEVEL Nível de log (debug/info/warn/error) info
SEI_MCP_DRIVER extension ou playwright extension
SEI_MCP_PW_HEADLESS Playwright headless (1/0) 1
SEI_MCP_PW_PERSISTENT Manter perfil (1/0) 1
SEI_MCP_PW_CHANNEL Canal do navegador (ex: chrome) (vazio)
SEI_MCP_REQUIRE_AUTH Exigir auth no HTTP (true/false) true
SEI_MCP_BEARER_TOKEN Token estático (Authorization Bearer) (vazio)
SEI_MCP_LICENSING_API_URL Base URL do servidor de licenciamento (valida token/mede uso) https://sei-tribunais-licensing-api.onrender.com/api/v1
SEI_MCP_JWT_SECRET Segredo JWT para login Google (vazio)
SEI_MCP_PUBLIC_BASE_URL Base URL pública do servidor HTTP http://localhost:3100
SEI_MCP_GOOGLE_CLIENT_ID Google OAuth Client ID (vazio)
SEI_MCP_GOOGLE_CLIENT_SECRET Google OAuth Client Secret (vazio)
SEI_MCP_STRIPE_SECRET_KEY Stripe Secret Key (vazio)
SEI_MCP_STRIPE_PRICE_STARTER_MONTHLY Stripe Price ID Starter (vazio)
SEI_MCP_STRIPE_PRICE_PRO_MONTHLY Stripe Price ID Pro (vazio)

Segurança

  • Senhas são transmitidas apenas localmente (localhost)
  • Nenhum dado é enviado para servidores externos
  • A extensão só funciona em páginas do SEI

Compatibilidade

Testado com:

  • SEI versão 4.x
  • Chrome 120+
  • Node.js 18+

Licença

MIT

README fetched from the repository 7 days ago. The original is authoritative.

Questions

About SEI MCP

How do I install SEI MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is SEI MCP safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 2 of the 5 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is SEI MCP still maintained?

The last commit was 8 months ago and 1 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.