Skip to main content
Glama
ycyun

ABLESTACK MOLD MCP Server

by ycyun

mold_getConfig

Retrieve current endpoint, API key, algorithm, and configuration file path for the ABLESTACK MOLD MCP Server to verify and manage API settings.

Instructions

현재 사용 중인 endpoint/apiKey(마스킹)/알고리즘/구성파일 경로를 반환합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Registers the 'mold_getConfig' MCP tool, defining its title, description, empty input schema, and a simple handler that returns the redacted configuration as JSON.
    server.registerTool(
      "mold_getConfig",
      {
        title: "MOLD 연결정보 조회",
        description: "현재 사용 중인 endpoint/apiKey(마스킹)/알고리즘/구성파일 경로를 반환합니다.",
        inputSchema: {},
      },
      async () => {
        return { content: [{ type: "text", text: JSON.stringify(getConfigRedacted(), null, 2) }] };
      }
    );
  • The handler function for the tool, which calls getConfigRedacted() and returns the result as a formatted text response.
    async () => {
      return { content: [{ type: "text", text: JSON.stringify(getConfigRedacted(), null, 2) }] };
    }
  • Tool schema definition with Korean title and description, and empty inputSchema indicating no parameters required.
    {
      title: "MOLD 연결정보 조회",
      description: "현재 사용 중인 endpoint/apiKey(마스킹)/알고리즘/구성파일 경로를 반환합니다.",
      inputSchema: {},
    },
  • Helper function that provides a redacted view of the MOLD configuration (endpoint, masked apiKey, secret presence, algorithm, config file path).
    export function getConfigRedacted() {
      const redact = (s = "") => {
        if (!s) return "";
        if (s.length <= 8) return "*".repeat(s.length);
        return s.slice(0, 4) + "***" + s.slice(-4);
      };
      return {
        endpoint: CONFIG.endpoint || "",
        apiKey: redact(CONFIG.apiKey),
        hasSecret: !!CONFIG.secret,
        algo: CONFIG.algo,
        configFile: CONFIG_FILE,
      };
    }

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