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
Please review the following PR and provide a detailed review of the changes according the ./CONTRIBUTING.md provide results in markdown format.
75
+
Please review the following PR and provide a detailed review of the changes according the ./CONTRIBUTING.md provide results in markdown format. Ignore all image files.
Copy file name to clipboardExpand all lines: docs/ai-agents/build-an-ai-agent.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,10 @@ Click on the "New AI Agent" button and fill the form with the agent details.
26
26
27
27
We recommend following the steps below.
28
28
29
+
:::info MCP Server Backend Mode
30
+
AI agents can be enhanced with MCP server backend mode for expanded capabilities including intelligent catalog access and Claude model processing. This is controlled when [interacting with the agents](/ai-agents/interact-with-ai-agents) through widgets and API calls, not in the agent configuration itself.
31
+
:::
32
+
29
33
### Step 1: Define your agent's purpose
30
34
31
35
The first step in building an AI agent is deciding on its purpose.
@@ -51,6 +55,10 @@ For example:
51
55
52
56
Pay attention to relationships between entities to ensure your agent can provide comprehensive answers.
53
57
58
+
:::tip Enhanced access with MCP server backend
59
+
When using [MCP server backend mode](/ai-agents/interact-with-ai-agents) during interactions, the agent can intelligently access your entire catalog regardless of configured blueprints, providing more comprehensive answers.
60
+
:::
61
+
54
62
### Step 3: Configure actions (optional)
55
63
56
64
If your agent needs to run actions, you will need to:
@@ -234,6 +242,10 @@ AI agents in Port can search, group, and index entities in your Port instance. H
234
242
-**Permission model**:
235
243
- Interaction with the AI agent is based on your user permissions.
236
244
- Sequential automations run as Admin.
245
+
246
+
:::info Enhanced capabilities with MCP server backend
247
+
When using [MCP server backend mode](/ai-agents/interact-with-ai-agents) during interactions, many of these limitations are reduced as the agent gains access to enhanced tools and broader data access capabilities.
Copy file name to clipboardExpand all lines: docs/ai-agents/interact-with-ai-agents.md
+66-2Lines changed: 66 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,17 @@ import TabItem from "@theme/TabItem"
15
15
16
16
Once you've built your AI agents, it's time to interact with them. Port provides several ways to communicate with your AI agents.
17
17
18
+
## Backend mode selection
19
+
20
+
When interacting with AI agents, you can choose between two backend modes that determine the agent's capabilities:
21
+
22
+
-**Standard backend**: Uses the agent's configured blueprint access and OpenAI GPT models
23
+
-**MCP server backend**: Provides enhanced capabilities with intelligent catalog access and Claude models
24
+
25
+
:::tip Backend mode is interaction-level
26
+
The backend mode is controlled when you interact with agents (through widgets, API calls, etc.), not in the agent configuration itself. This means any agent can benefit from MCP server backend capabilities when you choose to use them.
27
+
:::
28
+
18
29
## Interaction options
19
30
20
31
You have two main approaches when interacting with AI agents in Port:
@@ -50,6 +61,18 @@ Follow these steps to add an AI agent widget:
50
61
51
62
The widget provides a chat interface where you can ask questions and receive responses from the **specific agent you configured** without leaving your dashboard.
52
63
64
+
### MCP server backend mode in widgets
65
+
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:
This gives you transparency into the enhanced processing and shows you exactly which MCP server tools the agent is leveraging to answer your questions.
@@ -75,6 +98,10 @@ When you send a message, the app will:
75
98
- Limit threads to five consecutive messages for optimal performance.
76
99
- For best results, start new threads for new topics or questions.
77
100
101
+
:::info MCP server backend mode in Slack
102
+
Currently, Slack interactions use the agent's default backend mode configuration. The ability to choose or override the backend mode per interaction is not yet available in Slack, but will be added in future updates.
103
+
:::
104
+
78
105
</TabItem>
79
106
<TabItemvalue="actions-automations"label="Actions and automations">
The API will respond with `Content-Type: text/event-stream; charset=utf-8`.
@@ -259,7 +304,18 @@ The plan shows how the agent decided to tackle your request and the steps it int
259
304
260
305
### Tools used
261
306
262
-
This section displays the actual steps the agent took and the APIs it used to complete your request. It can be particularly helpful for debugging when answers don't meet expectations, such as when an agent:
307
+
This section displays the actual steps the agent took and the APIs it used to complete your request. The tools shown depend on the backend mode used:
308
+
309
+
**Standard Backend Mode:**
310
+
- Shows traditional agent tools based on configured blueprint access
311
+
- Limited to predefined search and query capabilities
312
+
313
+
**MCP Server Backend Mode:**
314
+
- Shows enhanced MCP server tools for comprehensive data access
315
+
- Includes all read-only tools available in the MCP server
316
+
- Provides more detailed tool execution information
317
+
318
+
This information can be particularly helpful for debugging when answers don't meet expectations, such as when an agent:
263
319
264
320
- Used an incorrect field name.
265
321
- Chose an inappropriate property.
@@ -308,7 +364,15 @@ Here are some common errors you might encounter when working with AI agents and
308
364
This error occurs when an AI agent tries to execute a self-service action that requires selecting entities from specific blueprints, but the agent doesn't have access to those blueprints.
309
365
310
366
**How to fix:**
311
-
Add the missing blueprints listed in the error message to the agent's configuration.
367
+
368
+
For **Standard Backend Mode:**
369
+
- Add the missing blueprints listed in the error message to the agent's configuration.
370
+
371
+
For **MCP Server Backend Mode:**
372
+
- This error is less common since MCP mode has broader data access
373
+
- If you encounter this error, it likely relates to action execution requirements
374
+
- Ensure the action's entity selection fields are properly configured
375
+
- Consider switching to MCP server backend mode for enhanced blueprint access
Copy file name to clipboardExpand all lines: docs/ai-agents/overview.md
+36-1Lines changed: 36 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,21 @@ AI agents serve two primary functions:
30
30
31
31
2.**Assist with actions** by helping developers complete common tasks faster. Agents can suggest and pre-fill forms, guide developers through workflows, and provide relevant context for decision-making. You can decide whether they can run an action or require human approval.
32
32
33
+
## Enhanced capabilities with MCP server backend
34
+
35
+
:::tip New capability
36
+
Port AI agents now support an enhanced **MCP server backend mode** that provides significantly expanded capabilities. This is a new feature that enhances your existing agents - you can enable it for any agent to unlock these advanced capabilities.
37
+
:::
38
+
39
+
When using the MCP server backend mode, your AI agents gain:
40
+
41
+
-**Expanded data access**: Intelligently queries your entire catalog without blueprint restrictions
42
+
-**Enhanced reasoning**: Powered by Claude models for improved analysis and decision-making
43
+
-**Broader tool access**: Uses all read-only tools available in the MCP server for comprehensive insights
44
+
-**Smarter action selection**: Still respects your configured allowed actions while providing better context
45
+
46
+
Your existing agents can immediately benefit from these enhancements by enabling the MCP server backend mode when [interacting with them](/ai-agents/interact-with-ai-agents) through widgets and API calls.
47
+
33
48
### Example use cases
34
49
35
50
**Questions your agents can answer:**
@@ -57,6 +72,7 @@ To start working with AI agents, follow these steps:
57
72
- Determine what actions your agents can assist with.
58
73
- Set permissions for who can use specific agents.
59
74
- Configure how agents integrate with your workflows.
75
+
- Choose between standard and MCP server backend modes when [interacting with agents](/ai-agents/interact-with-ai-agents).
60
76
61
77
## Security and data handling
62
78
@@ -89,6 +105,20 @@ The data model of AI agents includes two main blueprints:
89
105
90
106
2.**AI invocations** - Each interaction made with an AI agent is recorded as an invocation. This acts as a log of everything going through your AI agents so you can monitor and improve them over time. Learn more in our [Interact with AI agents](/ai-agents/interact-with-ai-agents) guide.
91
107
108
+
## Relevant guides
109
+
110
+
Explore these guides to see AI agents in action and learn how to implement them in your organization:
111
+
112
+
-[Generate incident updates with AI](/guides/all/generate-incident-updates-with-ai)
113
+
-[Enrich tasks with AI-powered context](/guides/all/enrich-tasks-with-ai)
114
+
-[Setup PR enricher AI agent](/guides/all/setup-pr-enricher-ai-agent)
115
+
-[Setup service explorer AI agent](/guides/all/setup-service-explorer-ai-agent)
116
+
-[Setup platform request triage AI agent](/guides/all/setup-platform-request-triage-ai-agent)
117
+
-[Setup task manager AI agent](/guides/all/setup-task-manager-ai-agent)
118
+
-[Setup incident manager AI agent](/guides/all/setup-incident-manager-ai-agent)
119
+
-[Add RCA context to AI agents](/guides/all/add-rca-context-to-ai-agents)
120
+
-[Enrich security vulnerability using AI](/guides/all/enrich-security-vulnerability-using-ai)
121
+
92
122
## Frequently asked questions
93
123
94
124
<details>
@@ -137,7 +167,12 @@ We limit this data storage strictly to these purposes. You can contact us to opt
137
167
<details>
138
168
<summary>Which LLM models are you using? (Click to expand)</summary>
139
169
140
-
We aim to use the best models that will yield the best results while keeping your data safe; at the moment, we work with Open AI's GPT models, but this could change in the future.
170
+
We use different models depending on the backend mode:
171
+
172
+
-**Standard backend**: OpenAI's GPT models for reliable performance and broad compatibility
173
+
-**MCP server backend**: Claude models for enhanced reasoning and analysis capabilities
174
+
175
+
We aim to use the best models that will yield the best results while keeping your data safe. Model selection may evolve as we continue to optimize agent performance.
The Port MCP Server enables you to interact with your Port data and capabilities directly through natural language within your chosen LLM-powered tools. Here's what you can achieve:
53
68
54
69
### Find information quickly
@@ -97,6 +112,11 @@ Receive assistance with common development and operational tasks, directly withi
97
112
98
113

99
114
115
+
### Find your own use cases
116
+
117
+
You can use Port's MCP to find the use cases that will be valuable to you. Try using this prompt: "think of creative prompts I can use to showcase the power of Port's MCP, based on the data available in Port"
0 commit comments