🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@attribloom/mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@attribloom/mcp

Attribloom MCP server · operate your tenant via the read-only management API

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

@attribloom/mcp

npm license

Model Context Protocol server for Attribloom. It lets Claude Code, Claude Desktop, Cursor, and any other MCP client read your tenant's affiliate data and get integration guidance, using a tenant API key.

Attribloom is affiliate attribution and commission tracking for iOS apps (StoreKit 2 and App Store Server Notifications v2) and Shopify stores. Two of the seven tools need no key at all, so an agent can learn how to integrate before you have an account.

Install

Claude Code

claude mcp add attribloom --env ATTRIBLOOM_API_KEY=eak_live_... -- npx -y @attribloom/mcp

Claude Desktop / any client using mcpServers JSON

{
  "mcpServers": {
    "attribloom": {
      "command": "npx",
      "args": ["-y", "@attribloom/mcp"],
      "env": {
        "ATTRIBLOOM_API_KEY": "eak_live_..."
      }
    }
  }
}

Cursor

Settings, then MCP, then Add new server:

  • Name: attribloom
  • Type: command
  • Command: env ATTRIBLOOM_API_KEY=eak_live_... npx -y @attribloom/mcp

HTTP transport (self-hosted)

ATTRIBLOOM_API_KEY=eak_live_... npx -y @attribloom/mcp --http

Serves Streamable HTTP at http://127.0.0.1:3000/mcp. Set PORT and HOST to override.

Get a key from the Attribloom dashboard: Settings, then API keys. Keys are shown once and are scoped read-only.

Tools

ToolScope requiredDescription
get_started_guidancenonePublic onboarding steps
connect_store_guidancenoneHow to connect Shopify or an iOS app
whoamiany keyVerify the key and show tenant plus scopes
list_campaignsread:campaignsList campaigns and commission rules
campaign_readoutread:conversions + read:commissionsConversions and matured commission summary
list_payoutsread:payoutsList payouts
payout_eligibilityread:payoutsPer-affiliate available balance vs threshold

Money mutations (approving an affiliate, creating a campaign, approving a payout) stay in the Attribloom dashboard and are intentionally not exposed here. This server is read-only by design.

Every figure returned comes from the real ledger. There are no estimated or projected numbers.

Environment variables

VariableRequiredDefaultDescription
ATTRIBLOOM_API_KEYfor data toolsnoneTenant API key from Dashboard, Settings, API keys
ATTRIBLOOM_BASE_URLnohttps://api.attribloom.comManagement API base URL
PORTno3000HTTP transport port
HOSTno127.0.0.1HTTP transport host

Without a key the server still starts and the two guidance tools work. The data tools return a clear "API key required" message rather than failing silently.

Scope table

ScopeTools
read:campaignslist_campaigns
read:conversionscampaign_readout
read:commissionscampaign_readout
read:payoutslist_payouts, payout_eligibility

Example session

User: connect my Attribloom account
whoami: Tenant: Acme Corp (tenant-123), scopes: read:campaigns, read:conversions, read:commissions, read:payouts

User: what campaigns do I have?
list_campaigns: Summer Launch, Web Purchase funnel

User: how is it performing?
campaign_readout: 42 conversions, $1,240 USD matured commission

User: who can be paid out?
payout_eligibility: 3 affiliates above threshold

CLI

attribloom-mcp             # stdio transport (default; what MCP clients spawn)
attribloom-mcp --http      # Streamable HTTP transport
attribloom-mcp --version
attribloom-mcp --help

Development

npm install
npm run build
npm test

License

MIT

Keywords

mcp

FAQs

Package last updated on 21 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts