Affise MCP server › Other clients
The Affise MCP server implements the open Model Context Protocol, so anything that speaks MCP can use it. This page covers the generic remote config, static bearer tokens for automation, and the local stdio install.
Before you start
Any MCP-capable client. For the hosted endpoint: An Affise account, plus two things the sign-in form asks for: your Affise API base URL (the https://api-yourcompany.affise.com form, not the dashboard address) and an API key from Settings ▸ API. The key sets which tools work — the admin tools need an admin or manager key, the payment tools a key with affiliate-billing access. For the local server, Node.js 18 or newer.
{
"mcpServers": {
"affise": {
"type": "http",
"url": "https://mcp.affise.com/mcp"
}
}
}Clients that support OAuth will prompt you to sign in on first use.{
"mcpServers": {
"affise": {
"type": "http",
"url": "https://mcp.affise.com/mcp",
"headers": {
"Authorization": "Bearer <your-token>"
}
}
}
}Static tokens are a self-hosted feature — set REMOTE_MCP_TOKEN on your own deployment. The hosted endpoint is OAuth-only.@affise/mcp-server and give your client the command rather than a URL. The local server guide has the full config block, including why the credentials must go in the client’s env block rather than your shell.401 and an OAuth discovery document at /.well-known/oauth-protected-resource.Ask your client for your offer categories. A healthy connection returns the list configured on your Affise account.
mcp-remote.Authorization header. Check the header name and the Bearer prefix.429 response carries a ratelimit-reset header with the seconds left in the current window.Once you are connected, these are good first questions. See more examples or the full tool reference.