# Codespar Clearsale MCP server

Source: https://glimind.com/server/mcp-registry%2Fio.github.codespar%2Fmcp-clearsale
Registry id: `mcp-registry/io.github.codespar/mcp-clearsale`
Status: unknown

## Install

```json
{
  "mcpServers": {
    "codespar-clearsale-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-clearsale"
      ]
    }
  }
}
```

Claude Code:

```sh
claude mcp add codespar-clearsale-mcp-server -- npx -y @codespar/mcp-clearsale
```

## Tools (18)

- `create_case`: Open a fraud investigation case (e.g. ...).
- `create_chargeback_notification`: Report a confirmed chargeback back to ClearSale.
- `create_device_fingerprint_session`: Start a device fingerprint session.
- `get_device_fingerprint`: Retrieve captured device characteristics for a fingerprint session (OS, browser, timezone, canvas/WebGL has...).
- `get_order_analysis`: Retrieve the current analysis state of an order previously sent to ClearSale.
- `get_order_score`: Fetch only the fraud score (numeric 0-100) for an order.
- `get_score_by_contact`: Look up the risk score for a contact identifier (email or phone).
- `get_score_by_document`: Look up the risk score and historical signals associated with a Brazilian document (CPF or CNPJ).
- `issue_challenge`: Issue an authentication challenge (OTP via SMS/email or KBA question) to a buyer.
- `list_orders`: List orders submitted to ClearSale with optional filters.
- `resolve_manual_review`: Manually resolve an order currently in EM_ANALISE by approving or declining it.
- `send_order_for_analysis`: Submit an order to ClearSale for fraud analysis.
- `track_behavior_event`: Log a behavior signal (page view, login, signup, custom event) tied to a fingerprint session.
- `update_case`: Update an existing fraud investigation case — change status, add notes, reassign, or attach more orders.
- `update_order_status`: Notify ClearSale of the merchant's final decision on an order (APROVADO / CANCELADO / DEVOLVIDO).
- `validate_address`: KYC: validate a Brazilian postal address against the Correios database.
- `validate_challenge_response`: Verify a buyer's response to a challenge issued via issue_challenge.
- `validate_document`: KYC: validate a CPF or CNPJ against Receita Federal.

Measured by Glimind (https://glimind.com): MCP handshake + tool list only, no tool is ever called. CC BY 4.0.
