Add aaz-dev MCP server#551
Open
khang-11 wants to merge 1 commit into
Open
Conversation
Contributor
|
@khang-11 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
- Add MCP server (aaz-dev-mcp) exposing aaz-dev workspace, command
editing, and CLI generation tools over the MCP protocol.
- Layout under src/aaz_dev_mcp with services split by backend domain
(command, cli) and tools split per-domain mirroring the services
layer (config, command/{workspaces,arguments,examples}, cli/modules).
- Argument editing supports clearing the arg group via a clear_group
flag on update_argument.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a Model Context Protocol server at
src/mcp/that exposes aaz-dev-tools workflows (workspace management, swagger import, CLI codegen) as tools an LLM agent can call. The server reuses the same Python controllers as the Flask web UI, so generated CLI code is identical to clicking through the browser.Shipped as a separate distribution (
aaz-dev-mcp) that depends onaaz-dev-toolsbeing installed in the same environment.What's included
src/mcp/aaz_dev_mcp/— FastMCP server (server.py), tool definitions (tools.py), service-layer wrappers for workspaces and CLI modules.src/mcp/pyproject.toml— installable asaaz-dev-mcp, exposes theaaz-dev-mcpconsole script.src/mcp/README.md— tool list, env vars, agent config snippets, and a worked example.src/mcp/examples/consumption_2024_08_01.json— reproducing azure-cli#33222 end-to-end.Makefile—make mcp-install/make mcpshortcuts.Try it
Then point an MCP-capable client (Claude Desktop, etc.) at the
aaz-dev-mcpstdio command.Notes