Skip to main content
Glama

Hajimete text and image-to-3D MCP connector

Connect any stdio MCP client (including compatible desktop agents) to your Hajimete account. This is a local connector, not a hosted OAuth connector. Node.js 22+ is required.

  1. Sign in at https://hajimete3d.com/developers. Create a named access key with a total spending cap. Keys expire after 90 days; copy once and keep private.

  2. Add the connector to your MCP client. No install step: npx fetches it on first run.

{
  "mcpServers": {
    "hajimete": {
      "command": "npx",
      "args": ["-y", "hajimete-mcp"],
      "env": {
        "HAJIMETE_API_KEY": "YOUR_PRIVATE_KEY",
        "HAJIMETE_UPLOAD_DIR": "/absolute/path/to/character-images",
        "HAJIMETE_DOWNLOAD_DIR": "/absolute/path/to/model-downloads"
      }
    }
  }
}

Prefer a manual install? Download https://hajimete3d.com/downloads/hajimete-mcp.zip, unzip, run npm ci --omit=dev in the folder and use "command": "node", "args": ["/absolute/path/to/hajimete-mcp/server.mjs"] instead.

Both directories must already exist. Only files inside the upload directory can be uploaded; external symlinks are rejected. Downloads have generated names and never overwrite existing files. Store the configuration outside source control or use your client's secret facility. The connector never prints the access key.

Workflow

Ask the agent: “Upload my-character.png, review the 3D quote with me, and after I approve, create and download the model.”

Tools: quote_artwork, create_artwork, list_artworks, get_artwork, get_credits, list_images, upload_image, quote_model, create_model, list_models, get_model, download_model, delete_image, delete_model.

  • Upload PNG or JPEG, max 5,000,000 bytes, 16–4096 pixels per side. Confirm image-use rights. No public URLs or server-side fetching of arbitrary URLs.

  • Quote first; it expires in five minutes. Show the user the cost before using create_model with spendApproved: true.

  • Generate a UUID requestID once. Always reuse that UUID and quote on retries, even after timeout. Do not automatically switch to a fresh quote/request after an ambiguous result.

  • Poll every 15 seconds or slower. Generation continues on the server after the agent disconnects.

  • download_model saves a real self-contained GLB, authenticated using the same private key.

  • Deletion tools require confirm: "DELETE"; obtain explicit user approval. Deleting the model does not refund completed generation costs.

Related MCP server: Context3D MCP Server

Credits and access

Web, API and MCP use one wallet, a shared credit ledger and one failure-refund path. Uploads, lists, quotes, status checks and downloads do not use generation credits. Text-generated images cost 1 credit (standard) or 4 (premium); 3D costs a separate 12 credits. API keys cannot buy credits or administer accounts. The key's total allowance measures net generation charges; failure refunds restore both wallet credits and the allowance. The first 100 accounts that signed in with Google or Apple get 13 one-time sample credits when they create their first API key (one 3D model plus one Standard artwork) in the shared wallet. Buying credits on the website does not increase a key's cap. Revoke/create a key to change the cap. Revoking a key does not cancel an in-flight model.

Keys grant access to all images/models owned by that account, including those created on the website, so use separate Hajimete accounts when you need account-level isolation. No public model URLs are issued.

Out of credits

When a quote or create fails because credits or the key's allowance are short, the API returns HTTP 402 (or 409 if the shortfall appeared while creating) with a stable code, a human error and a link. The MCP tool result carries all three in its text, for example 402: Not enough credits (12 needed, balance 0). Buy credits to continue. [insufficient_credits] Buy credits: https://hajimete3d.com/developers#credits (show this link to the user).

  • insufficient_credits: the account balance is too low. When purchases are available for the account, buy_url leads to https://hajimete3d.com/developers#credits and the message says to buy credits; otherwise both are omitted. Also returns required and balance.

  • api_key_limit_reached: this key's remaining allowance is too low for this request (or used up), even if the account has credits. manage_url leads to https://hajimete3d.com/developers#key-panel to create a key with a higher limit. Also returns required and key_remaining.

Show the link to the user and wait; do not retry with a new quote until they confirm.

Publishing

npm publish from this folder (the registry metadata is mcpName in package.json and server.json; keep both versions in step). Then mcp-publisher publish for the official MCP registry.

Tests

npm test validates the connector through the official MCP client, including tool discovery, the approval schema and idempotency forwarding.

Start with a text description

Call quote_artwork with prompt (10–1,000 characters), style (anime, clay, plush, painted or asset) and quality (standard or premium). Show the returned exact prompt and cost before calling create_artwork with quoteID, a UUID requestID and spendApproved: true.

