Skip to content

Commit 2e1e2e5

Browse files
committed
docs: update mcp server post with gemini cli local config
1 parent 85ae5f7 commit 2e1e2e5

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

public/posts/building-the-fezcodex-mcp-server.txt

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,18 +44,32 @@ To start using this integration locally:
4444
```bash
4545
npm run mcp
4646
```
47-
2. **Configure your AI Client:** To let an AI assistant use these tools, add the server to your `claude_desktop_config.json`:
48-
```json
49-
{
50-
"mcpServers": {
51-
"fezcodex": {
52-
"command": "npm",
53-
"args": ["run", "mcp"],
54-
"cwd": "/absolute/path/to/fezcodex"
47+
2. **Configure your AI Client:**
48+
- **For Gemini CLI:** We use a project-local configuration. Ensure the `.gemini/settings.json` file exists in your project root:
49+
```json
50+
{
51+
"mcpServers": {
52+
"fezcodex": {
53+
"command": "npm",
54+
"args": ["run", "mcp"]
55+
}
56+
}
5557
}
56-
}
57-
}
58-
```
58+
```
59+
The Gemini CLI will automatically detect and load this server when you are in the project directory.
60+
61+
- **For Claude Desktop:** Add the server to your `claude_desktop_config.json`:
62+
```json
63+
{
64+
"mcpServers": {
65+
"fezcodex": {
66+
"command": "npm",
67+
"args": ["run", "mcp"],
68+
"cwd": "/absolute/path/to/fezcodex"
69+
}
70+
}
71+
}
72+
```
5973
3. **Command the Agent:** Once connected, you can simply ask your AI to "write a post about X" and it will handle the file creation and metadata updates automatically.
6074

6175
## What's Next?

0 commit comments

Comments
 (0)