Skip to main content
Glama
paladini

devutils-mcp-server

base64_decode

Decode Base64 strings to plain text for data recovery or debugging purposes.

Instructions

Decode a Base64 string back to plain text.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputYesThe Base64 string to decode

Implementation Reference

  • The implementation and registration of the 'base64_decode' tool.
    server.tool(
      "base64_decode",
      "Decode a Base64 string back to plain text.",
      { input: z.string().describe("The Base64 string to decode") },
      async ({ input }) => {
        try {
          const decoded = Buffer.from(input, "base64").toString("utf-8");
          return { content: [{ type: "text" as const, text: decoded }] };
        } catch {
          return {
            content: [
              { type: "text" as const, text: "Error: Invalid Base64 input" },
            ],
            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/paladini/devutils-mcp-server'

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