Primateintelligence

ai.primateintelligence由 primateintelligence.ai 發布官方發布者v0.4.0更新於 Oct 25, 2026

Video scene understanding for AI agents via the Primate Vision API.

已驗證Streamable HTTP可網頁執行資料與分析媒體與設計AI 與機器學習

概覽

AI 產生的概覽

Primate Vision 的 MCP 伺服器,讓助理登記影片並用自然語言提問畫面內容,回傳附信心分數與片段時間戳的是/否/不確定答案。

可以做什麼
透過公開 https 連結登記影片,並列出可用模型或用於自檢的測試樣本。以免費試跑驗證問題是否可評估,並預覽費用估算。建立單筆或批次分析(同一影片 2–10 個問題),並輪詢至終態。讀取結果:答案、信心分數、片段時間戳、偵測數量及不確定原因。查詢點數餘額、週期用量與逐次分析交易明細。
適用情境
適合需要針對影片內容取得確定性、有依據答案的情境,例如判斷畫面中是否出現某人或某物,而非自由描述。也適合希望先自檢整合、在消耗點數前預覽成本的代理。
執行需求
可使用帶 OAuth 登入的遠端 streamable HTTP 端點(免安裝、免處理金鑰),或透過 npx 以 stdio 執行本機 npm 套件。本機模式需要環境變數 PRIMATE_API_KEY,可選 PRIMATE_BASE_URL 覆寫預設端點。需要能連線至 Primate Vision API 的網路。
安裝前請注意
分析會消耗付費點數,批次中第一個之後的問題以五折計費,點數不足的錯誤會指向帳務。本機模式需在 PRIMATE_API_KEY 提供有效 API 金鑰;README 稱該金鑰僅從環境讀取,從不接受為工具參數。登記影片會將其公開連結傳送給 Primate Vision API。沒有工具會刪除資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Primateintelligence,將其新增到工作區。
  2. 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/ai.primateintelligence%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。

{
  "mcpServers": {
    "primateintelligence": {
      "type": "http",
      "url": "https://api.primateintelligence.ai/mcp"
    }
  }
}

README

@primate-intelligence/mcp

[npm] [license]

MCP (Model Context Protocol) server for the Primate Vision video analysis API — a video understanding API by Primate Intelligence (docs · llms.txt).

Gives AI agents video scene understanding as tools: register a video, ask a question in plain English, get a deterministic answer with a confidence score and clip timestamps. No hallucinated descriptions — the answer is yes / no / indeterminate with evidence.

Try it for free

A free test key requires no email, no card, no signup:

bash
curl -X POST https://api.primateintelligence.ai/v1/sandbox

Your AI agent can do this for you — right from Claude. Point it at primateintelligence.ai/llms.txt and it can discover, provision, integrate, and self-verify with zero human steps.

Two ways to connect

1. Remote server (recommended) — OAuth, nothing to install

Streamable HTTP endpoint with full OAuth 2.1 + Dynamic Client Registration + PKCE:

https://api.primateintelligence.ai/mcp

In Claude.ai / Claude Desktop: Settings → Connectors → Add custom connector, paste the URL, sign in. No API key handling — the OAuth flow issues and rotates tokens for you.

2. Local stdio server

jsonc
// claude_desktop_config.json · .mcp.json · mcp.json · .cursor/mcp.json{  "mcpServers": {    "primate-intelligence": {      "command": "npx",      "args": ["-y", "@primate-intelligence/mcp"],      "env": { "PRIMATE_API_KEY": "pv_live_…" }    }  }}

Tools

ToolDoesRead-only
create_video_from_urlRegister a video from a public https URL (POST /v1/videos)—
create_analysisAsk a question about a video (POST /v1/analyses)—
validate_analysisDry-run a prompt: assessability + cost estimate, zero credits (validate_only: true)✓
create_analysis_batch2–10 prompts on one video; each after the first billed at 50% (POST /v1/analyses/batch)—
get_analysisFetch analysis status/result (GET /v1/analyses/{id})✓
wait_for_analysisPoll until terminal state; returns { analysis, retry }✓
list_modelsList available models (GET /v1/models)✓
get_usageCredit balance + period meters (GET /v1/usage)✓
get_creditsBalance + per-analysis transaction ledger (GET /v1/credits)✓
get_test_fixtureStable fixture for integration self-verification (GET /v1/test-fixture)✓

Every tool carries MCP annotations (title, readOnlyHint, destructiveHint, idempotentHint, openWorldHint), declares an outputSchema, and returns structuredContent conforming to it. No tool deletes data. Tool descriptions and schemas mirror the OpenAPI document at GET /v1/openapi.json — the spec is the source of truth.

Typical agent flow

  1. get_test_fixture → verify the integration works (test keys return deterministic results, no quota burn)
  2. create_video_from_url with the video URL
  3. validate_analysis → confirm the prompt is assessable + preview estimated_cost_usd (free)
  4. create_analysis with the question — "Is there a person in this video?" — or create_analysis_batch for several
  5. wait_for_analysis → result.answer (yes | no | indeterminate) + result.confidence + result.clips + result.detected_count (count queries) + result.indeterminate_reason
  6. On insufficient_credits: call get_credits, report the balance + recent debits, point the human at billing

Security contract

The API key is read from the PRIMATE_API_KEY environment variable only. No tool accepts a key, token, or secret as an argument — so credentials never land in agent transcripts, tool-call logs, or model context. This is enforced by a unit test that fails the build if any tool schema grows a credential-shaped parameter.

Errors surface the machine-readable error code, a docs_url, and the request_id so an agent can self-correct without a human in the loop.

Configuration

VarRequiredDefault
PRIMATE_API_KEYyes—
PRIMATE_BASE_URLnohttps://api.primateintelligence.ai

Development

bash
npm installnpm test        # vitest — tool surface, security contract, polling, error shapenpm run build   # tsc → dist/

Links

License

MIT © Primate AI, Inc.

來源:README.md,提交 0cfd58d

工具

0
該伺服器需要登入,因此 SourceWeft 無法在沒有帳號的情況下讀取其工具,也未收錄。已連接帳號所能看到的內容可能因帳號及其權限而異。

版本歷史

1
  1. v0.4.0最新Sep 16, 2026

評分

已滿足適用檢查項的 85%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分