BR ticketing-native fraud prevention (formerly Inspetor, Sรฃo Paulo). 4th fraud entry. Order evaluation + Collection API for events/accounts/auth tracking. Alpha on npm โ public docs thinner than ClearSale/Konduto; tool shapes match docs-backend repo.
$ npm install @codespar/mcp-legiti@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"legiti": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-legiti@alpha"
],
"env": {
"LEGITI_API_KEY": "<your_legiti_api_key>"
}
}
}
}After restart, your agent can call any of the 18 tools below โ try evaluate_order first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
LEGITI_API_KEYLegiti API key (JWT-format bearer token). Use the sandbox key while testing โ Legiti trains its ML models on every request, so test data hitting a production key pollutes the model.
LEGITI_BASE_URLLegiti API base URL. Defaults to https://collection-prod.inspcdn.net. Legiti issues customer-specific base URLs โ override per contract.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
evaluate_orderupdate_ordermark_order_fraudulentevaluate_saletrack_accounttrack_eventtrack_saletrack_authMCP is a protocol โ any framework that speaks it can mount this server.