Labsco
MCP SERVER

Base64 Encode/Decode

by liuyazui

Encode and decode Base64 — text and image files alike — without pasting anything into a converter site.

Developer Conversions, Encoding & Test Data
Summary
The conversion nobody wants to paste into a website.

Base64 is a two-minute job with an awkward habit: the fastest route is usually a stranger's web page. This does it in place, for text and for image files, with the output written where you want it.

What it is

A small Python MCP server for Base64 conversion. Text goes in both directions, images encode from a path on disk and decode back out to a file with the MIME type you name, and Data URL format is supported.

What you get
  • Text encoded to Base64, and decoded back to text
  • An image file on disk encoded to Base64
  • A Base64 string written back out as an image file, with the MIME type you choose
  • Data URL format supported
  • The same conversions also exposed as MCP resources, with prompt templates for each
Requirements

Python with uv, or a one-command install through Smithery. No account and no key — it converts the text and the paths you hand it, locally.

Setup effort

One command — npx -y @smithery/cli install @liuyazui/base64_server --client claude