Concierge Agent Protocol

السجل الرسمي الذكاء الاصطناعي والوكلاء

Ask a company through its Concierge Agent Protocol front door.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

NPM package @conciergeprotocol/mcp
Claude Code
claude mcp add concierge-agent-protocol -e 'CAP_FROM=<CAP_FROM>' -- npx -y @conciergeprotocol/mcp@0.1.6
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "concierge-agent-protocol": {
            "command": "npx",
            "args": [
                "-y",
                "@conciergeprotocol/mcp@0.1.6"
            ],
            "env": {
                "CAP_FROM": "<CAP_FROM>"
            }
        }
    }
}

متغيرات البيئة

  • CAP_FROM Caller identity, like agent:my-assistant. Defaults to agent:cap-mcp.

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Concierge Agent Protocol for JavaScript
  2. Install
  3. Client
  4. MCP
  5. Release
  6. License

Concierge Agent Protocol for JavaScript

Two packages for calling a CAP front door. @conciergeprotocol/client is the library. @conciergeprotocol/mcp is that library behind three tools, so Claude, Cursor, and other MCP hosts can ask a company.

The protocol is at conciergeprotocol.org. These packages only call a front door. A company publishes agent.txt. It does not publish an MCP server.

Install

npm install @conciergeprotocol/client

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

npm install @conciergeprotocol/mcp

Client

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:

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.

{
  "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.

Release

Add a changeset, then merge to main:

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

الأسئلة الشائعة

ما هو Concierge Agent Protocol؟

Ask a company through its Concierge Agent Protocol front door.

كيف أثبّت Concierge Agent Protocol؟

يعمل على جهازك. في Claude Code: claude mcp add concierge-agent-protocol -e 'CAP_FROM=<CAP_FROM>' -- npx -y @conciergeprotocol/mcp@0.1.6. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Concierge Agent Protocol إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل Concierge Agent Protocol مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص Apache-2.0.

من يصون Concierge Agent Protocol؟

ينشره conciergeprotocol. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.