Python MCP server for agentpromocode.com resolve + feedback tools
Project description
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/resolvefeedback(attribution_token, code?, outcome, basket_value?, geo?)→POST /v1/feedback
outcome must be one of worked, expired, ineligible, or error.
Env
AGENTPROMOCODE_API_KEYis optional; omit it for anonymous demo tier.AGENTPROMOCODE_API_BASEdefaults tohttps://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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentpromocode_mcp-0.4.0.tar.gz.
File metadata
- Download URL: agentpromocode_mcp-0.4.0.tar.gz
- Upload date:
- Size: 53.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf79a3a402cb35cc423d9c44cf38cb71ede0d41e3cbb4f1ddb6f6b827043aadf
|
|
| MD5 |
453415bfbe3e7e03e8bf0fe3c11bf23e
|
|
| BLAKE2b-256 |
4817345892bf992f460d46eae88d2f1483b8432ecad5acae85ada49085dca4c1
|
File details
Details for the file agentpromocode_mcp-0.4.0-py3-none-any.whl.
File metadata
- Download URL: agentpromocode_mcp-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
809e7d1f1cd1929d2d899c2e6de362808705a52cc9dadbeddce97fa61705a2a3
|
|
| MD5 |
77725ee0c505959a2c29575d696a237c
|
|
| BLAKE2b-256 |
674479e4651ae3600ae0d795ed99ce0f2dba7be1262f852b595b9cd89be9d11a
|