mcp-base64
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-base64encode the file /home/user/document.pdf to base64"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Base64 Server
A Python MCP (Model Context Protocol) server for Base64 file conversion with stdio transport.
Features
encode_file_to_base64: Encode any file to base64 string
decode_base64_to_file: Decode base64 content to file
Binary-safe: Handles both text and binary files correctly
Related MCP server: Local Utilities MCP Server
Usage
IDE Configuration
For IDE plugins, add this server to your MCP configuration JSON:
{
"mcpServers": {
"base64": {
"command": "uvx",
"args": [
"mcp-base64"
]
}
}
}Direct Execution
git clone https://github.com/Wuodan/mcp-base64.git
cd mcp-base64
python3 -m venv .venv
./.venv/bin/python -m pip install -e .
./.venv/bin/python -m mcp_base64.serverTools
encode_file_to_base64(file_path: str) -> str
Encodes a file to base64 string.
Parameters:
file_path(str): Absolute path to file to encode
Returns: Base64 encoded string
decode_base64_to_file(base64_content: str, file_path: str) -> str
Decodes base64 string to file.
Parameters:
base64_content(str): Base64 encoded contentfile_path(str): Absolute path where to save decoded file
Returns: Success message with file path
Development
Install development dependencies:
./.venv/bin/python -m pip install -r requirements-dev.txt -e .Run tests:
./.venv/bin/python -m pytest -qRun linting:
./scripts/lint.shMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Wuodan/mcp-base64'
If you have feedback or need assistance with the MCP directory API, please join our Discord server