ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิวได้แล้ว
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · วิธีติดตั้งภาษาไทยทุกตัว

AttriKit

โดย KamyarTaherรุ่น 2.0.1i★ 0iรันบนเครื่อง
ชื่อใน registryio.attrikit/mcp

วิธีติดตั้ง

ใช้ทำอะไรได้

ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ

  • ต่อแบบ ติดตั้งในเครื่อง
  • บัญชีหรือคีย์ ต้องมี ATTRKIT_API_KEY
  • หมวด การตลาดและโซเชียล
คำอธิบายต้นฉบับจากผู้ทำ (อังกฤษ)
Run AttriKit web-to-app attribution from an agent: apps, campaign links, spend, decisions, exports

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ

ขั้นแรก: คุณใช้ AI ตัวไหน

เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง

ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ AttriKit

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ AttriKit ↗

  3. เปิดไฟล์ตั้งค่าของแอป Claude บนคอม

    SettingsDeveloperEdit Config

  4. วางค่าตั้งนี้แล้วบันทึกไฟล์

    {
      "mcpServers": {
        "attrikit": {
          "command": "npx",
          "args": [
            "-y",
            "@attrkit/mcp"
          ],
          "env": {
            "ATTRKIT_API_KEY": "ใส่ค่าของคุณ",
            "ATTRKIT_API_URL": "ใส่ค่าของคุณ"
          }
        }
      }
    }

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. ปิดแอป Claude แล้วเปิดใหม่

  6. ลองเลย

    ใช้ AttriKit บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude บอกว่ากำลังใช้ AttriKit หรือมีชื่อเครื่องมือของ AttriKit ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ChatGPT ยังต่อ AttriKit ไม่ได้

AttriKit ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ

คุณทำแบบนี้แทนได้

ก · ใช้แอปที่ต่อ AttriKit ได้

  • ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
  • ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)
  • ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

ข · ตัวอื่นในหมวด การตลาดและโซเชียล ที่ต่อกับ ChatGPT ได้

เลือกจากตัวที่ใช้มากในหมวดเดียวกัน เฉพาะตัวที่ต่อด้วยที่อยู่ได้โดยไม่ต้องใส่คีย์

ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ AttriKit

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ AttriKit ↗

  3. เปิด Terminal

    Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell

  4. วางคำสั่งนี้แล้วกด Enter

    claude mcp add --scope user attrikit --env ATTRKIT_API_KEY='ใส่ค่าของคุณ' --env ATTRKIT_API_URL='ใส่ค่าของคุณ' -- npx -y @attrkit/mcp

    แก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. พิมพ์ /mcp ใน Claude Code

    ต้องเห็น AttriKit ในรายการและขึ้นว่าเชื่อมต่อแล้ว

  6. ลองเลย

    ใช้ AttriKit บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Claude Code บอกว่ากำลังใช้ AttriKit หรือมีชื่อเครื่องมือของ AttriKit ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ AttriKit

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ AttriKit ↗

  3. กดปุ่มนี้เพื่อเปิด Cursor

    เปิดใน Cursor

    Cursor จะถามยืนยันการติดตั้ง ให้กด Install

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ AttriKit ช่อง ATTRKIT_API_KEY, ATTRKIT_API_URL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน Cursor โหมด Agent

  6. ลองเลย

    ใช้ AttriKit บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า Cursor บอกว่ากำลังใช้ AttriKit หรือมีชื่อเครื่องมือของ AttriKit ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน

ต้องมีคีย์ของ AttriKit (สร้างที่เว็บของผู้ทำ) · ต้องลง Node.js ในเครื่องก่อน (ทำครั้งเดียว)

  1. ลง Node.js ในเครื่อง

    ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Node.js

    เปิดหน้าดาวน์โหลด Node.js ↗

  2. สมัครและสร้างคีย์ของ AttriKit

    เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ

    เปิดเว็บของ AttriKit ↗

  3. กดปุ่มนี้เพื่อเปิด VS Code

    เปิดใน VS Code

    VS Code จะถามยืนยันการติดตั้ง ให้กด Install

  4. ใส่คีย์ในช่องที่ว่างไว้

    ในค่าตั้งของ AttriKit ช่อง ATTRKIT_API_KEY, ATTRKIT_API_URL ยังว่าง ใส่คีย์ของคุณแล้วบันทึก

    วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร

  5. เปิดแชตของ AI ใน VS Code โหมด Agent

  6. ลองเลย

    ใช้ AttriKit บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง

    ✓ ถ้า VS Code บอกว่ากำลังใช้ AttriKit หรือมีชื่อเครื่องมือของ AttriKit ขึ้นในคำตอบ แปลว่าต่อสำเร็จ

ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป

