Skip to main content
Glama
imgtobase64-mcp-server

imgtobase64-mcp-server

by guiguito

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoHTTP server port (HTTP mode only). Defaults to `3000`.3000
LOG_LEVELNoLog verbosity: `debug`, `info`, `warn`, or `error`. Defaults to `info`.info
TRANSPORTNoTransport mode: `stdio` or `http`. Defaults to `stdio`. The `--transport` CLI flag takes precedence over the `TRANSPORT` env var.stdio

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
image_url_to_base64A

Fetch an image from a URL and convert it to base64. Returns base64 data, MIME type, size, dimensions, and a ready-to-use data URI.

image_file_to_base64A

Read a local image file and convert it to base64. Returns base64 data, MIME type, size, dimensions, resolved path, and a ready-to-use data URI.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 2 tools

Disambiguation4/5

The two tools are near-identical in function and differ only by input source (remote URL vs local file path), which the descriptions state clearly. An agent could plausibly hesitate over which to use if the source is ambiguous, but the split is logical and well-signposted.

Naming Consistency5/5

Both names follow the exact same pattern: image_<source>_to_base64. Verb/object ordering and casing are perfectly consistent.

Tool Count4/5

Two tools is thin in absolute terms but fits a narrowly scoped single-purpose server whose only job is producing base64 from images. Nothing extraneous is present, though the surface is close to the borderline of 'too few'.

Completeness3/5

The inbound direction is covered for both remote and local sources, but the inverse operation (base64 back to image) and batch/validation options are absent. For a one-directional converter this is acceptable, but it leaves notable functional gaps.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues