# mcp-dir/tribunal_tjrj_processo_eproc-mcp architecture

> Architecture diagram of the GitHub repository mcp-dir/tribunal_tjrj_processo_eproc-mcp, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp
- Repository: https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp

## Overview

This repository is a public wrapper for a proprietary, hosted MCP service; it contains no server implementation. The documented workflow is that a user connects an MCP client to the hosted endpoint, invokes the read-only eproc consultation tool, and receives a result from an official source. The service advertises magic-link login and prepaid, per-query credits. Manifests and the agent skill support client setup and use. Source excerpts were unavailable, so the graph reflects README-documented relationships only; internal server calls and data handling are not represented.

Main entry points: [`manifests`](https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/tree/main/manifests) (Client manifests), [`skills/tribunal_tjrj_processo_eproc-mcp/SKILL.md`](https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/blob/main/skills/tribunal_tjrj_processo_eproc-mcp/SKILL.md) (Agent skill)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_consultation["Consultation service"]
  node_hosted_endpoint["Hosted MCP endpoint"]
  node_consult_tool["eproc consultation tool"]
end

subgraph group_access["Access and billing"]
  node_magic_link["Magic-link login"]
  node_prepaid_credits[("Prepaid credits")]
end

subgraph group_client_setup["Client setup"]
  node_client_manifests["Client manifests"]
  node_agent_skill["Agent skill<br/>[SKILL.md]"]
end

node_user(("User"))
node_mcp_client["MCP client"]
node_official_source[("Official eproc source")]

node_user -->|"uses"| node_mcp_client
node_mcp_client -->|"connects to"| node_hosted_endpoint
node_hosted_endpoint -->|"offers"| node_consult_tool
node_consult_tool -->|"consults"| node_official_source
node_consult_tool -->|"returns results"| node_mcp_client
node_user -->|"authenticates with"| node_magic_link
node_magic_link -.->|"grants access"| node_hosted_endpoint
node_user -->|"pays per query"| node_prepaid_credits
node_client_manifests -.->|"configures"| node_mcp_client
node_agent_skill -.->|"guides use"| node_mcp_client

click node_client_manifests "https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/tree/main/manifests"
click node_agent_skill "https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/blob/main/skills/tribunal_tjrj_processo_eproc-mcp/SKILL.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_hosted_endpoint,node_consult_tool,node_user,node_mcp_client toneBlue
class node_magic_link,node_prepaid_credits,node_official_source toneAmber
class node_client_manifests,node_agent_skill toneMint
```

## Components

### Consultation service

- **Hosted MCP endpoint**
- **eproc consultation tool**

### Access and billing

- **Magic-link login**
- **Prepaid credits**

### Client setup

- [Client manifests](https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/tree/main/manifests): `manifests`
- [Agent skill](https://github.com/mcp-dir/tribunal_tjrj_processo_eproc-mcp/blob/main/skills/tribunal_tjrj_processo_eproc-mcp/SKILL.md): `skills/tribunal_tjrj_processo_eproc-mcp/SKILL.md`

### Other components

- **User**
- **MCP client**
- **Official eproc source**

## Connections

- User → MCP client: uses (evidence: `README.md`)
- MCP client → Hosted MCP endpoint: connects to (evidence: `README.md`)
- Hosted MCP endpoint → eproc consultation tool: offers (evidence: `README.md`)
- eproc consultation tool → Official eproc source: consults (evidence: `README.md`)
- eproc consultation tool → MCP client: returns results (evidence: `README.md`)
- User → Magic-link login: authenticates with (evidence: `README.md`)
- Magic-link login → Hosted MCP endpoint: grants access
- User → Prepaid credits: pays per query (evidence: `README.md`)
- Client manifests → MCP client: configures
- Agent skill → MCP client: guides use