โปรแกรมอื่นที่ใช้ MCP ได้ เช่น Windsurf, Zed หรือ Gemini CLI มีวิธีเพิ่มต่างกัน ดูวิธีของแต่ละตัวในหน้ารวมโปรแกรม

ดูโปรแกรมที่ใช้ MCP ทั้งหมด →

ค่าตั้งแบบไฟล์ JSON อยู่ในหัวข้อ “สำหรับคนเขียนโค้ด” ด้านล่าง

ติดตรงไหน? ถามคนที่ใช้ AttriKit อยู่💬 พูดคุย →
สำหรับคนเขียนโค้ด: คำสั่ง Terminal และค่าตั้ง JSON

ติดตั้งในเครื่อง

Claude Code

claude mcp add --scope user attrikit --env ATTRKIT_API_KEY='ใส่ค่าของคุณ' --env ATTRKIT_API_URL='ใส่ค่าของคุณ' -- npx -y @attrkit/mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "attrikit": {
      "command": "npx",
      "args": [
        "-y",
        "@attrkit/mcp"
      ],
      "env": {
        "ATTRKIT_API_KEY": "ใส่ค่าของคุณ",
        "ATTRKIT_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "attrikit": {
      "command": "npx",
      "args": [
        "-y",
        "@attrkit/mcp"
      ],
      "env": {
        "ATTRKIT_API_KEY": "ใส่ค่าของคุณ",
        "ATTRKIT_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "attrikit": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@attrkit/mcp"
      ],
      "env": {
        "ATTRKIT_API_KEY": "ใส่ค่าของคุณ",
        "ATTRKIT_API_URL": "ใส่ค่าของคุณ"
      }
    }
  }
}

ค่าที่ต้องใส่เอง

  • ATTRKIT_API_KEY ความลับ จำเป็น env
    AttriKit management key (sk_...), created in Dashboard > Settings > API keys & MCP. On macOS, `npx -y @attrkit/mcp login` can store it in the Keychain instead.
  • ATTRKIT_API_URL env
    AttriKit API base URL.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

สรุป

ดาวน์โหลดต่อสัปดาห์i
593/สัปดาห์
โดเมนที่ยืนยัน
✓ attrikit.io
การเชื่อมต่อ
รันบนเครื่อง
รุ่นล่าสุดi
2.0.1
ส่งเข้า registryi
2 พ.ย. 2569
แก้โค้ดล่าสุดi
11 พ.ย. 2569
ผู้ทำ
KamyarTaher
แพ็กเกจ
npm: @attrkit/mcp
เว็บผู้ทำ
attrikit.io
สถานะใน registry
ใช้งานอยู่

ใช้กับโปรแกรมไหนได้

ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569

ติดตั้งบนเครื่องได้ใน

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

ดูโปรแกรมทั้งหมดพร้อมข้อดีข้อเสีย →

คู่มือที่เกี่ยวข้อง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 12 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันโดเมน attrikit.io แล้ว (registry ตรวจความเป็นเจ้าของโดเมน)

  • ✓ ผ่าน

    ยังมีคนดูแล

    มีการแก้โค้ดล่าสุด เมื่อวาน

  • ✓ ผ่าน

    มีสัญญาอนุญาต (license)

    ใช้ MIT

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

พูดคุย

ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์

ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย

ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx

เข้าสู่ระบบด้วย Google เพื่อโพสต์

รีวิวจากผู้ใช้

ยังไม่มีรีวิว

เข้าสู่ระบบด้วย Google เพื่อเขียนรีวิว

เทียบกับตัวอื่นในหมวด การตลาดและโซเชียลi

  • ดาวมากกว่า 0% ของอีก 3819 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 75% ของอีก 3819 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 3819 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

AttriKit ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: ATTRKIT_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด เมื่อวาน และส่งรุ่นล่าสุด (2.0.1) เข้า registry 10 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี PostHog MCP Server, Openshorts, Google Ads + Meta Ads + SEO/GEO MCP

ตัวอื่นในหมวดเดียวกัน

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

PostHog MCP Server

Official PostHog MCP Server for product analytics, feature flags, experiments, and more.

โดย PostHogใช้กันมาก★ 40.7K ดาวรวมทั้งรีโปอัปเดต 10 เดือนที่ผ่านมา

รันบนคลาวด์

Openshorts

Turn long videos into viral vertical shorts and publish them to TikTok, Instagram and YouTube.

โดย mutonbyใช้กันมาก★ 7.8Kอัปเดต 3 เดือนที่ผ่านมา

รันบนคลาวด์

Google Ads + Meta Ads + SEO/GEO MCP

Google Ads, Meta Ads, Google Analytics (GA4) & Search Console MCP server by Ryze AI

โดย irinabuht12-ossใช้กันมาก★ 7.4Kอัปเดต 31 วันที่ผ่านมา

รันบนคลาวด์

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

@attrkit/mcp

A stdio MCP server for AttriKit, web-to-app attribution for iOS and Android apps that buy ads. Use it from Claude Code, Claude Desktop, Codex, Cursor, Gemini CLI, VS Code or Windsurf to create campaign links, import spend, read each campaign's scale, cut or hold call, and export installs and events. It is a thin client over AttriKit's public API. It holds no database access; your tenant scope is resolved from your secret management key.

Source: KamyarTaher/attrikit-mcp. Report an issue there or at contact@clashware.com. MIT licensed.

What it exposes

The server provides 39 tools.

AreaTools
Key scopewhoami
Workspace usageget_usage_cap, set_usage_cap
Appslist_apps, create_app, get_app, update_app, archive_app
SDK keysget_publishable_key, rotate_publishable_key
Management keyslist_api_keys, create_api_key, revoke_api_key
Campaign linkslist_links, create_campaign_link, update_link_status
Decisions and reportinglist_campaigns, list_ads, list_recent_events, list_event_deliveries, get_campaign_decision, record_campaign_decision, get_attribution_rollup, lookup_customer_attribution
Spend and costsget_spend, import_spend, set_cost_model, pull_network_spend
Ad integrationslist_integrations, create_integration, update_integration, delete_integration
RevenueCatget_revenuecat, configure_revenuecat
Outbound webhookslist_webhooks, create_webhook, delete_webhook
Data exportexport_events
Server eventssend_server_event

get_campaign_decision returns the engine's call verbatim. The model reports it; it does not recompute it.

A Meta or TikTok integration has two delivery options. delivery_scope is all (the default: every install with measurement consent, organic ones included) or attributed (only installs AttriKit attributes to that network: a click ID, a link token, or a Matched install at or above the delivery floor). renewal_event is purchase (the default: a renewal is sent as Purchase) or custom (it is sent as the custom event subscription_renewed, with its value). Set them on create_integration, or later with update_integration and the action set_delivery_options, which leaves the credential and status as they are. A Google integration refuses attributed and custom.

Before you connect

Install Node.js 22 or newer. The npx -y @attrkit/mcp command downloads and starts the server automatically, so no global install is required.

Node.js 22 is required from 2.0.0. engines.node is >=22; 1.x accepted Node.js 18.

If a client still starts the server with an older Node, upgrade Node, or pin

@attrkit/mcp@1. The tools, their inputs and their outputs did not change.

Create the first workspace management key under Dashboard → Settings → API keys & MCP. This one-time bootstrap requires the dashboard.

After that first key exists, a workspace-scoped read/write key can manage every customer operation available through the Management API. This includes apps, delegated keys, usage caps, integrations, and exports.

Use a read-only or app-scoped key when the client needs less access. App-scoped keys cannot read or change the workspace usage cap, create sibling apps, or manage workspace-wide integrations.

Give the server the key

On macOS, store the key once in the Keychain:

npx -y @attrkit/mcp login

It asks for the key with echo off, checks it against AttriKit (and prints the plan and scopes), then stores it in the Keychain item attrkit-mcp. The key never appears in a process listing. npx -y @attrkit/mcp logout removes the item.

On any system you can instead set ATTRKIT_API_KEY in the environment of the process that starts your MCP client, or in the client's own secret store.

At start the server resolves the key in this order:

  1. ATTRKIT_API_KEY, when it holds a real value.
  2. On macOS, the Keychain item attrkit-mcp. An empty ATTRKIT_API_KEY, or one a client left unexpanded ($ATTRKIT_API_KEY, ${ATTRKIT_API_KEY}, ${ATTRKIT_API_KEY:-}, ${env:ATTRKIT_API_KEY}, ${input:attrkit-key}), counts as unset.
  3. Otherwise it exits with an error that names the fix.

Codex

Add this server to ~/.codex/config.toml:

[mcp_servers.attrkit]

command = "npx" args = ["-y", "@attrkit/mcp"] env = { ATTRKIT_API_URL = "https://attrikit.io" } env_vars = ["ATTRKIT_API_KEY"]

codex mcp get attrkit

See the Codex setup guide.

Cursor

Add the server to .cursor/mcp.json for one project or ~/.cursor/mcp.json for every project:

{

"mcpServers": { "attrkit": { "command": "npx", "args": ["-y", "@attrkit/mcp"], "env": { "ATTRKIT_API_KEY": "${env:ATTRKIT_API_KEY}", "ATTRKIT_API_URL": "https://attrikit.io" } } } }

