Skip to content

Commit 34c6122

Browse files
committed
added images
1 parent 40671b5 commit 34c6122

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

docs/ai-agents/interact-with-ai-agents.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,15 @@ The widget provides a chat interface where you can ask questions and receive res
6363

6464
### MCP server backend mode in widgets
6565

66-
When using the widget interface, you can choose the backend mode for each interaction:
66+
When adding an AI agent widget to your dashboard, you can configure whether to use the MCP server backend mode. During widget configuration, you'll see a "Use MCP" toggle option:
6767

68-
- **Use agent's default**: Follow the agent's configured backend mode
69-
- **Force MCP server**: Override to use MCP server backend mode for enhanced capabilities
70-
- **Force standard**: Override to use standard backend mode for controlled access
68+
<img src='/img/ai-agents/AIAgentsMCPWidgetConfig.png' width='70%' border='1px' />
7169

72-
The widget interface provides visual indicators showing which tools and capabilities are being used when MCP server backend mode is active, giving you transparency into the enhanced processing.
70+
When MCP server backend mode is enabled, the widget interface provides enhanced capabilities and visual indicators showing which tools are being used:
71+
72+
<img src='/img/ai-agents/AIAgentsMCPWidgetUI.png' width='80%' border='1px' />
73+
74+
This gives you transparency into the enhanced processing and shows you exactly which MCP server tools the agent is leveraging to answer your questions.
7375

7476
</TabItem>
7577
<TabItem value="slack-integration" label="Slack Integration">
@@ -143,17 +145,17 @@ curl 'https://api.port.io/v1/agent/<AGENT_IDENTIFIER>/invoke?stream=true' \\
143145

144146
**Using MCP Server Backend Mode via API:**
145147

146-
You can override the agent's default backend mode by adding the `useMCP` parameter:
148+
You can override the agent's default backend mode by adding the `use_mcp` parameter:
147149

148150
```bash
149151
# Force MCP server backend mode
150-
curl 'https://api.port.io/v1/agent/<AGENT_IDENTIFIER>/invoke?stream=true&useMCP=true' \\
152+
curl 'https://api.port.io/v1/agent/<AGENT_IDENTIFIER>/invoke?stream=true&use_mcp=true' \\
151153
-H 'Authorization: Bearer <YOUR_API_TOKEN>' \\
152154
-H 'Content-Type: application/json' \\
153155
--data-raw '{"prompt":"What is my next task?"}'
154156

155157
# Force standard backend mode
156-
curl 'https://api.port.io/v1/agent/<AGENT_IDENTIFIER>/invoke?stream=true&useMCP=false' \\
158+
curl 'https://api.port.io/v1/agent/<AGENT_IDENTIFIER>/invoke?stream=true&use_mcp=false' \\
157159
-H 'Authorization: Bearer <YOUR_API_TOKEN>' \\
158160
-H 'Content-Type: application/json' \\
159161
--data-raw '{"prompt":"What is my next task?"}'
33.1 KB
Loading
73.1 KB
Loading

0 commit comments

Comments
 (0)