You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,24 @@ To bypass authentication, or to emit custom headers on all requests to your remo
135
135
]
136
136
```
137
137
138
+
* To ignore specific tools from the remote server, add the `--ignore-tool` flag. This will filter out tools matching the specified patterns from both `tools/list` responses and block `tools/call` requests. Supports wildcard patterns with `*`.
139
+
140
+
```json
141
+
"args": [
142
+
"mcp-remote",
143
+
"https://remote.mcp.server/sse",
144
+
"--ignore-tool",
145
+
"delete*",
146
+
"--ignore-tool",
147
+
"remove*"
148
+
]
149
+
```
150
+
151
+
You can specify multiple `--ignore-tool` flags to ignore different patterns. Examples:
152
+
-`delete*` - ignores all tools starting with "delete" (e.g., `deleteTask`, `deleteUser`)
153
+
-`*account` - ignores all tools ending with "account" (e.g., `getAccount`, `updateAccount`)
154
+
-`exactTool` - ignores only the tool named exactly "exactTool"
155
+
138
156
### Transport Strategies
139
157
140
158
MCP Remote supports different transport strategies when connecting to an MCP server. This allows you to control whether it uses Server-Sent Events (SSE) or HTTP transport, and in what order it tries them.
0 commit comments