feat: add mcp guides for various topic and stages for bot building (#380)

This commit is contained in:
Abhishek 2026-05-31 16:07:32 +05:30 committed by GitHub
parent 0962c4678f
commit 5c29b6ed94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 1727 additions and 8 deletions

View file

@ -1,11 +1,11 @@
---
title: "MCP Server"
description: "Connect Claude and other AI assistants to your Dograh workspace via the Model Context Protocol"
description: "Connect Codex, Claude, and other AI assistants to your Dograh workspace via the Model Context Protocol"
---
## Overview
Dograh exposes an [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server that lets AI assistants like Claude Code, Claude Desktop, and Cursor access your workspace and documentation. Once connected, an assistant can list your agents, fetch agent definitions, and search Dograh docs on your behalf.
Dograh exposes an [MCP (Model Context Protocol)](https://modelcontextprotocol.io/) server that lets AI assistants like Codex, Claude Code, Claude Desktop, and Cursor access your workspace and documentation. Once connected, an assistant can list your agents, fetch agent definitions, and search Dograh docs on your behalf.
## Prerequisites
@ -43,6 +43,40 @@ Verify the server is connected:
claude mcp list
```
## Codex
Open Codex's config file (`~/.codex/config.toml`) and add a `dograh` MCP server:
```toml
[mcp_servers.dograh]
url = "https://app.dograh.com/api/v1/mcp/"
http_headers = { "X-API-Key" = "YOUR_API_KEY" }
```
Replace `YOUR_API_KEY` with the key you generated. For self-hosted deployments, replace the URL with your backend MCP endpoint.
If you prefer to keep the API key out of `config.toml`, store it in an environment variable instead:
```toml
[mcp_servers.dograh]
url = "https://app.dograh.com/api/v1/mcp/"
env_http_headers = { "X-API-Key" = "DOGRAH_API_KEY" }
```
Then set the API key before starting Codex:
```bash
export DOGRAH_API_KEY="YOUR_API_KEY"
codex
```
Verify the server is registered:
```bash
codex mcp list
codex mcp get dograh
```
## Claude Desktop
Open Claude Desktop's config file (`claude_desktop_config.json`) and add the `dograh` entry under `mcpServers`: