
Clearsale MCP Server
by codespario.github.codespar/mcp-clearsalev0.2.0-alpha.3
MCP server for ClearSale — Brazilian fraud prevention, order risk scoring, device fingerprinting
context tax
queued
security
queued
cold start
queued
freshness
Active12d ago
Install Clearsale MCP server
Install in Claude Code
claude mcp add clearsale -e CLEARSALE_API_KEY='<clearsale-api-key>' -- npx -y @codespar/mcp-clearsaleInstall in Cursor
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "<clearsale-api-key>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "<clearsale-api-key>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"clearsale": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "<clearsale-api-key>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"clearsale": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-clearsale"
],
"env": {
"CLEARSALE_API_KEY": "<clearsale-api-key>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| CLEARSALE_API_KEY | yes | yes | ClearSale API key / bearer token used in the Authorization header |
| CLEARSALE_BASE_URL | — | — | ClearSale API base URL. Defaults to https://api.clearsale.com.br (prod). Override per contract-issued staging URL. |
Freshness
Active — last maintenance signal 12d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-27 · 12d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-06-22 · 4mo ago · official registry · v0.2.0-alpha.3
FAQ
›How do I install the Clearsale MCP server in Claude Code?
Run: claude mcp add clearsale -e CLEARSALE_API_KEY='<clearsale-api-key>' -- npx -y @codespar/mcp-clearsale. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Clearsale require an API key?
Yes. It expects CLEARSALE_API_KEY, of which 1 is a secret.
›Can I use Clearsale as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Clearsale in the official MCP registry?
Yes, as io.github.codespar/mcp-clearsale.