Concierge Agent Protocol

io.github.conciergeprotocol由 GitHub 帳號 conciergeprotocol 發布v0.1.6更新於 Oct 29, 2026

Ask a company through its Concierge Agent Protocol front door.

概覽

AI 產生的概覽

讓助理向發布 CAP 前門的公司提問、檢查網站是否有前門,並讀取仍在回答中的訊息。

可以做什麼
  • 檢查網站是否發布 CAP 前門,以及訪客能否登入
  • 透過前門向公司提問,並在同一段對話中追問
  • 讀取提問逾時後仍在回答中的訊息
適用情境
當使用者詢問某個有已知網站的特定公司、產品、商店或組織,而該網站可能設有 CAP 前門時適用;此時直接向公司提問比瀏覽網站更合適。
執行需求
以 stdio 方式在本機執行,從 npm 套件安裝或以 npx 啟動,需要 Node.js。環境變數 CAP_FROM 設定呼叫方身分,預設值為 agent:cap-mcp。需要能連線至目標公司網站的網路。
安裝前請注意
問題與追問會傳送給第三方公司,對方可看到 CAP_FROM 中的呼叫方身分。帳戶相關問題涉及登入流程,權杖會存入用戶端的權杖儲存區。提問工具最多等待 60 秒,可能回傳仍在處理中的訊息,應查詢而非猜測回覆。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Concierge Agent Protocol,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Concierge Agent Protocol for JavaScript

Packages for both sides of a CAP front door. @conciergeprotocol/client calls a door. @conciergeprotocol/mcp exposes that client as three tools, so Claude, Cursor, and other MCP hosts can ask a company. @conciergeprotocol/server runs a door from one answer function. @conciergeprotocol/agent builds that function from a model, an llms.txt file, and MCP tools.

The protocol is at conciergeprotocol.org. A company publishes agent.txt. It does not publish an MCP server for visitors. An MCP server, when there is one, stays behind the door.

Install

sh
npm install @conciergeprotocol/client

The MCP server is a command. Install it, or run it with npx as in the block below.

sh
npm install @conciergeprotocol/mcp

Client

js
import { createClient } from '@conciergeprotocol/client'
const cap = createClient({ from: 'agent:my-assistant' })
const answer = await cap.ask('example.com', 'Do you have a free plan?')console.log(answer.reply)

A follow-up sends only the new question:

js
const thread = cap.thread('example.com')await thread.ask('What do you sell?')const price = await thread.ask('How much is the cheapest paid plan?')

discover returns null when a site has no front door. ask throws NoDoorError for the same case, which is the signal to browse the site instead.

ask waits up to two minutes. If the company is still answering, the message comes back with status: 'working' and no reply. get reads it again.

Account questions use login. The client opens the company's page, and finishLogin stores the token for the next ask. The token stays in the token store you pass to createClient.

MCP

Cursor, Claude Desktop, and VS Code use the same block. In VS Code it goes in .vscode/mcp.json. In Cursor and Claude Desktop it goes in the MCP settings file.

json
{  "mcpServers": {    "cap": {      "command": "npx",      "args": ["-y", "@conciergeprotocol/mcp"],      "env": { "CAP_FROM": "agent:my-assistant" }    }  }}

CAP_FROM defaults to agent:cap-mcp. The tools are cap_discover, cap_ask, and cap_check. The server is listed in the MCP registry as io.github.conciergeprotocol/mcp. cap_ask waits 60 seconds. If the company is still answering, it returns the message id and the model calls cap_check instead of guessing.

Run a door

answer is the company's own function. The server keeps the thread, hides one caller's reply from another, and enforces the daily message cap.

js
import { createAnswer } from '@conciergeprotocol/agent'import { createCapServer } from '@conciergeprotocol/server'
const answer = await createAnswer({  model: 'anthropic/claude-sonnet-4.5',  instructions: 'You answer for Harbor Goods. Link to the page.',  sources: [{ type: 'llms', url: 'https://harborgoods.example/llms.txt' }],})
const cap = await createCapServer({  agent: { name: 'Harbor Goods', chat: 'https://harborgoods.example/chat' },  answer,})
await cap.listen(8088)

A company that already has a bot can skip the agent package and pass its own answer. npx cap-check http://127.0.0.1:8088 reads agent.txt, asks one question, and checks that a second caller cannot read the reply.

Release

Add a changeset, then merge to main:

sh
bun run changeset

Package Checks runs on every push. When it passes on main, the publish workflow opens a version pull request, or publishes both packages and tags the release. The two packages stay on one version. When the npm publish succeeds, the same workflow lists the server in the MCP registry. The repository needs an NPM_TOKEN secret.

License

Apache 2.0

來源:README.md,提交 a117299

工具

3

cap_discover

Check whether a website has a CAP front door, and whether visitors can log in.

輸入參數domain必填

cap_ask

Ask a company that publishes a CAP front door. Use this when the person asks about a specific company, product, store, or organization with a known website. Prefer it to browsing when the site has a front door. Send only the new question in a follow-up, with conversation_id. Never write an answer for the site while it is still answering. The reply is the site's own framing. For comparisons and reviews, check other sources too. Never put the person's password or another site's data in context.

輸入參數domain必填contextmessage必填conversation_id

cap_check

Read a CAP message that was still being answered. Do not guess a reply while the status is working.

輸入參數domain必填message_id必填

版本歷史

3
  1. v0.1.6最新Oct 23, 2026
  2. v0.1.5Oct 22, 2026
  3. v0.1.3Oct 19, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分