プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

xaffinity MCP

作者:yaniv-golanバージョン 1.22.0i★ –iパソコンで動く
レジストリ名io.github.yaniv-golan/xaffinity-mcp

インストール

概要

作者による説明(英語の原文)

MCP server for Affinity CRM - entity search, relationship intelligence, and workflow management

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: マーケティング・SNS
  • 入力が必要なもの:AFFINITY_API_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: AFFINITY_API_KEY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

作者の .mcpb ファイルをダウンロード

リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。

ターミナルでこれを実行します

動かす前に、空欄の値を入力してください。

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • AFFINITY_API_KEY 秘密 必須 env
    Your Affinity API key (Settings > API in Affinity)

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント yaniv-golan で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

マーケティング・SNSのほかのサーバーとの比較i

  • このカテゴリのほかの3566件のうち0%よりスターが多い
  • このカテゴリのほかの3566件のうち6%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの3566件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

xaffinity MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:AFFINITY_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(1.22.0)がレジストリに届いたのは7 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。

代わりに使えるものは?

同じカテゴリには:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Google Analytics MCP

作者:surendranb

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

パソコンで動く★ 244MIT10 日前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

xaffinity MCP Server

An MCP (Model Context Protocol) server for Affinity CRM, built with the MCP Bash Framework.

Features

  • Entity Management - Search and lookup persons, companies, and opportunities
  • Workflow Management - View and update pipeline status, manage list entries
  • Relationship Intelligence - Get relationship strength scores and find warm intro paths
  • Interaction Logging - Log calls, meetings, emails, and messages
  • Session Caching - Efficient caching to minimize API calls

Quick Start

# 1. Install the xaffinity CLI

pipx install "affinity-sdk[cli]"

2. (Optional) Configure your API key - Claude Desktop will prompt if skipped

xaffinity config setup-key

3. Install the MCP server (choose one)

- Claude Desktop: Download and double-click xaffinity-mcp-*.mcpb

- Other clients: See "Manual Installation" below

- Claude Code: /plugin marketplace add yaniv-golan/affinity-sdk

Prerequisites

For Claude Desktop / MCPB Installation (Recommended)

The .mcpb bundle is self-contained — it includes the MCP Bash Framework and gojq. You only need:

RequirementHow to InstallVerify
Python 3.10+python.org or your package managerpython --version
xaffinity CLIpipx install "affinity-sdk[cli]"xaffinity --version
Affinity API keyxaffinity config setup-key (or let Claude Desktop prompt)xaffinity config check-key

Keep the CLI and the extension in step. They are installed separately. When you upgrade one, upgrade the other: download the latest .mcpb after pipx upgrade affinity-sdk, and the other way round. Since MCP 1.25.2, with a CLI older than the extension needs, changes are refused ("This MCP server needs the xaffinity CLI … or later to make changes") and reads still run with a warning that results may be incomplete. An older extension with a newer CLI can fail without saying why (for example, merges with CLI 1.22.0 need extension 1.25.1 or later). Claude Desktop never updates an extension installed from a .mcpb file: install each new release yourself.

For Manual Installation

Manual installation requires additional dependencies:

RequirementHow to InstallVerify
Bash 3.2+Included on macOS/Linux; Windows: use WSL or Git Bashbash --version
Python 3.10+python.org or your package managerpython --version
jq or gojqSee Installing jq/gojq belowjq --version or gojq --version
xaffinity CLIpipx install "affinity-sdk[cli]"xaffinity --version
Affinity API keyxaffinity config setup-keyxaffinity config check-key
Installing jq/gojq

Either jq or gojq works — the server auto-detects which is available.

Which to choose:

  • jq (recommended) — The original, widely available, full regex support
  • gojq — Pure Go implementation, also supports YAML, better error messages

Install jq:

PlatformCommand
macOSbrew install jq
Debian/Ubuntusudo apt-get install jq
Fedorasudo dnf install jq
Arch Linuxsudo pacman -S jq
Windowswinget install jqlang.jq or choco install jq

Install gojq (alternative):

PlatformCommand
macOSbrew install gojq
Any (Go required)go install github.com/itchyny/gojq/cmd/gojq@latest
Binary downloadGitHub Releases

Installation

Option 1: Claude Desktop (One-Click)

The .mcpb bundle is fully self-contained — it includes the MCP framework and JSON processor.

  1. Install the xaffinity CLI: pipx install "affinity-sdk[cli]"
  2. *(Optional)* Configure your API key: xaffinity config setup-key
  • If skipped, Claude Desktop will prompt for your API key during MCPB installation
  1. Download xaffinity-mcp-*.mcpb from the latest release
  2. Double-click the file or drag it into Claude Desktop

Note: MCPB bundles currently only work with Claude Desktop. Other clients require manual installation.

Option 2: Claude Code
/plugin marketplace add yaniv-golan/affinity-sdk

/plugin install affinity-crm-mcp-unofficial@xaffinity

Option 3: Manual Installation

For other MCP clients or development. Requires additional prerequisites.

  1. Download xaffinity-mcp-plugin.zip from the latest release
  2. Extract and configure your MCP client (see Usage below)
  3. The MCP Bash Framework runtime is vendored in .mcp-bash/ — no separate install needed to run the server.
  4. Optional — validate your configuration. validate and doctor are developer tools that need the full mcp-bash install (the vendored copy is runtime-only); the command prints the install line for the pinned version if it is missing:
   ./xaffinity-mcp.sh validate

Troubleshooting

Verify Installation

Before debugging, verify each layer works in order:

Step 1: CLI Installation

First, verify the CLI is installed and can reach the Affinity API. See CLI: Verify Installation.

# Check CLI is installed

xaffinity --version

Check API connectivity (set your API key - same one entered in Claude Desktop)

AFFINITY_API_KEY="your-key-here" xaffinity whoami --json

If whoami hangs, check network connectivity (firewall, proxy, VPN).

Step 2: MCP Server

Once the CLI works, test the MCP server end-to-end.

First, locate your MCP server directory:

# MCPB installation (macOS)

cd ~/Library/Application\ Support/Claude/Claude\ Extensions/local.mcpb.yaniv-golan.xaffinity-mcp/server

Or find it automatically

cd "$(find ~ -name 'xaffinity-mcp.sh' -type f 2>/dev/null | head -1 | xargs dirname)"

Other platforms/installations

InstallationPath
MCPB (Windows)%APPDATA%\Claude\Claude Extensions\local.mcpb.yaniv-golan.xaffinity-mcp\server\
Manual installYour chosen extraction location
Development /mcp/

For MCPB installations: If Step 1 passes, your setup is complete. The MCP server shells out to CLI, so if CLI works with your API key, the MCP server will too. Restart Claude Desktop and test the tools there.

For manual installations: You can also test the MCP layer directly:

AFFINITY_API_KEY="your-key-here" \

mcp-bash run-tool execute-read-command \ --args '{"command":"whoami"}'

Expected: JSON response with your user information.

If Step 1 works but Step 2 fails, the issue is MCP-specific. Run diagnostics (these need the full mcp-bash install, not just the vendored runtime — see step 4 of manual installation):

./xaffinity-mcp.sh doctor

./xaffinity-mcp.sh validate

Common Issues
ErrorCauseSolution
"Could not detect xaffinity CLI"CLI not installedpip install "affinity-sdk[cli]"
"older than this MCP server needs" / "This MCP server needs the xaffinity CLI X or later"Outdated CLIpipx upgrade affinity-sdk or pip install --upgrade "affinity-sdk[cli]"
"API key not configured"Missing credentialsxaffinity config setup-key
"No JSON processor found"jq/gojq not installed (manual install only)See Installing jq/gojq
"Framework not found"Vendored .mcp-bash/ directory missingcd mcp && mcp-bash vendor
Every tool call fails with "server.d/policy.sh was not loaded"The server's folder, server.d or policy.sh is writable by group or other users (common after a clone or unzip with umask 002), a symlink, or owned by another user. The server then refuses to run without its policy (read-only mode and other limits).Run the chmod go-w ... command the error names (or chmod -R go-w ), then restart the server

For detailed debugging, see docs/DEBUGGING.md.

Usage

With Claude Code

The server is automatically available through the Claude plugin at .claude-plugin/mcp.json.

With Other MCP Clients

Add to your MCP client configuration:

{

"mcpServers": { "xaffinity": { "command": "/path/to/affinity-sdk/mcp/xaffinity-mcp.sh" } } }

Tools

CLI Gateway (Primary Interface)

The CLI Gateway provides full access to the xaffinity CLI with minimal token overhead:

ToolDescription
discover-commandsSearch CLI commands by keyword (e.g., "create person", "delete note")
execute-read-commandExecute read-only CLI commands (get, search, list)
execute-write-commandExecute write CLI commands (create, update, delete)
Query Tool
ToolDescription
queryExecute structured JSON queries with filters, joins, and aggregations

For complex data analysis (filtering, grouping, aggregations), use the query tool instead of individual CLI commands. See the Query Language Reference for full documentation.

Utility Tools
ToolDescription
get-entity-dossierGet comprehensive info for an entity (aggregates 5+ CLI calls)
read-xaffinity-resourceRead static MCP resources (data-model, etc.)
CLI Gateway Usage
  1. Discover the right command:
   {"query": "add person to list", "category": "write"}

Returns compact text format:

   # cmd|cat|params (s=str i=int b=bool f=flag !=req *=multi)

list entry add|w|LIST:s! --person-id:i --company-id:i

  1. Execute the command:
   {"command": "list entry add", "argv": ["Pipeline", "--person-id", "123"]}
Output Formats

Control the format of command results for optimal token efficiency:

{"command": "person ls", "format": "markdown"}
FormatToken EfficiencyBest For
jsonLowProgrammatic use (default)
markdownMedium-HighLLM comprehension - best for analysis tasks
toonHigh (~40% fewer)Large datasets, batch operations
csvMediumSpreadsheet export
jsonlMediumStreaming workflows

Recommendations:

  • Use markdown when you need to analyze or summarize data (LLMs read tables well)
  • Use toon for large exports to minimize tokens (30-60% smaller than JSON)
  • Use json when you need full structure with pagination/metadata
Destructive Commands

Commands that cannot be undone (delete, merge) need the user's confirmation:

  • In clients that support confirmation dialogs (MCP elicitation), the server asks you directly.
  • Claude Desktop extensions get no dialog. The tool refuses the first call and tells Claude to ask you in the conversation; Claude retries with confirm: true only after you agree:
{"command": "person delete", "argv": ["456"], "confirm": true}

The tool appends --yes for the CLI. Since MCP 1.27.0 confirm: true counts only after the server refused that exact command (or showed its dialog) in the last 15 minutes, once: if Claude sets it on its first call, the call is refused and Claude is told to ask you. The server can't see the conversation, so it can't tell whether you really agreed: **keep Claude Desktop's tool-approval prompt on for execute-write-command and don't choose "always allow

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く