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/en/studio/ai-agent-configuration.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Permission choices include allow once, allow always, and skip. "Allow always" pe
102
102
103
103
## MCP Tool Connections
104
104
105
-
ABP Studio can connect to user-configured Model Context Protocol (MCP) servers and expose their tools to Agent mode. This is an MCP client integration for the AI Agent. ABP Studio AI Agent does not expose itself as an MCP server for external AI clients.
105
+
ABP Studio can connect to user-configured Model Context Protocol (MCP) servers and expose their tools to Agent mode. This section is about that MCP client integration. For the other direction, where external AI clients connect to ABP Studio and use its own tools, see the [Model Context Protocol (MCP)](model-context-protocol.md) documentation.
Copy file name to clipboardExpand all lines: docs/en/studio/model-context-protocol.md
+22-14Lines changed: 22 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,44 +79,53 @@ Claude Desktop config file locations:
79
79
80
80
### Quick Reference
81
81
82
-
You can run `abp help mcp-studio` at any time to see the available options and example configuration snippets for each supported IDE directly in your terminal.
82
+
You can run `abp help mcp-studio` at any time to see the available options and the Cursor and Claude Desktop configuration snippets directly in your terminal.
83
83
84
84
### Generating Config Files from ABP Studio
85
85
86
-
When creating a new solution, ABP Studio can generate MCP configuration files for Cursor and VS Code automatically.
86
+
The `app`, `app-nolayers` and `microservice` templates already contain a `.vscode/mcp.json` file, so a solution created from one of them works with VS Code without any extra configuration.
87
+
88
+
> The endpoint is not authenticated. It only listens on `localhost`, but any local process can call it, and a connected client can read the monitoring data, build the solution, run the configured tasks and start or stop applications and containers. Only configure MCP clients you trust, and do not forward or expose the endpoint.
87
89
88
90
## Available Tools
89
91
90
-
ABP Studio exposes the following tools to MCP clients. All tools operate on the currently open solution and selected run profile in ABP Studio.
92
+
ABP Studio exposes the following tools to MCP clients. The monitoring tools work on their own. The build and solution tools need a solution to be open. The application, container and task tools also need a run profile to be selected.
91
93
92
94
### Monitoring
93
95
94
96
| Tool | Description |
95
97
|------|-------------|
96
-
|`list_applications`| Lists all running ABP applications connected to ABP Studio. |
97
98
|`get_exceptions`| Gets recent exceptions including stack traces and error messages. |
98
99
|`get_logs`| Gets log entries. Can be filtered by log level. |
99
100
|`get_requests`| Gets HTTP request information. Can be filtered by status code. |
100
101
|`get_events`| Gets distributed events for debugging inter-service communication. |
|`start_containers`| Starts Docker containers of the selected run profile. |
115
+
|`stop_containers`| Stops Docker containers of the selected run profile. |
116
+
117
+
### Tasks
118
+
119
+
| Tool | Description |
120
+
|------|-------------|
121
+
|`run_task`| Runs a task of the selected run profile. It waits for the task, and on timeout it returns while the task keeps running in the background. |
122
+
123
+
### Build
124
+
125
+
| Tool | Description |
126
+
|------|-------------|
127
+
|`dotnet_build`| Builds the solution, a module or a package using `dotnet build`. |
128
+
|`install_libs`| Runs `abp install-libs` at the solution root. |
120
129
121
130
### Solution Structure
122
131
@@ -125,7 +134,6 @@ ABP Studio exposes the following tools to MCP clients. All tools operate on the
125
134
|`get_solution_info`| Gets solution name, path, template, and run profile information. |
126
135
|`list_modules`| Lists all modules in the solution. |
127
136
|`list_packages`| Lists packages (projects) in the solution. Can be filtered by module. |
0 commit comments