Python MCP server for agentpromocode.com resolve + feedback tools
Project description
agentpromocode-mcp
Python stdio MCP server for agent checkout: resolve plausible public promo offers, then report whether the offer worked.
Install
pip install agentpromocode-mcp
Or run with uvx:
AGENTPROMOCODE_API_KEY=apc_... uvx agentpromocode-mcp
Claude Desktop
{
"mcpServers": {
"agentpromocode": {
"command": "uvx",
"args": ["agentpromocode-mcp"],
"env": {
"AGENTPROMOCODE_API_KEY": "apc_...",
"AGENTPROMOCODE_API_BASE": "https://api.agentpromocode.com"
}
}
}
}
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 required.AGENTPROMOCODE_API_BASEdefaults tohttps://api.agentpromocode.com.
Data Contract
/v1/feedback is mandatory. Sustained low feedback-to-resolve ratio can suspend the API key.
ACDP
- Spec:
https://github.com/agentpromocode/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.2.0.tar.gz.
File metadata
- Download URL: agentpromocode_mcp-0.2.0.tar.gz
- Upload date:
- Size: 2.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 |
20e31d02960896f6cc40fd56039adc918e5493e6d8ef884c31554f38220ce5cb
|
|
| MD5 |
760dcdaa98e3f5099029e4889a44ec6a
|
|
| BLAKE2b-256 |
9317ae39de6ae37109618bbfcbcd1060bc0d260f24440edd1f2df3a8026b2a43
|
File details
Details for the file agentpromocode_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: agentpromocode_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.0 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 |
f4cd5fdce948cba702bdaa96bb47506606b865ac272dd862069df8494c08bd87
|
|
| MD5 |
eb4a98e4e8ea1ab1b72197d8636cdf34
|
|
| BLAKE2b-256 |
e777c7813dfc463bed4548eb3beae421815697d24bdb29341e45f6279031f11d
|