Sortance

Validation des e-mails lors des inscriptions : détecte les adresses jetables, sans enregistrement MX, mal orthographiées ou fictives, avec vos propres règles de blocage et d’autorisation.

Serveur MCP hébergé

npx add-mcp 'https://api.sortance.com/mcp'

S’installe dans Claude Code, Codex, Cursor et plus

Documentation

Sortance MCP server

Connect Claude, ChatGPT, Cursor or any MCP client to Sortance. Verify, enrich, screen and check email addresses, and set your organisation's allow and block rules in plain English, from your own AI client.

HTML version: https://sortance.com/docs/mcp

Endpoint

https://api.sortance.com/mcp

  • Transport: Streamable HTTP, stateless. Every request is one POST and one JSON response. No SSE stream, no session.
  • Registry name: com.sortance/mcp (official MCP Registry). Server card: https://api.sortance.com/mcp/server-card
  • Discovery without a token: initialize, ping and tools/list answer without auth, so you can read the server and its tools before signing in.
  • Auth for tool calls: sign in with OAuth (Claude, ChatGPT and other apps that add connectors by URL), or send the REST API's Authorization: Bearer sk_live_... header. tools/call without a token returns HTTP 401 with WWW-Authenticate pointing at /.well-known/oauth-protected-resource/mcp.
  • OAuth details: authorization server metadata at https://api.sortance.com/.well-known/oauth-authorization-server. Dynamic client registration and client ID metadata documents, authorization code with PKCE (S256) only, rotating refresh tokens, scopes mcp and mcp:read. Access tokens last an hour and work only on /mcp.

Connect a client

  • Claude, ChatGPT and other connector apps: add a custom connector with the URL https://api.sortance.com/mcp, sign in to Sortance, pick the organisation, choose Full or Read-only, click Allow.
  • Claude Code: claude mcp add --transport http sortance https://api.sortance.com/mcp
  • Codex: codex mcp add sortance --url https://api.sortance.com/mcp, then codex mcp login sortance
  • Cursor, VS Code, Windsurf (JSON config): {"mcpServers":{"sortance":{"url":"https://api.sortance.com/mcp"}}}
  • Gemini CLI: gemini extensions install https://github.com/wilsonbright/sortance-mcp
  • Agent skill: npx skills add wilsonbright/sortance-mcp

A connected app acts as you in that organisation with at most member rights: it can run checks and change rules, never manage keys or members. A viewer, or Read-only access, can only read. Checks count against the organisation's quota like any key.

Tools

ToolWhat it doesQuotaWrites
verify_emailWhether an address will deliver: recommendation (send / challenge / hold / drop), bounce_probability, verdict, email type, actor class, checks, policy decision. Same as POST /v1/verify.1 verificationno
check_emailFree syntax, MX and disposable-domain check with a reason. No mailbox verdict. Same as POST /v1/check.freeno
screen_contactSignup screening: typo suggestion, name/address match, fake-name and domain checks, allow or review. Same as POST /v1/screen.1 screeningno
enrich_contactPerson and company behind a work address. Same as POST /v1/enrich.not countedno
get_policy_contextRule-writing reference, list names and the active rules. Read first when changing rules.freeno
check_policy_draftValidates a draft policy and replays it over recent decisions. Saves nothing.freeno
save_policy_draftSaves a draft as a new version, not active.freeyes
activate_policy_versionMakes a saved version live. Called only after the user says yes.freeyes
list_blocklistDomain, address or IP blocklist/allowlist; addresses masked.freeno
update_blocklistAdds or removes domains, addresses or IPs and ranges, up to 1,000 per call, live at once. Called only after the user confirms the entries.freeyes

Every tool declares title, readOnlyHint or destructiveHint, and its OAuth requirement (securitySchemes).

How an agent should use it

Call a tool when the user asks for that check or change. If a check would help but was not requested, offer it and call the tool only on a yes: verify_email and screen_contact spend the organisation's quota, and the rules tools change what every check returns.

Errors

A tool that ran and failed returns isError: true with { "error": { "code", "message", "trace_id" } }, for example quota_exceeded, screening_quota_exceeded or internal_error. A missing or invalid token on tools/call is HTTP 401 before any tool runs. Every result carries a trace_id (vr_ verifications, en_ enrichment, sc_ screenings, ck_ checks).

Links