Skip to content

Commit ac8d740

Browse files
committed
Update the MCP tool list and prerequisites to match the current tools
1 parent ea521da commit ac8d740

2 files changed

Lines changed: 23 additions & 15 deletions

File tree

docs/en/studio/ai-agent-configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Permission choices include allow once, allow always, and skip. "Allow always" pe
102102

103103
## MCP Tool Connections
104104

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.
106106

107107
### Adding an Integration
108108

docs/en/studio/model-context-protocol.md

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -79,44 +79,53 @@ Claude Desktop config file locations:
7979

8080
### Quick Reference
8181

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.
8383

8484
### Generating Config Files from ABP Studio
8585

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.
8789
8890
## Available Tools
8991

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.
9193

9294
### Monitoring
9395

9496
| Tool | Description |
9597
|------|-------------|
96-
| `list_applications` | Lists all running ABP applications connected to ABP Studio. |
9798
| `get_exceptions` | Gets recent exceptions including stack traces and error messages. |
9899
| `get_logs` | Gets log entries. Can be filtered by log level. |
99100
| `get_requests` | Gets HTTP request information. Can be filtered by status code. |
100101
| `get_events` | Gets distributed events for debugging inter-service communication. |
101-
| `clear_monitor` | Clears collected monitor data. |
102102

103103
### Application Control
104104

105105
| Tool | Description |
106106
|------|-------------|
107-
| `list_runnable_applications` | Lists all applications in the current run profile with their state. |
108-
| `start_application` | Starts a stopped application. |
109-
| `stop_application` | Stops a running application. |
110-
| `restart_application` | Restarts a running application. |
111-
| `build_application` | Builds a .NET application using `dotnet build`. |
107+
| `start_applications` | Starts applications of the selected run profile. A running application is stopped and started again. |
108+
| `stop_applications` | Stops running applications. |
112109

113110
### Container Control
114111

115112
| Tool | Description |
116113
|------|-------------|
117-
| `list_containers` | Lists Docker containers in the current run profile with their state. |
118-
| `start_containers` | Starts Docker containers (docker-compose up). |
119-
| `stop_containers` | Stops Docker containers (docker-compose down). |
114+
| `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. |
120129

121130
### Solution Structure
122131

@@ -125,7 +134,6 @@ ABP Studio exposes the following tools to MCP clients. All tools operate on the
125134
| `get_solution_info` | Gets solution name, path, template, and run profile information. |
126135
| `list_modules` | Lists all modules in the solution. |
127136
| `list_packages` | Lists packages (projects) in the solution. Can be filtered by module. |
128-
| `get_module_dependencies` | Gets module dependency/import information. |
129137

130138
## Notes
131139

0 commit comments

Comments
 (0)