mcp-pje-trf1
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Log level for the MCP server. Possible values: error, warn, info, debug. Default is 'info'. | info |
| PJE_HEADLESS | No | Whether to run the browser in headless mode. Set to 'false' to see the browser window. Default is 'true'. | true |
| PJE_DOWNLOAD_DIR | No | Directory where downloaded files will be saved. If not set, defaults to %APPDATA%\mcp-pje-trf1\downloads on Windows or ~/.mcp-pje-trf1/downloads on Linux/macOS. | |
| PJE_STORAGE_STATE_PATH | No | Path to the Playwright storage state file used for authentication. If not set, defaults to %APPDATA%\mcp-pje-trf1\storage-state.json on Windows or ~/.mcp-pje-trf1/storage-state.json on Linux/macOS. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| consultar_processoB | Consulta metadados de processo PJe TRF1 acessível à sessão autenticada. |
| listar_documentosB | Lista documentos do processo acessíveis à sessão autenticada. |
| baixar_documentoB | Baixa um documento acessível do processo preservando o arquivo original quando disponível. |
| baixar_inteiro_teorB | Baixa todos os documentos acessíveis do processo em diretório exclusivo e gera manifest.json. |
| status_autenticacaoB | Informa se há storageState salvo e se a sessão parece válida, sem expor cookies ou tokens. |
| autenticarA | Abre Chromium visível para autenticação manual e salva storageState. Não automatiza credenciais, MFA, CAPTCHA ou certificado. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct action: process metadata, document listing, single download, bulk download, auth status, and authentication. There is no overlap in purpose; even the two baixar tools are clearly differentiated by scope (one vs. all).
Most tools follow a verb_noun pattern in Portuguese (consultar_processo, listar_documentos, baixar_documento, baixar_inteiro_teor, autenticar). The exception is status_autenticacao, which is noun_noun, a minor deviation from the otherwise consistent verb-first style.
Six tools is well-scoped for a PJe document access server. Each tool serves a necessary step in the workflow—authentication, status check, process lookup, document listing, and download—without unnecessary redundancy.
The tool set covers the full lifecycle needed for the server's purpose: authenticate, verify authentication, retrieve process metadata, list documents, download a single document, and download all documents. No critical operation is missing for its stated domain.