Skip to main content
Glama

get_plugin_metadata

Retrieve metadata for a specific plugin from the APISIX-MCP server to enable plugin integration via the APISIX Admin API.

Instructions

Get metadata for a specific plugin

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesplugins name

Implementation Reference

  • The registration and inline handler function for the 'get_plugin_metadata' MCP tool. It takes a 'name' argument and calls makeAdminAPIRequest to retrieve metadata from `/plugin_metadata/${args.name}`.
    server.tool("get_plugin_metadata", "Get metadata for a specific plugin", GetPluginMetadataSchema.shape, async (args) => { return await makeAdminAPIRequest(`/plugin_metadata/${args.name}`); });
  • Zod schema defining the input parameters for the 'get_plugin_metadata' tool, requiring a 'name' string.
    export const GetPluginMetadataSchema = z.object({ name: z.string().describe("plugins name"), });

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/api7/apisix-mcp'

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