
Company News
Free Business Plan Upgrades for Open Source Maintainers
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.
@agentpromocode/mcp
Advanced tools
Stdio MCP server for agent checkout: resolve plausible public promo offers, then report whether the offer worked.
{
"mcpServers": {
"agentpromocode": {
"command": "npx",
"args": ["-y", "@agentpromocode/mcp"],
"env": {
"AGENTPROMOCODE_API_KEY": "apc_...",
"AGENTPROMOCODE_API_BASE": "https://api.agentpromocode.com"
}
}
}
}
Add this server to your Cursor MCP configuration:
{
"mcpServers": {
"agentpromocode": {
"command": "npx",
"args": ["-y", "@agentpromocode/mcp"],
"env": {
"AGENTPROMOCODE_API_KEY": "apc_...",
"AGENTPROMOCODE_API_BASE": "https://api.agentpromocode.com"
}
}
}
}
resolveCalls POST /v1/resolve.
Input:
{
"domain": "nike.com",
"basket": { "value": 99, "currency": "USD" },
"agent_id": "optional-agent-id"
}
Returns ranked offer candidates, confidence labels, and an attribution_token.
feedbackCalls POST /v1/feedback.
Input:
{
"attribution_token": "atk_...",
"code": "WELCOME10",
"outcome": "worked",
"basket_value": 99,
"geo": "US"
}
outcome must be one of worked, expired, ineligible, or error.
AGENTPROMOCODE_API_KEY (required)AGENTPROMOCODE_API_BASE (optional, default https://api.agentpromocode.com)/v1/feedback is mandatory. Sustained low feedback-to-resolve ratio can suspend the API key because feedback is what turns unverified public offers into a reliable agent-commerce dataset.
This package is an MCP wrapper around the Agent Commerce Discount Protocol (ACDP) reference implementation.
https://github.com/agentpromocode/acdphttps://api.agentpromocode.com/openapi.jsonhttps://agentpromocode.com/llms.txtpnpm install
pnpm build
AGENTPROMOCODE_API_KEY=apc_... node dist/index.js
pnpm build
npm publish --access public
MIT.
FAQs
MCP server for agentpromocode.com — resolve + feedback tools
The npm package @agentpromocode/mcp receives a total of 22 weekly downloads. As such, @agentpromocode/mcp popularity was classified as not popular.
We found that @agentpromocode/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.