Skip to main content
Glama
BlueVetaUpright MCP server

BlueVetaUpright MCP server

by Tomerbarm

BlueVetaUpright MCP server

An MCP server that gives any MCP-compatible AI client (Claude Desktop, and any other MCP-aware agent) a detect_rotation tool: checks whether a product photo is upright and, if not, exactly how many degrees to rotate it.

How billing works (read this first)

This server is a thin wrapper around the real, paid BlueVetaUpright API (https://blueveta.com/api/upright/detect). It is bring-your-own-key (BYOK): every call bills your own BlueVetaUpright account, exactly the same as calling the REST API directly. There is no free tier hiding behind this tool — get a key and credits at blueveta.com/upright.

Related MCP server: pictor-mcp

Install & configure

npm install

Set your API key as an environment variable (recommended — configure it once in your MCP client's server config, not per call):

export BLUEVETA_UPRIGHT_API_KEY=bvu_live_...

Then point your MCP client at node src/server.js (stdio transport) in this directory. A call can also override the key per-invocation with an apiKey argument if that fits your client's auth model better than an environment variable.

The tool

detect_rotation(imageUrl | imageBase64, returnImage?, apiKey?) → the same response shape as the REST API: wasAlreadyUpright, rotationClockwise4Axis, confidence4Axis, rotationClockwiseFull, confidenceFull, resolved, note, and (when returnImage: true, priced 1.5x same as the REST API) imageBase64/imageMimeType of the corrected photo.

Development

npm test

Runs detectRotation.js's own unit tests — the core HTTP-calling logic (which endpoint, whose key, what gets sent) is dependency-free and tested with a mocked fetch, independent of the MCP SDK wiring in server.js.

Status

Built and unit-tested (2026-10-29). Published to npm as blueveta-upright-mcp (v0.1.0, 2026-11-19) and listed on the official MCP Registry as com.blueveta/upright — genuinely installable via npx blueveta-upright-mcp, not just a registry listing. See .claude/rules/upright.md item 26 for the current real status.

Available Tools

1 tool
detect_rotationDetect and fix a product photo's rotationA

Checks whether a product photo is upright and, if not, exactly how many degrees to rotate it (clockwise). Returns a confidence score and an honest flag when the answer is uncertain. Bills the caller's own BlueVetaUpright account per call, same as the REST API -- requires an API key from https://blueveta.com/upright, set as BLUEVETA_UPRIGHT_API_KEY or passed as apiKey.

Inputs: apiKey, imageUrl, imageBase64, returnImage.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 1 tool

    Disambiguation5/5

    There is only one tool, so there is no possibility of misselection or overlap. The tool's stated purpose (upright/rotation-angle detection with confidence and uncertainty flagging) is unambiguous.

    Naming Consistency5/5

    detect_rotation follows a clear verb_noun snake_case convention. With a single tool there is no risk of mixed conventions, so the set is trivially consistent.

    Tool Count3/5

    One tool is thin for a server surface, but the declared domain is genuinely narrow (rotation detection only), so it is borderline rather than a clear mismatch. It lands at the 'feels thin' level rather than being grossly under- or over-scoped.

    Completeness3/5

    The detection operation itself is well covered (angle, confidence, uncertainty flag, auth/billing notes), but there are notable gaps: no batch/multi-image handling, no tool to apply the rotation or return a corrected image, and no usage or quota check. Agents can work around these but will hit a dead end for any follow-on step.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      fixRAgent, by AR Logic LLC, turns one photo of a building problem into what it is, how urgent it is (EMERGENCY, TODAY, THIS WEEK or WHENEVER), which trade to call, and what to tell the resident. For property managers, landlords and companies. NARPM member. Free Test Drive for up to 10 doors; paid plans from $39/mo. fixragent.com/pricing Remote MCP server: fixragent.com/mcp
      3
      MIT