Skip to content

Commit 7d8addc

Browse files
authored
{Misc.} Added new features to AAZ MCP (#32096)
1 parent f04a19f commit 7d8addc

File tree

10 files changed

+1430
-63
lines changed

10 files changed

+1430
-63
lines changed

.devcontainer/mcp.json

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,16 @@
11
{
2-
"inputs": [
3-
{
4-
"type": "promptString",
5-
"id": "extension_or_module_name",
6-
"description": "The name of the Azure CLI extension or module to generate commands for."
7-
},
8-
{
9-
"type": "promptString",
10-
"id": "swagger_module_path",
11-
"description": "The file path to the Swagger module."
12-
},
13-
{
14-
"type": "promptString",
15-
"id": "resource_provider",
16-
"description": "The Azure resource provider for which to generate commands."
17-
},
18-
{
19-
"type": "promptString",
20-
"id": "swagger_tag",
21-
"description": "The Swagger tag to use for command generation."
22-
}
23-
],
242
"servers": {
253
"AAZ Flow": {
264
"command": "python",
275
"args": [
286
"azure-cli/tools/aaz-flow/main.py"
297
],
308
"env": {
31-
"AAZ_PATH": "/workspaces/aaz",
32-
"CLI_PATH": "/workspaces/azure-cli",
33-
"CLI_EXTENSION_PATH": "/workspaces/azure-cli-extensions",
34-
"SWAGGER_PATH": "/workspaces/azure-rest-api-specs"
9+
"AAZ_PATH": "/workspaces/aaz",
10+
"CLI_PATH": "/workspaces/azure-cli",
11+
"CLI_EXTENSION_PATH": "/workspaces/azure-cli-extensions",
12+
"SWAGGER_PATH": "/workspaces/azure-rest-api-specs"
3513
}
3614
}
3715
}
38-
}
16+
}

tools/aaz-flow/README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ MCP Server for the AAZ API, enabling prune command-line interface, implement cus
44
Please note that AAZ Flow is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.
55

66
### Tools
7-
1. `generate_code`
8-
- xx
9-
- Inputs:
10-
- xx
11-
- xx
12-
- Returns:
7+
`generate_code`
8+
9+
## Implementation
10+
1. Performs elicitation for user input to perform workflow
11+
2. Generates content using llm sampling
12+
3. Executes AAZ Flow commands directly
13+
4. Generates tests using llm sampling
14+
5. Uses tool transformation to make the internal tooling more friendly for llms

tools/aaz-flow/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
6+
# AAZ Flow package

0 commit comments

Comments
 (0)