Global ML-based fraud detection โ events + scores + decisions + labels feedback. Alpha on npm โ paths verified against SiftScience/sift-ruby SDK.
$ npm install @codespar/mcp-sift@alphaAdd this entry to your claude_desktop_config.json (or any MCP-compatible client config).
{
"mcpServers": {
"sift": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-sift@alpha"
],
"env": {
"SIFT_API_KEY": "<your_sift_api_key>",
"SIFT_ACCOUNT_ID": "<your_sift_account_id>"
}
}
}
}After restart, your agent can call any of the 20 tools below โ try send_event first.
Required to authenticate the server. Stored encrypted when using CodeSpar managed hosting.
SIFT_API_KEYSift API key. Used in the Events API request body ($api_key) and as the HTTP Basic auth username (empty password) for Score + Decisions APIs.
SIFT_ACCOUNT_IDSift Account ID. Required for all Decisions API v3 endpoints (path segment /v3/accounts/{account_id}/...).
SIFT_BASE_URLSift API base URL. Defaults to https://api.sift.com.
Each tool is independent โ your agent loads only what it needs to reduce context and response time.
send_eventget_user_scorerescore_userlabel_userunlabel_userapply_decision_to_userapply_decision_to_orderget_user_decisionsMCP is a protocol โ any framework that speaks it can mount this server.