The Dosu MCP Server provides coding agents with direct access to your team's knowledge via the Model Context Protocol. Instead of guessing from training data, an agent can search your Documents, ask across your Sources, and pull in answers that your team has already written. This page covers what the server exposes, which clients work with it, how to connect, and the workflow that gets the best results.
What it is#
MCP (Model Context Protocol) is an open standard that lets AI agents call external tools. The Dosu MCP Server is a hosted MCP endpoint that exposes your organization's knowledge as a set of tools an agent can use mid-task. It is managed from the MCP servers page in the Dosu app, where each server is scoped to the Sources you select.
The same server also carries built-in knowledge from hundreds of public open source libraries (projects like Airflow, vLLM, Prisma, and Zod). That gives an agent grounded context about your dependencies, not just your own code.
Why it matters#
Coding agents are only as good as the context they are given. Run them at scale, and the cost adds up. Agents re-read the same files, miss decisions buried in past issues and chat, and produce inconsistent work because each one starts cold. The Dosu MCP Server provides every agent with a shared source of truth, so answers stay consistent across people, repos, and tools, and knowledge lost to turnover remains accessible.
Tools the server exposes#
The server provides a focused set of tools, grouped by what they do:
- Retrieve your team's knowledge with the org-knowledge tools (
read_knowledge,write_knowledge,update_knowledge, and related knowledge operations). - Reach public open source knowledge with
find_public_libraryandask_public_library. - Check the connection with
whoami.
For what each tool takes, returns, and when to reach for it, see the full tool reference in Connecting MCP.
Supported clients#
The Dosu MCP Server works with any MCP-compatible client, including:
- Claude Code
- Cursor
- VS Code Copilot
Each server in the MCP servers page shows copy-paste connection instructions for these clients.
How to connect#
The fastest path is the Dosu CLI, which configures your client for you.
-
Open the MCP servers page. A default server is created with your organization and linked to your Sources. To scope a server to specific Sources, create a new one and select them.
-
Run the setup command in your terminal:
npx @dosu/cli setupIf you prefer Homebrew, install the CLI with
brew install dosu-ai/dosu/dosu, then rundosu setup. To target a specific server, append--deployment <your-deployment-id>. -
Follow the prompts to pick your client and authenticate. Restart the client if it does not pick up the new server right away.
During setup, if your organization has no GitHub repositories connected, you'll be prompted to connect one so the MCP Server can answer questions from your code. You can connect a repository at this point or skip and add Sources later.
Manual configuration#
If you would rather configure a client by hand, the server uses HTTP transport. Use the path-based endpoint shown on the MCP servers page:
https://api.dosu.dev/v1/mcp/deployments/<your-deployment-id>
For authentication, OAuth is recommended where the client supports it, since it handles credential rotation for you. Clients without OAuth can authenticate with an API key passed in the X-Dosu-API-Key header. Create one in Settings, Account, API keys.
Recommended workflow#
For grounded answers, call read_knowledge with your task or query. It loads curated context from your team's knowledge base and returns relevant passages scoped to the Sources connected to your MCP server.
Notes#
- A server only reaches the Sources selected for it, so scope servers to match what each agent should see.