Skip to content

Commit 479a344

Browse files
author
Michael Brunner
committed
Enhance MCP documentation with detailed setup instructions for Gemini CLI and add a demo section
1 parent bc1127f commit 479a344

File tree

1 file changed

+21
-12
lines changed

1 file changed

+21
-12
lines changed

docs/mcp.md

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ To use the Cadwork Python API documentation as an MCP server, you need to config
3737
Here are the most common ai code assistants and how to configure them:
3838

3939
??? note "Claude Desktop"
40-
Add the following to your Claude Desktop configuration file via the UI:
40+
41+
Add the following to your Claude Desktop configuration file via the UI:
4142

4243
`Settings` > `Connectors` > `Add custom connectors`
4344

4445
[Claude MCP Documentation](https://modelcontextprotocol.io/docs/develop/connect-remote-servers){target=_blank}
4546

4647
??? note "Claude Code (CLI)"
47-
Claude Code supports MCP servers natively. Add the server using:
48+
49+
Claude Code supports MCP servers natively. Add the server using:
4850

4951
```bash
5052
claude mcp add --transport http cadwork-pyapi https://pyapi.mcp.cadwork.dev/mcp
@@ -53,8 +55,9 @@ Claude Code supports MCP servers natively. Add the server using:
5355
[Claude Code MCP Guide](https://docs.anthropic.com/en/docs/claude-code/mcp){target=_blank}
5456

5557
??? note "ChatGPT"
56-
ChatGPT does support MCP servers connector (they are called App) but only on *developer mode*. You need to activate it
57-
first and then:
58+
59+
ChatGPT does support MCP servers connector (they are called App) but only on *developer mode*. You need to activate it
60+
first and then:
5861

5962
`Settings` > `Apps` > `Create app` (Developer mode: on) > `Create app`
6063

@@ -65,7 +68,8 @@ first and then:
6568
[OpenAI Plugins Documentation](https://help.openai.com/en/articles/11487775-apps-in-chatgpt#building-your-own-app){target=_blank}
6669

6770
??? note "VS Code (GitHub Copilot)"
68-
Add the following to your VS Code settings file (`.vscode/mcp.json` in your workspace or user settings):
71+
72+
Add the following to your VS Code settings file (`.vscode/mcp.json` in your workspace or user settings):
6973

7074
```json
7175
{
@@ -81,14 +85,15 @@ Add the following to your VS Code settings file (`.vscode/mcp.json` in your work
8185
[VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers){target=_blank}
8286

8387
??? note "Gemini CLI"
84-
Gemini CLI supports MCP servers natively through its command-line interface.
88+
89+
Gemini CLI supports MCP servers natively through its command-line interface.
8590

8691
**Prerequisites**: Install the Gemini CLI first:
87-
92+
8893
```bash
8994
npm install -g @google/gemini-cli@latest
9095
```
91-
96+
9297
**Add the server**:
9398

9499
```bash
@@ -103,12 +108,16 @@ Gemini CLI supports MCP servers natively through its command-line interface.
103108

104109
Once added, the Cadwork Python API documentation will be automatically available when you interact with Gemini CLI.
105110

106-
<figure markdown="1">
107-
![Gemini MCP Demo](img/mcp/gemini-mcp.gif){width=600}
108-
</figure>
109-
110111
[Gemini MCP Guide](https://geminicli.com/docs/tools/mcp-server){target=_blank}
111112

113+
## Demo
114+
115+
See how easy it is to use the Cadwork Python API with an MCP-enabled AI assistant:
116+
117+
<figure markdown="1">
118+
![MCP Demo with Gemini CLI](img/mcp/gemini-mcp.gif){width=600}
119+
</figure>
120+
112121
## Usage
113122

114123
Once configured, prompt your request to your AI coding assistant and it will automatically query the Cadwork Python API

0 commit comments

Comments
 (0)