io.github.codespar/mcp-unico
io.github.codespar/mcp-unico · 273 stars · TypeScript · MIT
MCP server DEPRECATED: no live endpoint (api.unico.co does not resolve)
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@codespar/mcp-unicostdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
UNICO_CLIENT_IDRequired | Env var | Unico OAuth client_id |
UNICO_CLIENT_SECRETRequired · Secret | Env var | Unico OAuth client_secret |
UNICO_ENVOptional | Env var | Environment: 'sandbox' or 'production'. Defaults to 'sandbox'. |
UNICO_BASE_URLOptional | Env var | Optional override for the IDCloud/IDPay/IDCheck API base URL. Defaults to https://api.unico.co. |
UNICO_AUTH_URLOptional | Env var | Optional override for the OAuth token endpoint base URL. Defaults to https://auth.unico.co. |
Files
@codespar/mcp-unico
Deprecated: no live endpoint. Measured on 2026-09-27 against two public DNS resolvers (8.8.8.8 and 1.1.1.1):
api.unico.co(API) andauth.unico.co(token) do not resolve in DNS. Unico's developer docs now nameapi.id.unico.app/api.id.uat.unico.appfor the API andidentity.acesso.io/identityhomolog.acesso.iofor OAuth; this server's paths and auth were not written against them and have not been checked. No tool in this server reaches a service. The package is deprecated on npm and stays in this repository for reference only. If you have a working endpoint, point the server at it withUNICO_BASE_URLandUNICO_AUTH_URL. To bring the package back, open an issue in mcp-dev-latam with the provider's documented base URL.
MCP server for Unico — the Brazilian identity verification leader. CPF/CNPJ validation, document OCR, face biometrics, liveness, PEP / watchlist / court-records screening.
First entry in the CodeSpar identity category. Commerce agents onboarding sellers (marketplaces), running high-value transactions, or operating KYC-regulated flows need identity verification — Unico is the BR standard. Paired with @codespar/mcp-onfido for BR-first + global coverage.
Products
Unico sells three separately-contracted products. This server exposes tools for all three; agents should call only what's enabled on your contract (disabled products return 403).
| Product | What it does |
|---|---|
| IDCloud | CPF/CNPJ validation with Receita Federal, document OCR, authenticity |
| IDPay | Face match + liveness for login and payment authentication |
| IDCheck | PEP, sanctions watchlists, Brazilian court records |
Tools (18)
| Tool | Purpose |
|---|---|
validate_cpf |
IDCloud: validate a Brazilian CPF with Receita Federal. |
validate_cnpj |
IDCloud: validate a Brazilian CNPJ with Receita Federal. |
extract_document |
IDCloud: OCR + structured field extraction from a Brazilian ID document image. |
verify_document_authenticity |
IDCloud: tamper / forgery detection on a document image. |
face_match |
IDPay: biometric 1:1 comparison between a live selfie and a document photo. |
liveness_check |
IDPay: passive liveness detection. |
check_pep |
IDCheck: Politically Exposed Person screening. |
check_watchlists |
IDCheck: global sanctions / adverse-media screening. |
court_records_search |
IDCheck: Brazilian judicial-records search. |
get_process_status |
IDCheck: poll the status of a verification process previously created via the Unico Web/Mobile SDK or API. |
batch_get_process_status |
IDCheck: batch status lookup. |
upload_process_document |
IDCheck: upload a captured image to a running verification process. |
get_extracted_data |
IDCheck: fetch the structured OCR result for a finished process — typed fields (name, document number, issu... |
get_unico_score |
IDCheck: Unico Score — Brazil's identity-fraud risk score (0-1000, higher = lower risk) computed from Unico... |
connect_portability_check |
Connect: cross-tenant portability check. |
register_webhook |
Webhooks: subscribe a callback URL to receive Unico process events (process.created, process.finished, proc... |
list_webhooks |
Webhooks: list all webhook subscriptions registered for this tenant. |
delete_webhook |
Webhooks: remove a webhook subscription. |
Install
npm install @codespar/mcp-unico@alpha
Environment
UNICO_CLIENT_ID="..." # OAuth client_id UNICO_CLIENT_SECRET="..." # OAuth client_secret UNICO_ENV="sandbox" # Optional. 'sandbox' | 'production'. Default: sandbox UNICO_BASE_URL="..." # Optional. Default: https://api.unico.co UNICO_AUTH_URL="..." # Optional. Default: https://auth.unico.co
Authentication
OAuth 2.0 Client Credentials. The server posts client_id:client_secret as Basic auth to Unico's token endpoint and caches the bearer token in memory until 60 s before expiry. Unico's docs require server-side integration only — never expose these credentials to a browser or mobile client.
Run
# stdio (default) npx @codespar/mcp-unico # HTTP MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-unico
Status
Shipped as 0.1.0-alpha.1. Unico's REST contract lives behind the devcenter.unico.io portal and is gated by merchant account. Tool names and argument shapes are stable, but exact endpoint paths may shift once we validate against live credentials — override UNICO_BASE_URL / UNICO_AUTH_URL if your account is served from a different host. PRs welcome once you've seen the real payloads.
Enterprise
Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.
License
MIT
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 273
- License
- MIT
- Language
- TypeScript
- Last push
- 2026-09-27
- Forks
- 50
- MCP Registry
- io.github.codespar/mcp-unico
- Homepage
- codespar.dev/servers
- Topics
- agentic-commerce, ai-agents, brazil, claude, fintech, latin-america, llm-tools, mcp, model-context-protocol, nfe, open-finance, payments, pix
- 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
- 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
- 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
- 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
- 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
- 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k