Skip to main content

agentpromocode-mcp

Agents shouldn't pay full price. Python MCP server for the incentive layer for agentic commerce — resolve before checkout, feedback after.

Runs without an API key in the anonymous demo tier. Create a free key at https://agentpromocode.com/start for higher limits and consumer-level feedback health.

Install

pip install agentpromocode-mcp

Or run with uvx:

uvx agentpromocode-mcp

Claude Desktop

{
  "mcpServers": {
    "agentpromocode": {
      "command": "uvx",
      "args": ["agentpromocode-mcp"]
    }
  }
}

Tools

  • resolve(domain, basket?, agent_id?)POST /v1/resolve
  • feedback(attribution_token, code?, outcome, basket_value?, geo?)POST /v1/feedback

outcome must be one of worked, expired, ineligible, or error.

Env

  • AGENTPROMOCODE_API_KEY is optional; omit it for anonymous demo tier.
  • AGENTPROMOCODE_API_BASE defaults to https://api.agentpromocode.com.

Data Contract

/v1/feedback is mandatory for serious keyed integrations. Sustained low feedback-to-resolve ratio can suspend an API key.

ACDP

  • Spec: https://agentpromocode.com/acdp
  • OpenAPI: https://api.agentpromocode.com/openapi.json

License

MIT.

Release files for agentpromocode-mcp 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentpromocode-mcp 0.4.0
File Size Uploaded
agentpromocode_mcp-0.4.0.tar.gz 53.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentpromocode-mcp 0.4.0
File Interpreter ABI Platform
agentpromocode_mcp-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 59.7 kB

Release files / agentpromocode_mcp-0.4.0.tar.gz

Download URL agentpromocode_mcp-0.4.0.tar.gz
Size 53.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bf79a3a402cb35cc423d9c44cf38cb71ede0d41e3cbb4f1ddb6f6b827043aadf
BLAKE2b-256 checksum
How to use checksums
4817345892bf992f460d46eae88d2f1483b8432ecad5acae85ada49085dca4c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / agentpromocode_mcp-0.4.0-py3-none-any.whl

Download URL agentpromocode_mcp-0.4.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
809e7d1f1cd1929d2d899c2e6de362808705a52cc9dadbeddce97fa61705a2a3
BLAKE2b-256 checksum
How to use checksums
674479e4651ae3600ae0d795ed99ce0f2dba7be1262f852b595b9cd89be9d11a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page