Connecting MCP Clients to PipesHub MCP Server
This guide covers how to connect PipesHub's remote MCP server to Cursor, Claude Code, Gemini CLI, Codex CLI, Claude.ai (Web), and LibreChat using static OAuth credentials or bearer tokens.
PipesHub exposes a remote MCP endpoint over Streamable HTTP at /mcp. MCP Clients connect to this endpoint directly -- no local npm packages or stdio processes needed.

▶ Watch the 2½-minute demo: Claude Code using this MCP server to answer from Jira, Slack, GitHub and Drive, with each person's own permissions.
Coding agent? Start at For coding agents. Install the skill into the user's repo with npx skills add pipeshub-ai/mcp-server (see skills/pipeshub) and append the AGENTS.md snippet on that page. Listed on the official MCP registry as io.github.pipeshub-ai/mcp and on Cursor Directory as PipesHub. The listing files (plugin.json, mcp.json) default MCP to http://localhost:3000/mcp (Docker). Change the URL for a company instance; they contain no secrets. Contributors working in this repository: read AGENTS.md.
Claude Code plugin: /plugin marketplace add pipeshub-ai/mcp-server, then /plugin install pipeshub@pipeshub, adds the MCP server, the skill, and the /pipeshub:ask and /pipeshub:setup commands. It connects to ${PIPESHUB_MCP_URL:-https://app.pipeshub.com/mcp} with Authorization: Bearer ${PIPESHUB_MCP_TOKEN}; export both in your shell (self-hosted: set the URL to https://<your-instance>/mcp), then restart Claude Code.
Cursor plugin: a Cursor team admin imports this repository as a team marketplace (Import from Repo; .cursor-plugin/marketplace.json, plugin in cursor-plugin/) to add PipesHub's remote MCP server, the docs search server, the skill, and the ask and setup commands. The server needs its URL, <pipeshub-instanceurl>/mcp: the team admin sets it in the dashboard; on an individual install Cursor does not ask, so open Customize → PipesHub → Configure, enter PipesHub MCP URL, and click Save. Then click Authenticate on the pipeshub server and sign in with OAuth; no token goes in the config. Self-hosted: see the plugin README.
Looking for the tool reference? See TOOLS.md for descriptions, arguments, and a decision guide for each tool the MCP server exposes (pipeshub_chat, pipeshub_search, pipeshub_get_record_content, pipeshub_download_record, pipeshub_directory, pipeshub_sources, pipeshub_agents). Searching and reading records is the recommended default; pipeshub_chat is optional (see Leaving pipeshub_chat out).
Using QM? QM cannot attach a third-party MCP endpoint — it is an MCP server to its own harness, not a client. Follow Use PipesHub with QM. The deployment-layer bundle in qm/ gives agents a pipeshub command inside their sandbox; this package ships that command as a second bin.
Prerequisites
- A running PipesHub instance: PipesHub Cloud or self-hosted. To self-host, the local Docker demo playbook covers install and first-run — do not scaffold LangChain. First-run (account + LLM) is still in the browser; search 500s until an LLM is configured.
- An OAuth app created in PipesHub (see Step 1)
Step 1: Create an OAuth App in PipesHub
- Log in to your PipesHub instance as an admin
- Navigate to Settings > Developer Settings > OAuth Apps
- Click Create OAuth App
- Fill in the app details:
-
Name: e.g., MCP Integration
-
Redirect URIs: Add all the redirect URIs for the clients you plan to use:
| Client | Redirect URI |
|---|
| Cursor | cursor://anysphere.cursor-mcp/oauth/callback |
| Claude Code | http://localhost:<PORT>/callback (e.g., http://localhost:8080/callback) |
| Claude.ai (Web) | https://claude.ai/api/mcp/auth_callback |
| Gemini CLI | http://localhost:7777/oauth/callback |
| LibreChat | http://localhost:3080/api/mcp/<server-identifier>/oauth/callback |