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: docs/examples.md
+9-61Lines changed: 9 additions & 61 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,67 +128,15 @@ Response:
128
128
129
129
You can now use the MCP server from your LLM interface or directly from application code. Here's an example with `mbro`:
130
130
131
-
***Note: The `magg_list_tools` command lists all tools available in the MCP servers - the output from `mbro`'s tools command may not be updated yet.***
132
-
133
131
```text
134
-
mbro:magg> call magg_list_tools
135
-
```
136
-
Result:
137
-
```json
138
-
{
139
-
"errors": null,
140
-
"output": {
141
-
"tool_groups": [
142
-
{
143
-
"prefix": "magg",
144
-
"tools": [
145
-
"magg_add_server",
146
-
"magg_analyze_servers",
147
-
"magg_disable_server",
148
-
"magg_enable_server",
149
-
"magg_list_servers",
150
-
"magg_list_tools",
151
-
"magg_remove_server",
152
-
"magg_search_servers",
153
-
"magg_smart_configure"
154
-
],
155
-
"count": 9
156
-
},
157
-
{
158
-
"prefix": "playwright",
159
-
"tools": [
160
-
"playwright_browser_click",
161
-
"playwright_browser_close",
162
-
"playwright_browser_console_messages",
163
-
"playwright_browser_drag",
164
-
"playwright_browser_file_upload",
165
-
"playwright_browser_generate_playwright_test",
166
-
"playwright_browser_handle_dialog",
167
-
"playwright_browser_hover",
168
-
"playwright_browser_install",
169
-
"playwright_browser_navigate",
170
-
"playwright_browser_navigate_back",
171
-
"playwright_browser_navigate_forward",
172
-
"playwright_browser_network_requests",
173
-
"playwright_browser_pdf_save",
174
-
"playwright_browser_press_key",
175
-
"playwright_browser_resize",
176
-
"playwright_browser_select_option",
177
-
"playwright_browser_snapshot",
178
-
"playwright_browser_tab_close",
179
-
"playwright_browser_tab_list",
180
-
"playwright_browser_tab_new",
181
-
"playwright_browser_tab_select",
182
-
"playwright_browser_take_screenshot",
183
-
"playwright_browser_type",
184
-
"playwright_browser_wait_for"
185
-
],
186
-
"count": 25
187
-
}
188
-
],
189
-
"total_tools": 34
190
-
}
191
-
}
132
+
mbro:magg> tools
192
133
```
193
134
194
-
For LLM usage, instruct your LLM to use the `magg_list_tools` command to discover newly added tools and use the playwright server as needed.
135
+
This will show all available tools from all mounted servers, including the newly added Playwright server tools with the `playwright_` prefix.
0 commit comments