Base64 encoding and decoding MCP server

Base64 encoding and decoding MCP server

base64_server•byliuyazui

A simple, efficient MCP server dedicated to Base64 encoding and decoding of text and images, including Data URL support.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Encodes text to Base64 and decodes Base64 back to text through MCP tools.
  • •Encodes images to Base64 and decodes Base64 back into image files with a configurable MIME type.
  • •Exposes Base64 encode and decode operations for text and images as MCP resources.
  • •Provides MCP prompt templates for a usage guide, text encoding, image encoding and error handling.

BEST FOR

  • •Converting plain text to or from Base64 within an MCP-enabled client.
  • •Turning image files into Base64 strings or restoring images from Base64 data.
  • •Working with Data URL formatted Base64 content.

ABOUT BASE64_SERVER

Base64 encoding and decoding MCP server is cataloged as an MCP server attributed to liuyazui. A simple, efficient MCP server dedicated to Base64 encoding and decoding of text and images, including Data URL support. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Base64 encoding and decoding MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support both text and image Base64 conversion?

Yes, it offers separate tools for encoding and decoding text as well as images.

Does it support Data URL format?

Yes, Data URL format support is listed among its features.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 7fb556e1ff28 · 采集于 2026-11-13 12:16:04 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Base64编码解码MCP服务器

smithery badge English Version

一个简单高效的MCP服务器,专注于提供Base64编码和解码功能,支持文本和图片的Base64转换。

Base64 Server MCP server

功能特点

  • 文本Base64编码和解码
  • 图片Base64编码和解码
  • 支持Data URL格式
  • 简单易用的API
  • 使用uv进行依赖管理

安装

使用uv安装

# 创建虚拟环境
uv venv

# 激活虚拟环境(Linux/macOS)
source .venv/bin/activate

# 激活虚拟环境(Windows)
.venv\Scripts\activate

# 安装包(开发模式)
uv pip install -e .

# 安装带开发依赖的包
uv pip install -e ".[dev]"

安装Smithery

使用Smithery为Claude桌面安装Base64编码解码MCP服务器,使用以下命令:

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

使用方法

使用MCP Inspector测试

# 使用MCP Inspector测试服务器
uv run mcp dev base64_server.py

与MCP client集成

  1. 添加服务器配置:

    {
      "mcpServers": {
         "base64-encoder": {
         "command": "uv",
         "args": [
           "run",
           "--with",
           "mcp[cli]",
           "mcp",
           "run",
           "[path to base64_server.py]"
         ]
       }
      }
    }
    

API参考

工具(Tools)

  • base64_encode_text(text: str) -> str:将文本转换为Base64编码
  • base64_decode_text(encoded: str) -> str:将Base64编码解码为文本
  • base64_encode_image(image_path: str) -> str:将图片转换为Base64编码
  • base64_decode_image(encoded: str, output_path: str, mime_type: str = "image/png") -> str:将Base64编码解码为图片

资源(Resources)

  • encode://base64/text/{text}:获取文本的Base64编码
  • decode://base64/text/{encoded}:获取Base64编码的解码结果
  • encode://base64/image/{image_path}:获取图片的Base64编码
  • decode://base64/image/{encoded}:获取Base64编码的解码图片

提示模板(Prompts)

  • base64_usage_guide(): 提供Base64服务的基本使用指南
  • encode_text_prompt(text: str): 文本编码提示模板
  • encode_image_prompt(image_path: str): 图片编码提示模板
  • error_handling_prompt(error_message: str): 错误处理提示模板

使用示例:

# 获取使用指南提示
messages = await client.get_prompt("base64_usage_guide")

# 获取文本编码提示
messages = await client.get_prompt("encode_text_prompt", {"text": "Hello World"})

开发

许可证

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Base64 encoding and decoding MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/base64_server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools