imgtobase64-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | HTTP server port (HTTP mode only). Defaults to `3000`. | 3000 |
| LOG_LEVEL | No | Log verbosity: `debug`, `info`, `warn`, or `error`. Defaults to `info`. | info |
| TRANSPORT | No | Transport 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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 2 tools
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.
Both names follow the exact same pattern: image_<source>_to_base64. Verb/object ordering and casing are perfectly consistent.
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'.
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.