Atlas / MCP servers / chapirousia / PJE

PJECAUTION

mcp/chapirousia/pje
Verdict
CAUTION
Grade
B
Trust score
88 /100
Exposed tools
10 10r · 0w · 0d
Transport
stdio
License
MIT
Stars
42
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Servidor MCP (Model Context Protocol) para integração com o sistema PJE (Processo Judicial Eletrônico) brasileiro, com suporte completo a certificados digitais A1 e A3.

🚀 Características

  • ✅ Integração completa com PJE - Acesso total à API do PJE
  • 🔐 Certificados Digitais - Suporte A1 (arquivo) e A3 (token/smartcard)
  • 📋 Gestão de Processos - Liste, busque e acompanhe processos
  • 🏛️ Dados Judiciais - Órgãos julgadores, classes e assuntos
  • 🔍 Filtros Avançados - Busca com múltiplos critérios
  • 🌐 Multi-tribunal - Funciona com qualquer tribunal PJE
  • 🤖 Claude Desktop - Integração nativa com IA

📦 Instalação Rápida

git clone https://github.com/seu-usuario/pje-mcp-server.git
cd pje-mcp-server
npm install
cp .env.example .env
# Edite o arquivo .env com suas configurações
npm run build

⚙️ Configuração

1. Configuração Básica (.env)

# URL do seu tribunal
PJE_BASE_URL=https://pje.tjce.jus.br
PJE_APP_NAME=pje-tjce-1g

# Certificado Digital (escolha uma opção)
# Opção 1: Arquivo PFX
PJE_CERTIFICATE_PFX_PATH=C:\certificado.pfx
PJE_CERTIFICATE_PFX_PASSWORD=senha123

# Opção 2: Windows Store
PJE_CERTIFICATE_THUMBPRINT=abc123...

2. Claude Desktop (Windows)

Adicione ao arquivo %APPDATA%\Claude\claude_desktop_config.json:

{
"mcpServers": {
"pje": {
"command": "node",
"args": ["C:\\caminho\\para\\pje-mcp-server\\build\\index.js"]
}
}
}

3. Claude Desktop (Mac/Linux)

Adicione ao arquivo ~/.config/claude/claude_desktop_config.json:

{
"mcpServers": {
"pje": {
"command": "node",
"args": ["/caminho/para/pje-mcp-server/build/index.js"]
}
}
}

🎯 Uso com Claude

Após configurar, reinicie o Claude Desktop e use comandos naturais:

"Configure o PJE do TJCE"
"Liste meus processos"
"Busque o processo 1234567-89.2024.8.06.0001"
"Mostre os órgãos julgadores"
"Quais são minhas audiências esta semana?"

🔐 Certi

Read from source at commit b9810bee1877OBSERVED · 2026-10-08
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add pje-mcp-server --env PJE_CERTIFICATE_PASSWORD=${PJE_CERTIFICATE_PASSWORD} --env PJE_CERTIFICATE_PFX_PASSWORD=${PJE_CERTIFICATE_PFX_PASSWORD} --env PJE_CLIENT_SECRET=${PJE_CLIENT_SECRET} --env PJE_PASSWORD=${PJE_PASSWORD} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "pje-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "PJE_CERTIFICATE_PASSWORD": "${PJE_CERTIFICATE_PASSWORD}",
        "PJE_CERTIFICATE_PFX_PASSWORD": "${PJE_CERTIFICATE_PFX_PASSWORD}",
        "PJE_CLIENT_SECRET": "${PJE_CLIENT_SECRET}",
        "PJE_PASSWORD": "${PJE_PASSWORD}"
      }
    }
  }
}
03

Exposed tools (10)

10 read · 0 write · 0 destructive.

ToolRiskDescription
pje_buscar_processoreadBusca um processo específico por ID
pje_configurarreadConfigura a conexão com o PJE
pje_configurar_certificadoreadConfigura autenticação por certificado digital
pje_info_certificadoreadMostra informações sobre o certificado configurado
pje_listar_assuntosreadLista assuntos processuais
pje_listar_certificadosreadLista certificados digitais disponíveis no Windows
pje_listar_classesreadLista classes processuais
pje_listar_orgaos_julgadoresreadLista órgãos julgadores
pje_listar_processosreadLista processos com filtros opcionais
pje_statusreadVerifica o status da configuração e conexão do PJE
04

Trust audit

CAUTIONgrade B · trust 88/100 Install with care. The audit found things worth knowing before you trust its output.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (4 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

HIGHNetwork egress · net.tls_off · CWE-200, CWE-319
src/certificate-manager.ts:79
rejectUnauthorized: false,
Why it matters. certificate verification is disabled
Fix. leave verification on
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
src/certificate-manager.ts:82
ciphers: 'HIGH:!aNULL:!MD5:!RC4',
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, axios, body-parser, dotenv, ejs, express, multer, node-forge
Why it matters. 15 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-08 · audit v0.4.1 · source sha b9810bee1877full audit observations/trust-audit/mcp-server/chapirousia__pje.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-08b9810bee1877CAUTIONB88first audit
06

Questions

What tools does PJE expose?

10 in total: 10 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is PJE safe to connect to an agent?

With care. The audit graded it B (88/100) and found 3 things worth knowing before you trust this server, listed below with the exact line each was found on.

What credentials does PJE need?

It reads PJE_CERTIFICATE_PASSWORD, PJE_CERTIFICATE_PFX_PASSWORD, PJE_CLIENT_SECRET and PJE_PASSWORD from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does PJE run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as pje-mcp-server at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (b9810bee1877), read on 2026-10-08. The repository is watched and re-audited when it changes.

Advertisement