cap
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@capask cosmicjs.com if they have a free plan"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
npm install @conciergeprotocol/clientThe MCP server is a command. Install it, or run it with npx as in the block below.
npm install @conciergeprotocol/mcpRelated MCP server: McpHub
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.
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.
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:
bun run changesetPackage 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
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
- QuallaaOAuthcom.quallaa
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Discover, plan and run tools across your connected business systems through one OAuth MCP endpoint
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides browser automation, audio transcription, and LLM chat as MCP tools for any agent.7MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI tools to uniformly discover, inspect, and call tools, prompts, and resources from multiple upstream MCP servers through a small set of fixed MCP tools, over stdio or HTTP.2MIT
- AlicenseNot gradedqualityAmaintenanceExposes specialized agents as MCP tools so users can manage and triage Jira tasks, analyze repositories for health and conventions, generate commit/PR/DevOps patterns, assemble reports, produce slides and infographics, and run semantic search over a knowledge base. Everything is invokable directly from inside a coding session in Claude Code, Cursor, or Claude Desktop.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP hosts such as Claude Desktop, Cursor, and Windsurf to call autonomous specialist agents and tools for coding, browser automation, research, media synthesis, and YouTube analysis.1MIT