Connectors
From docs/connectors.md in pulse-agent 0.11.0, sha-256 6d726209c89c
A connector is a Model Context Protocol (MCP) server. MCP is the open standard other agents use for their tools, so a server written for any of them works here without changes.
Add one
Put it in .pulse-agent/config.json, in the same shape other agents use:
{
"mcpServers": {
"files": {
"command": "npx",
"args": ["-y", "<an MCP server package>"],
"tools": ["read", "search"]
}
}
}A server reached over HTTP takes a url instead of a command:
{ "mcpServers": { "kb": { "url": "https://example.com/mcp", "headers": { "authorization": "Bearer <token>" }, "tools": ["lookup"] } } }tools is optional. With it, the model is offered only the tools you name.
Connectors in a project's config are started only after you run pulse-agent trust there. Each call also needs an approval rule, for example pulse-agent allow "mcp:files__*", or --yes.
Check that it starts and see what it offers:
pulse-agent connectorsEach tool reaches the model as mcp__<server>__<tool>.
Personal connectors
A connector you want in every project is added once, outside any project:
pulse-agent connectors add web --global --url https://your-worker.example/mcp --header "Authorization: Bearer ${WEB_MCP_TOKEN}"
pulse-agent allow "mcp:web__*"${NAME} in a header is filled from your environment when the connector starts, so the token is not written into a file a project shares. If the variable is not set, the connector is not started and the placeholder is never sent. Personal connectors are kept in a file only you can read and need no project to be trusted. pulse-agent connectors remove <name> --global takes one away.
A remote MCP server on Cloudflare Workers, or any other host, works this way. When the connectors together offer more than 12 tools, the model is given a search over them instead of every definition.
Tokens and rules without extra steps
Keep a token once with printf %s "$TOKEN" | pulse-agent secret set MY_TOKEN. It goes into a file outside every project that only you can read, and ${MY_TOKEN} in a connector header is filled from the environment first and from that file second. The value is read from standard input so it never lands in your shell history.
Add --allow "tool_a,tool_b" to connectors add to let those tools run without asking. pulse-agent allow --global "<rule>" applies any rule in every project. A global rule that would allow every command or every edit is refused.
The web
web_search and web_fetch are built in and need no paid search API. A page is fetched directly, and rendered by a browser already on your machine when it needs one. A search reads a search engine's results page. To read pages through a connector instead, such as a browser worker, set "web": { "via": "mcp__<server>__<tool>" } in your personal settings.
Only public addresses are reached: loopback, private ranges and .local names are refused, also at every redirect. Each site needs an approval rule: pulse-agent allow "web:search", "web:docs.python.org" or "web:*". What comes back is labelled as data from that site, not instructions, and a session that has read the web cannot propose a skill.
Who can use them
The builder can. The evaluator cannot: it reads files and runs your check, and nothing else.
What to know
A connector runs as its own process with your user's permissions and a minimal environment: your API keys and tokens are not passed to it unless the config names them under env or passEnv. It is not held inside the project folder the way the file tools are. Configure servers you trust and use the tools list.
A connector that fails to start is reported and skipped. The run goes on without it.