Creation can take up to 90 seconds. On timeout, reuse the same quote and request ID. Do not silently generate a new paid request. Use get_artwork or list_artworks to check progress. Interrupted jobs are reconciled on read/retry after three minutes and refunded if unfinished. list_artworks accepts before for its nextCursor pagination.

A succeeded artwork returns sourceID: pass it directly to quote_model, obtain separate approval for 12 credits, then create_model and download_model. Images also appear in the website gallery. The authenticated image download endpoint is /api/v1/artworks/JOB_ID/asset.

Available Tools

14 tools
create_artworkA
DestructiveIdempotent

Generate the quoted 2D image after explicit spending approval. May take up to 90 seconds. Reuse the SAME quoteID and UUID requestID after any timeout; never silently create a new paid request. Use the returned sourceID for a separate 3D quote.

Inputs: quoteID (required), requestID (required), spendApproved (required).

create_modelA
DestructiveIdempotent

Spend credits to create a textured 3D GLB. Show the quote and obtain user approval first. Reuse the SAME quoteID and requestID on every retry, including after a timeout. Never silently retry with a new ID.

Inputs: quoteID (required), requestID (required), spendApproved (required).

delete_imageA
DestructiveIdempotent

Permanently delete an uploaded image after explicit user approval. Completed models remain. Non-recoverable.

Inputs: id (required), confirm (required).

delete_modelA
DestructiveIdempotent

Permanently delete a completed or failed 3D model and its provider copy after explicit user approval. No refund; non-recoverable.

Inputs: id (required), confirm (required).

download_modelA

Download a completed GLB into HAJIMETE_DOWNLOAD_DIR. Does not overwrite existing files. Free; keeps API credentials private.

Inputs: id (required).

get_artworkA
Read-onlyIdempotent

Check an artwork state after generation. Poll every 15 seconds or slower. Failed jobs refund generation credits. The asset URL requires your private API key.

Inputs: id (required).

get_creditsA
Read-onlyIdempotent

Read the shared Hajimete balance and current 3D conversion cost. Never buys credits.

Inputs: no named parameters.

get_modelB
Read-onlyIdempotent

Check progress. Poll no more often than every 15 seconds. Failed generations return credits. A succeeded model has an authenticated GLB download URL.

Inputs: id (required).

list_artworksB
Read-onlyIdempotent

List saved 2D artwork from web, iOS and API. Use a succeeded artwork sourceID to quote a 3D model. Pass nextCursor as before to see the next page.

Inputs: before.

list_imagesB
Read-onlyIdempotent

List private uploaded character images in this account.

Inputs: no named parameters.

list_modelsA
Read-onlyIdempotent

List this account’s models, including ones created on the website.

Inputs: no named parameters.

quote_artworkA
Idempotent

Quote a text-description-to-image creation. Show the exact prompt and cost to the user. Standard costs 1 credit; premium costs 4. Quote lasts five minutes. This is a 2D image; 3D requires a separate approved quote.

Inputs: prompt (required), style, quality.

quote_modelA
Idempotent

Review the cost and balance before creating a real 3D model. Free; quote lasts 5 minutes.

Inputs: sourceID (required).

upload_imageA
Idempotent

Upload a PNG/JPEG from the configured image folder for 3D conversion. Free. Obtain confirmation that the user has rights to the image first.

Inputs: file (required), rightsConfirmed (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 14 tools

    Disambiguation5/5

    Each tool maps to a distinct resource+action pair: images (list/upload/delete), artworks (list/quote/create/get), models (list/quote/create/get/download/delete), plus a single credits reader. The quote-vs-create split is clearly explained as a cost-approval step rather than two ways to do the same thing. An agent can route a request without guessing.

    Naming Consistency5/5

    All 14 names follow a strict snake_case verb_noun pattern (get_credits, list_images, upload_image, quote_artwork, create_model, download_model, delete_image...). Verbs are reused consistently across resources, so the pattern is predictable and composable.

    Tool Count5/5

    14 tools sit squarely in the well-scoped range and each earns its place: three resources with their own lifecycle verbs plus one balance reader. There is no filler or near-duplicate tool.

    Completeness4/5

    Model lifecycle is fully covered (quote, create, list, get, download, delete) and image upload/list/delete plus artwork quote/create/get/list cover the main flows. Gaps remain: no delete_artwork, no way to inspect an uploaded image's conversion state (no get_image), and the path from uploaded image to 3D quote is implied but never stated explicitly in the tool surface.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers