Skip to content

Commit 2304df1

Browse files
f-trycuaclaude
andauthored
docs(cua-driver): add integrations page and GitHub Copilot CLI MCP config (#1407)
- New integrations.mdx covering Claude Code, GitHub Copilot CLI, Codex, Cursor, Gemini CLI, OpenCode, Hermes, OpenClaw, and generic clients - install.sh: add GitHub Copilot CLI mcp-config.json snippet to post-install instructions - meta.json: add integrations to getting-started nav Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2ca5c0e commit 2304df1

3 files changed

Lines changed: 142 additions & 1 deletion

File tree

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
---
2+
title: Integrations
3+
description: Connect cua-driver to your AI coding agent
4+
---
5+
6+
import { Callout } from 'fumadocs-ui/components/callout';
7+
8+
`cua-driver mcp` is a stdio MCP server. Any agent that supports MCP can use it — no extra setup beyond adding it to the agent's MCP config.
9+
10+
<Callout type="warn">
11+
Grant Accessibility and Screen Recording permissions to cua-driver before connecting any agent.
12+
Run `cua-driver check_permissions` to verify.
13+
</Callout>
14+
15+
## Claude Code
16+
17+
```bash
18+
claude mcp add --transport stdio cua-driver -- cua-driver mcp
19+
```
20+
21+
Verify:
22+
23+
```bash
24+
claude mcp list
25+
# cua-driver: cua-driver mcp (stdio) - ✓ Connected
26+
```
27+
28+
## GitHub Copilot CLI
29+
30+
Add to `~/.copilot/mcp-config.json`:
31+
32+
```json
33+
{
34+
"mcpServers": {
35+
"cua-driver": {
36+
"type": "local",
37+
"command": "cua-driver",
38+
"args": ["mcp"],
39+
"tools": ["*"]
40+
}
41+
}
42+
}
43+
```
44+
45+
Or interactively inside `gh copilot` chat:
46+
47+
```
48+
/mcp add
49+
```
50+
51+
Fill in: name=`cua-driver`, type=STDIO, command=`cua-driver`, args=`mcp`. Press **Ctrl+S** to save.
52+
53+
## Codex (OpenAI)
54+
55+
```bash
56+
codex mcp add cua-driver -- cua-driver mcp
57+
```
58+
59+
## Cursor
60+
61+
Generate the config snippet and paste it into `~/.cursor/mcp.json`:
62+
63+
```bash
64+
cua-driver mcp-config --client cursor
65+
```
66+
67+
## Gemini CLI
68+
69+
Add to `~/.gemini/settings.json`:
70+
71+
```json
72+
{
73+
"mcp": {
74+
"servers": {
75+
"cua-driver": {
76+
"type": "stdio",
77+
"command": "cua-driver",
78+
"args": ["mcp"]
79+
}
80+
}
81+
}
82+
}
83+
```
84+
85+
Tools appear prefixed as `mcp_cua-driver_*`.
86+
87+
## OpenCode
88+
89+
```bash
90+
cua-driver mcp-config --client opencode
91+
```
92+
93+
Paste the output into your `opencode.json`.
94+
95+
## Hermes (NousResearch)
96+
97+
```bash
98+
cua-driver mcp-config --client hermes
99+
```
100+
101+
Paste the output into `~/.hermes/config.yaml`.
102+
103+
## OpenClaw
104+
105+
```bash
106+
cua-driver mcp-config --client openclaw
107+
```
108+
109+
## Other clients
110+
111+
For any client that accepts the standard `mcpServers` shape:
112+
113+
```bash
114+
cua-driver mcp-config
115+
```
116+
117+
Output:
118+
119+
```json
120+
{
121+
"mcpServers": {
122+
"cua-driver": {
123+
"command": "cua-driver",
124+
"args": ["mcp"]
125+
}
126+
}
127+
}
128+
```

docs/content/docs/cua-driver/guide/getting-started/meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
"description": "Get up and running with Cua Driver",
44
"icon": "Rocket",
55
"defaultOpen": true,
6-
"pages": ["introduction", "installation", "quickstart", "swift-integration", "comparison", "faq"]
6+
"pages": ["introduction", "installation", "quickstart", "integrations", "swift-integration", "comparison", "faq"]
77
}

libs/cua-driver/scripts/install.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,19 @@ Next steps:
306306
• OpenClaw:
307307
cua-driver mcp-config --client openclaw
308308
309+
• GitHub Copilot CLI (paste into ~/.copilot/mcp-config.json):
310+
{
311+
"mcpServers": {
312+
"cua-driver": {
313+
"type": "local",
314+
"command": "$BIN_LINK",
315+
"args": ["mcp"],
316+
"tools": ["*"]
317+
}
318+
}
319+
}
320+
Or inside gh copilot chat: /mcp add → type=STDIO, command=$BIN_LINK, args=mcp
321+
309322
• Cursor / OpenCode / Hermes (no add CLI — paste config):
310323
cua-driver mcp-config --client cursor # JSON for ~/.cursor/mcp.json
311324
cua-driver mcp-config --client opencode # JSON for opencode.json

0 commit comments

Comments
 (0)