Skip to main content
Glama
ycyun

ABLESTACK MOLD MCP Server

by ycyun

mold_listApisMeta

Retrieve API metadata including names, async status, and parameters from the ABLESTACK MOLD MCP Server to understand available cloud infrastructure management capabilities.

Instructions

listApis로부터 API 메타데이터(name, isasync, params)를 조회합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo

Implementation Reference

  • Registers the "mold_listApisMeta" MCP tool, including its input schema and inline handler that fetches and returns API metadata using fetchApisMeta.
    server.registerTool( "mold_listApisMeta", { title: "MOLD listApis 메타 조회", description: "listApis로부터 API 메타데이터(name, isasync, params)를 조회합니다.", inputSchema: { name: z.string().optional() }, }, async ({ name }) => { const metas = await fetchApisMeta({ name }); return { content: [{ type: "text", text: JSON.stringify(metas, null, 2) }] }; } );
  • Core helper function that calls listApis API, parses the response, and extracts metadata (name, description, isasync, params) for APIs matching optional name filter.
    export async function fetchApisMeta({ name } = {}) { const data = await callApi("listApis", name ? { name } : {}); const resp = data.listapisresponse || data.listApisResponse || data.listapis || data; const apis = resp.api || resp.apis || resp; if (!apis || !Array.isArray(apis)) { throw new Error("listApis 응답을 파싱할 수 없습니다. (api 배열 없음)"); } return apis.map((a) => ({ name: a.name, description: a.description, isasync: !!a.isasync, since: a.since, related: a.related, params: Array.isArray(a.params) ? a.params.map((p) => ({ name: p.name, type: p.type, required: !!p.required, description: p.description, length: p.length, })) : [], })); }
  • Tool handler function that invokes fetchApisMeta and formats the result as MCP response.
    async ({ name }) => { const metas = await fetchApisMeta({ name }); return { content: [{ type: "text", text: JSON.stringify(metas, null, 2) }] }; }
  • Input schema defining optional 'name' parameter using Zod.
    inputSchema: { name: z.string().optional() },

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/ycyun/ablestack-MCP-server'

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