Documentation Index
Fetch the complete documentation index at: https://docs.dograh.com/llms.txt
Use this file to discover all available pages before exploring further.
This page is about using an external MCP server as a tool inside a voice agent. If you want Claude, Cursor, or another coding agent to control Dograh itself over MCP, see Dograh MCP Server.
What to configure
An MCP tool in Dograh has four important pieces:- Name: the server label shown in Dograh
- Description: tells the LLM when this MCP server is relevant
- URL: the remote MCP server endpoint (
http://orhttps://) - Credential: the auth Dograh should send when connecting to that server
Authentication
Most hosted MCP servers expect:- Credential Type:
Bearer Token - Token: the access token issued by your MCP server
If the remote MCP server documentation says to use Bearer auth, choose Bearer Token in the credential dialog. Dograh will translate that into the exact
Authorization: Bearer <token> header on the MCP connection.How it works
The runtime path is:- When you save or refresh the MCP tool, Dograh opens a short-lived authenticated MCP session and fetches the remote tool catalog.
- Dograh stores that catalog as the tool’s discovered tools so the UI can show you which remote functions exist.
- When a call starts, Dograh opens one live MCP session per attached MCP server and reuses your selected credential for that session.
- For each node, Dograh exposes only the MCP tools allowed by the server-level filter and the node-level selection.
- Dograh namespaces those remote tools into ordinary LLM function definitions so they can safely coexist with HTTP API tools, call transfer, end call, and other tools.
- During the conversation, the LLM sees only the tool name, description, and argument schema. It does not see the secret.
- When the LLM calls one of those tools, Dograh forwards the invocation to the MCP server over the active authenticated session, receives the result, and feeds that result back into the agent turn.
Creating an MCP tool
- Go to Tools and create a new tool.
- Choose MCP Server.
- Enter a clear name and a description that explains when the LLM should use this server.
- Paste the MCP server URL.
- Select the credential. In most cases this should be a Bearer Token credential.
- Save the tool and confirm that Dograh discovered the remote tools.
Attaching it to a node
After the MCP tool is created:- Open the workflow node where the tool should be available.
- Add the MCP tool from the node’s tool list.
- Select only the remote MCP functions that should be callable on that node.
- In the node prompt, tell the LLM exactly when to use those functions.
Best practices
- Use one MCP server per logical integration when possible.
- Keep the tool description explicit about when the LLM should use that server.
- Expose only the minimum remote functions needed for each node.
- Prefer a Bearer Token credential unless the MCP server specifies another auth scheme.
- Test discovery first, then test a real phone/web call to confirm the LLM invokes the right MCP function with the right arguments.
If the remote MCP server is temporarily unavailable, Dograh degrades gracefully and the call can continue without those MCP tools rather than crashing the entire conversation.