base64_encode_textLABSCO 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. No account and no key — it converts the text and the paths you hand it, locally.
Setup effort
Add the configuration to your client
USE CASES
Decoding a Base64 blob somebody sent you
Turn it back into readable text without leaving the conversation.
Embedding an image in a config file or a data URL
Encode the file from its path, in Data URL form when that is what the target needs.
Turning an encoded payload back into a viewable file
Write it out as an image at the path and MIME type you specify.
Encoding a string for a header or config value
One call, rather than a web tool and a copy-paste round trip.
4 tools
Listed in project docs. Your client may show a different list.
base64_decode_textbase64_encode_imagebase64_decode_imageBEFORE YOU INSTALL
What to know first
Tools you get
4 tools named in the project's documentation.
Requires
uv on PATH
Where it runs
The documented client runs the server on your machine.
INSTALLATION
Connect your client
MCP Clients
Claude Desktop
{
"mcpServers": {
"base64-encoder": {
"command": "uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"<YOUR_PATH_TO_BASE64_SERVER>"
]
}
}
}