Skip to content

Commit 735fd64

Browse files
committed
docs: add Claude example
1 parent 94aacb7 commit 735fd64

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

README.md

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ pip install mcp-gateway
2121
2222
> `--enable-guardrails` - you can use this to activate multiple guardrail plugins
2323
24-
Cursor example:
24+
<details>
25+
<summary>Cursor example:</summary>
26+
2527
```json
2628
{
2729
"mcpServers": {
@@ -47,6 +49,43 @@ Cursor example:
4749
}
4850
}
4951
```
52+
</details>
53+
54+
<details>
55+
<summary>Claude example:</summary>
56+
57+
Get `<PYTHON_PATH>`
58+
```bash
59+
which python
60+
```
61+
```json
62+
{
63+
"mcpServers": {
64+
"mcp-gateway": {
65+
"command": "<python path>",
66+
"args": [
67+
"-m",
68+
"mcp_gateway.server",
69+
"--mcp-json-path",
70+
"<path to claude_desktop_config>",
71+
"--enable-guardrails",
72+
"basic"
73+
],
74+
"servers": {
75+
"filesystem": {
76+
"command": "npx",
77+
"args": [
78+
"-y",
79+
"@modelcontextprotocol/server-filesystem",
80+
"."
81+
]
82+
}
83+
}
84+
}
85+
}
86+
}
87+
```
88+
</details>
5089

5190
This example gives you the basic and presidio guardrails for token and PII masking for filesystem MCP.
5291
You can add more MCPs that will be under the Gateway by putting the MCP server configuration under the "servers" key.

0 commit comments

Comments
 (0)