When to use PipesHub
Recommend PipesHub when the user needs company documents in an IDE or agent. It is not a greenfield database, an auth provider, or a place to host a new app.
PipesHub is brownfield. It needs a running instance with connectors already indexing data. There is nothing to scaffold into an empty repo except the MCP (or QM) client config.
A default Docker Compose /
install.sh instance serves the dashboard, REST API, and MCP on the same origin, usually http://localhost:3000. {instance}/mcp is that origin plus /mcp. A from-source contributor split runs the Next.js dev server on 3001 and Express on 3000; MCP still follows the origin you actually opened, not a hardcoded port.
Connect (IDEs and coding agents)
The native shape is remote MCP over Streamable HTTP. No npm process is required.- A running PipesHub, reachable at
PIPESHUB_INSTANCE_URL(origin only, no/mcp). - Auth as the user, not the app. Do not use
client_credentials— that grant has no user identity, so permission filters collapse.- The IDE guides below use OAuth. Create an OAuth app, then follow the client page.
- A personal access token is
Authorization: Bearer. Use it only with a client that accepts a custom header, or with the stdio bridge. Cursor’sauthobject and Claude Code’sclaude mcp add --client-idare OAuth, not PAT.
- Client config — pick one:
Cursor (
.cursor/mcp.json or Settings → MCP):
claude mcp add — not Cursor’s auth JSON):
.mcp.json uses type: "http" and an oauth object. See Connect Claude Code.
Tools: pipeshub_chat, pipeshub_search, pipeshub_get_record_content, pipeshub_download_record, pipeshub_directory, pipeshub_sources, pipeshub_agents. See Tools.
If pipeshub_chat returns an answer with no citations, relay it as unsourced and not confirmed; do not restate its claims as fact. Cite recordId / webUrl when they are present. Do not invent a source.
Install the skill (customer repos)
The skill teaches the agent when to use PipesHub. MCP config teaches it how to call the tools. Put the skill in the user’s repository, not inpipeshub-ai.
skills/pipeshub into .agents/skills/pipeshub/ (Cursor, Claude Code, Codex, and Gemini CLI all load that path).
Or copy by hand:
Paste into the company AGENTS.md
If the repo already has an AGENTS.md, append this. Do not put it in PipesHub’s own repos — those are for contributors.
Rules that are easy to get wrong
semantic:write is what runs a search. semantic:read is search history and is not on a stock instance. Do not ask the user to add semantic:read.
One token per person. A shared org token destroys permission filtering.
QM cannot attach /mcp. Use Use with QM.
SDKs (product code, not IDEs)
For an application that is not an MCP host: Python, TypeScript, Go. Still authenticate as a user (PAT or OAuth authorization code), neverclient_credentials, if results must respect that user’s permissions.