Skip to main content
Glama

nworks_doctor

Diagnose NAVER WORKS connection issues by checking authentication, tokens, private keys, and API connectivity.

Instructions

NAVER WORKS 연결 상태를 진단합니다. 인증 정보, 토큰, Private Key, API 연결을 점검합니다.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The tool registration and handler implementation for nworks_doctor. It calls runChecks from ../commands/doctor.js to perform the diagnostics.
    server.tool(
      "nworks_doctor",
      "NAVER WORKS 연결 상태를 진단합니다. 인증 정보, 토큰, Private Key, API 연결을 점검합니다.",
      {},
      async () => {
        try {
          const results = await runChecks("default");
          const maskedResults = results.map((r) => {
            if (r.check === "credentials" && r.status === "OK") {
              return { ...r, detail: r.detail.replace(/clientId: .+/, "clientId: ****") };
            }
            if (r.check === "privateKey" && r.status === "OK") {
              return { ...r, detail: "OK (path hidden)" };
            }
            if (r.check === "serviceAccount" && r.status === "OK") {
              const masked = r.detail.length <= 4 ? "****" : `****${r.detail.slice(-4)}`;
              return { ...r, detail: masked };
            }
            return r;
          });
          return {
            content: [{ type: "text" as const, text: JSON.stringify(maskedResults) }],
          };
        } catch (err) {
          return {
            content: [{ type: "text" as const, text: mcpErrorHint(err) }],
            isError: true,
          };
        }
      }
    );

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/yjcho9317/nworks'

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