Connect Claude, Cursor, VS Code, and other MCP-compatible AI tools to Closient in one click or with a single command.
The Closient MCP server lets any AI agent that speaks the
Model Context Protocol call Closient
directly — validate GTINs, resolve them to product pages, look up
catalog data, search by natural language, compare products, find
nearby availability, and (with auth) generate Digital Link URLs for
QR codes.The server is hosted by Closient — you do not install or run anything
locally. Pointing your MCP client at the server URL is enough.
Use https://www.closient.com/mcp/http for new integrations. The
/mcp/sse endpoint is kept for backwards compatibility with older
MCP clients that haven’t adopted the Streamable HTTP transport yet.
These clients ship MCP support out of the box. Pick the matching tab
and follow the snippet — no extra packages, no local server, no JSON
hand-editing.
Claude Code
Claude Desktop
Claude.ai
Cursor
VS Code
Run once from a terminal:
claude mcp add closient --transport http https://www.closient.com/mcp/http
That’s it. claude mcp list should now show closient and the tools
become available to any Claude Code session in this workspace.To remove later: claude mcp remove closient.
Open Claude Desktop > Settings > Connectors (formerly
“Custom Connectors”).
Click Add custom connector.
Paste the server URL:
https://www.closient.com/mcp/http
Save. Claude Desktop will discover the tools and prompt for OAuth
the first time you call generate_qr_url (see
Authentication).
VS Code 1.95+ ships built-in MCP support. The Closient server is
added to your user settings.json under
"mcp.servers" and available to GitHub Copilot Chat and any
MCP-aware extension.To add manually, open Settings > MCP > Edit settings.json and add:
Any MCP-compatible client (Cline, Zed, Trae, Continue, custom
agents built on the MCP Python or TypeScript SDKs, etc.) can connect
with the generic Streamable HTTP entry below. Paste it into whatever
configuration format the client uses for MCP servers.
The first eight tools above work immediately — no token, no setup.generate_qr_url requires an OAuth 2.1 bearer token with the
qr:generate scope. When you (or your agent) call it without a
token, Closient returns 403 Forbidden with a WWW-Authenticate
header that tells the MCP client where to start the OAuth flow. Most
first-class MCP hosts (Claude Desktop, Cursor, VS Code) handle the
prompt-and-retry transparently — see
Authentication for the full flow.
After installing, ask your AI tool something like:
Use the Closient MCP server to validate GTIN 00614141123452.
The agent should call validate_gtin and report the GTIN is valid
(it’s a real GS1 test code). If you get a “no MCP server named
closient” error, restart the client — most hosts only pick up new
server configs on launch.A direct sanity check from a terminal:
curl -sS https://www.closient.com/mcp/health
A 200 OK response means the hosted server is reachable from your
network.
Corporate proxy or firewall blocking closient.com. Try curl https://www.closient.com/mcp/health from the same host.
tools/list returns empty
Client is configured for transport: stdio instead of http. Closient is a remote server only.
generate_qr_url always returns 403
Token missing the qr:generate scope. Re-run the OAuth flow and accept the consent screen — older tokens issued without the scope must be refreshed.
OAuth pop-up never appears
Client doesn’t honour the WWW-Authenticate header (some self-built MCP clients). Mint a token manually via OAuth Authentication and pass it in Authorization: Bearer <token>.
401 instead of 403
Token is expired. Access tokens last 24 h, refresh tokens 90 d.