Skip to main content
Glama
akuity
by akuity

get_application_resource_tree

Retrieve the resource tree for an application by specifying its name using the argocd-mcp server to access detailed structural insights.

Instructions

get_application_resource_tree returns resource tree for application by application name

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
applicationNameYes

Implementation Reference

  • Core handler function that executes the HTTP GET request to ArgoCD API to retrieve the application resource tree.
    public async getApplicationResourceTree(applicationName: string) { const { body } = await this.client.get<V1alpha1ApplicationTree>( `/api/v1/applications/${applicationName}/resource-tree` ); return body; }
  • Registers the MCP tool 'get_application_resource_tree' including input schema { applicationName: string } and thin wrapper handler delegating to ArgoCDClient.
    this.addJsonOutputTool( 'get_application_resource_tree', 'get_application_resource_tree returns resource tree for application by application name', { applicationName: z.string() }, async ({ applicationName }) => await this.argocdClient.getApplicationResourceTree(applicationName) );
  • Input schema validation for the tool using Zod.
    { applicationName: z.string() },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/akuity/argocd-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server