M

MCP Reportia

by javalenciacai · io.github.javalenciacai/mcp-reportia

An MCP server that wraps the Reportia REST API, exposing 66 tools for health, companies, accounting movements, mappings, reports, third parties, salesperson invoices, cost centers, and operations. It handles authentication via token or credentials and enables operations like listing, exporting to Excel/PDF, and management through natural language.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-javalenciacai-mcp-reportia": {
      "command": "npx",
      "args": [
        "-y",
        "@james.valencia/mcp-reportia"
      ],
      "env": {
        "REPORTIA_BASE_URL": "<VALUE>",
        "REPORTIA_TOKEN": "<YOUR_VALUE>",
        "REPORTIA_COOKIE": "<YOUR_VALUE>",
        "REPORTIA_EMAIL": "<VALUE>",
        "REPORTIA_PASSWORD": "<YOUR_VALUE>",
        "REPORTIA_COMPANY_ID": "<VALUE>",
        "REPORTIA_TIMEOUT_MS": "30000",
        "REPORTIA_DOWNLOAD_DIR": "./downloads",
        "REPORTIA_USER_AGENT": "mcp-reportia/0.1.0",
        "REPORTIA_MAX_DOWNLOAD_BYTES": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
REPORTIA_BASE_URL Yes Base URL of the Reportia API, without trailing slash (e.g., https://reportia.example.com). Required.
REPORTIA_TOKEN secret No Bearer token for authentication. Alternative to email/password login.
REPORTIA_COOKIE secret No Pre-issued Reportia session cookie (e.g. connect.sid=s%3A...). For upstream callers that already hold the resolved user's session and want the child to authenticate as that user without re-login. Mutually exclusive with REPORTIA_TOKEN. Skips /api/auth/login and /api/auth/logout.
REPORTIA_EMAIL No Email for session login (cookie). Used with REPORTIA_PASSWORD.
REPORTIA_PASSWORD secret No Password for session login (cookie). Used with REPORTIA_EMAIL.
REPORTIA_COMPANY_ID No Default companyId when the tool accepts it. Positive integer.
REPORTIA_TIMEOUT_MS No HTTP request timeout in milliseconds. Default: 30000
REPORTIA_DOWNLOAD_DIR No Directory where downloaded binaries (Excel/PDF exports) are saved. Default: ./downloads
REPORTIA_USER_AGENT No User-Agent header for each request. Default: mcp-reportia/0.1.0
REPORTIA_MAX_DOWNLOAD_BYTES No Maximum bytes for a single binary download (default 104857600 = 100MB).

Similar servers