Cupom Center
v0.1.0Conecta agentes de IA à API REST do Cupom Center com fluxos seguros de cupons.
Values you need
| Variable | What it is | |
|---|---|---|
CUPOM_API_KEY | required secret | API key do projeto e ambiente no Cupom Center. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add cupom-center -e 'CUPOM_API_KEY=<CUPOM_API_KEY>' -- npx -y --package=@cupom_center/mcp@0.1.0 cupom-mcpAdd to
claude_desktop_config.json{
"mcpServers": {
"cupom-center": {
"args": [
"-y",
"--package=@cupom_center/mcp@0.1.0",
"cupom-mcp"
],
"command": "npx",
"env": {
"CUPOM_API_KEY": "<CUPOM_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"cupom-center": {
"args": [
"-y",
"--package=@cupom_center/mcp@0.1.0",
"cupom-mcp"
],
"command": "npx",
"env": {
"CUPOM_API_KEY": "<CUPOM_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "CUPOM_API_KEY",
"id": "cupom-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"cupom-center": {
"args": [
"-y",
"--package=@cupom_center/mcp@0.1.0",
"cupom-mcp"
],
"command": "npx",
"env": {
"CUPOM_API_KEY": "${input:cupom-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.cupom-center]
command = "npx"
args = ["-y", "--package=@cupom_center/mcp@0.1.0", "cupom-mcp"]
env = { "CUPOM_API_KEY" = "<CUPOM_API_KEY>" }For AI agents
- Ask the user for: CUPOM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: recommend_integration_flow, find_eligible_coupons, quote_single_coupon, quote_multiple_coupons, select_coupons_for_units, create_coupon_issuance, get_coupon_issuance, revoke_coupon_issuance, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json