MCP Server
MCP
affset
Run affset from chat: stats, campaigns, zones, payouts, targeting, and team.
Install
npx -y @affset/[email protected]
Configuration Example
{
"remotes": [
{
"type": "streamable-http",
"url": "https://mcp.affset.com/mcp"
}
],
"packages": [
{
"registryType": "npm",
"identifier": "@affset/mcp",
"version": "0.2.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Origin of your affset ad server API (no path, query, or embedded credentials).",
"isRequired": true,
"format": "string",
"placeholder": "https://api.affset.com",
"name": "AFFSET_BASE_URL"
},
{
"description": "Tenant API key (Bearer token). Its namespace must match AFFSET_NAMESPACE.",
"isRequired": true,
"format": "string",
"isSecret": true,
"name": "AFFSET_API_KEY"
},
{
"description": "Tenant namespace this key belongs to (lowercase letters, numbers, hyphens; 3–63 chars).",
"isRequired": true,
"format": "string",
"placeholder": "your-namespace",
"name": "AFFSET_NAMESPACE"
},
{
"description": "Optional per-request HTTP timeout in milliseconds (1000–300000).",
"format": "number",
"default": "30000",
"name": "AFFSET_REQUEST_TIMEOUT_MS"
},
{
"description": "Optional. Set to true to register only read-only tools (no create/update/delete/cut).",
"format": "boolean",
"default": "false",
"name": "AFFSET_READ_ONLY"
}
]
}
]
}
mcp
model-context-protocol
streamable-http
npm
By
Comments
Sign in to leave a comment