Then enable it and inspect the available tools:

cursor-agent mcp list

cursor-agent mcp list-tools attrkit

See the Cursor setup guide.

Gemini CLI

Add this server to ~/.gemini/settings.json:

{

"mcpServers": { "attrkit": { "command": "npx", "args": ["-y", "@attrkit/mcp"], "env": { "ATTRKIT_API_KEY": "$ATTRKIT_API_KEY", "ATTRKIT_API_URL": "https://attrikit.io" } } } }

gemini mcp list

See the Gemini setup guide.

Other MCP clients

Configure a stdio server with command npx, arguments ["-y", "@attrkit/mcp"], and the ATTRKIT_API_KEY environment variable. Environment-variable interpolation differs between clients, so follow the client's secret-handling documentation. ATTRKIT_API_URL is optional and defaults to https://attrikit.io.

Field naming

Tool input schemas are snake_case (bundle_id, store_url, campaign_id) and double as REST documentation: the Management API accepts the same snake_case field names in query strings and JSON request bodies (camelCase also works), and responses are always snake_case. Field-level detail is returned under error.fields when a validation failure can be attributed to specific fields. Malformed JSON has no field to name. Self-identifying rejections such as invalid_cursor, invalid_url, and ssrf_blocked return the code alone.

Test it locally

ATTRKIT_API_KEY=sk_... npx @modelcontextprotocol/inspector npx -y @attrkit/mcp

The Inspector lists the tools and lets you invoke them against your live workspace.

Access boundaries

ControlManagement API and MCP
Customer operations after the first keyAvailable with a workspace-scoped read/write key
First workspace management keyDashboard bootstrap only
Billing and subscriptionNot available
Sign-in and organization membershipNot available
Workspace deletionNot available
Internal administrationNot available

See the Management API guide and OpenAPI contract for the complete HTTP surface.

Notes

  • stdio only. The package does not open a network port.
  • Key scopes gate reads vs writes. A read-only key gets 403 forbidden_scope on every mutation.
  • App-scoped keys cannot create other apps, reach sibling apps, or manage workspace-wide integrations.
  • App creation, management-key creation, and webhook creation return secret values once. Capture them from the tool result; list tools only return masked metadata.
  • Non-removal mutation tools accept an optional idempotency_key. Reuse the same value only for an exact retry. One-time secret responses are encrypted at rest and safely replayed. Removal tools do not accept this parameter because their DELETE operations cannot apply the removal more than once.
  • Management keys are protected by distributed per-key global, mutation, and expensive-operation limits. A 429 response includes Retry-After; wait at least that many seconds before retrying.
  • All diagnostics go to stderr. stdout is reserved for the MCP transport.
  • MCP clients store environment values in local configuration. Never commit a configuration containing a key. Restrict access to the file and revoke any key that is exposed.

Migration to 1.0.0

Version 1.0.0 formalizes tool input schemas, refines runtime configuration validation, and introduces three breaking restrictions from version 0.4.6:

  1. Paired ad identifiers in `import_spend`: adset_id and ad_id (and their camelCase aliases adsetId and adId) must now be provided together or both omitted. At version 0.4.6 the schema accepted either field independently, but the underlying API rejected unpaired calls; version 1.0.0 moves this validation client-side.
  2. Strict UUID format for `campaign_id` in `record_campaign_decision`: campaign_id must now be a valid RFC 4122 UUID. Version 0.4.6 accepted arbitrary non-empty strings.
  3. Strict API base URL validation in `readConfig` (`ATTRKIT_API_URL`): readConfig enforces four startup-fatal refusals (violations print to stderr and exit with code 1):
  • Protocol refusal: Non-loopback HTTP endpoints are rejected (protocol must be HTTPS, except HTTP is allowed for localhost development). HTTP is permitted only for loopback interfaces (localhost, 127.0.0.1, [::1]); remote hosts must use https:.
  • Credentials refusal: Embedded URL basic-auth credentials are rejected (credentials are not allowed in ATTRKIT_API_URL). Pass API authentication via ATTRKIT_API_KEY.
  • Query string refusal: Query parameters in the base URL are rejected (query strings are not allowed in ATTRKIT_API_URL).
  • Fragment refusal: Fragment identifiers in the base URL are rejected (fragments are not allowed in ATTRKIT_API_URL). (In addition, malformed strings that fail URL parsing throw Invalid URL and exit 1).

Additionally, dot-segment ids escaped the app route under 0.4.6-style encoding; 1.0.0 keeps them inside the route across all seven app tools (get_app, update_app, archive_app, get_publishable_key, rotate_publishable_key, get_revenuecat, and configure_revenuecat).

See CHANGELOG.md for full release details.

License

MIT. See LICENSE.