Skip to main content
Glama
com.printyourduck/quote

com.printyourduck/quote

Official

PrintYourDuck MCP

CI Security MCP Node.js >=20 License: MIT

MCP server for sending local 3D print files to PrintYourDuck manual quote review. It is built for coding-agent workflows where the user has generated or selected a local .stl, .step, .stp, .3mf, .obj, or .zip file and wants help preparing a quote request.

The server is preconfigured for https://printyourduck.com. Users do not need to supply an API URL, API key, or shop routing configuration.

Status

Surface

Status

Remote MCP

Live at https://printyourduck.com/api/mcp

Local stdio package

Available via npm as @printyourduck/mcp

npm package

Public: @printyourduck/mcp

OCI image

Release target: ghcr.io/printyourduck/printyourduck-mcp:<version>

MCP Registry

Live as com.printyourduck/quote

npx is the primary install path today. Use Docker only after verifying the GHCR image is publicly pullable for the target version.

Related MCP server: MCP 3D Printer Server

Why This Exists

3D-print quote workflows are easy to get wrong when a user is coming from code, CAD generation, or rapid prototyping. This MCP server gives agents a narrow, auditable workflow:

  1. Read the public quote requirements.

  2. Find recent printable files in the current project.

  3. Ask the user to choose one file and confirm the required safety statements.

  4. Upload that file through PrintYourDuck's private upload flow.

  5. Submit the manual quote request.

  6. Check public-safe quote status by quote ID and customer email.

It does not calculate instant pricing, collect payment at upload, automate checkout, or expose private operational details.

Install

Use this now:

npx -y @printyourduck/mcp

For team-shared or reproducible client configs, pin a package version:

npx -y @printyourduck/mcp@<version>

Client Setup

MCP client configuration files are not identical across clients. Use the shape expected by your client, then restart or refresh that client so it reloads the server.

Claude Code, local user setup:

claude mcp add --transport stdio printyourduck -- npx -y @printyourduck/mcp

Claude Code, project-shared .mcp.json:

{
  "mcpServers": {
    "printyourduck": {
      "command": "npx",
      "args": ["-y", "@printyourduck/mcp"]
    }
  }
}

Use project-shared .mcp.json only when a repository should intentionally offer PrintYourDuck tools to everyone opening that project. Claude Code prompts for approval before using project-scoped MCP servers.

VS Code workspace setup in .vscode/mcp.json:

{
  "servers": {
    "printyourduck": {
      "command": "npx",
      "args": ["-y", "@printyourduck/mcp"]
    }
  }
}

Clients that use the common mcpServers shape can use the Claude Code project snippet above.

Test the local server with MCP Inspector:

npx -y @modelcontextprotocol/inspector npx -y @printyourduck/mcp

Docker, after verifying the GHCR image is public:

docker run --rm -i ghcr.io/printyourduck/printyourduck-mcp:<version>

Remote-capable MCP clients can connect today:

https://printyourduck.com/api/mcp

Claude Code remote HTTP setup:

claude mcp add --transport http printyourduck https://printyourduck.com/api/mcp

Tools

Tool

Purpose

Network/File Access

get_printyourduck_quote_requirements

Returns accepted file types, material choices, required confirmations, and safety boundaries.

No local file access. No network.

find_recent_printable_files

Finds recent printable files under an allowed local project directory.

Read-only local file metadata.

submit_local_file_for_quote

Uploads one user-approved local file and creates a manual quote request.

Reads one allowed local file, uploads privately, then submits to PrintYourDuck.

get_quote_status

Looks up public-safe quote status with quote ID and matching email.

Network request to PrintYourDuck only.

Local file discovery and upload are limited to the current working directory by default. Set PRINTYOURDUCK_MCP_ALLOWED_ROOTS to a path-delimited allowlist when the MCP client should access additional project directories.

submit_local_file_for_quote derives a stable submissionId from the selected file and quote details unless the caller provides one. Reuse that ID on retry to avoid duplicate manual quote requests. The helper also caches the uploaded private file key locally by submissionId and file hash so retries can reuse the same uploaded file reference when the upload service returns a generated Blob key.

Guardrails

This server preserves the PrintYourDuck manual-quote boundary:

  • no instant pricing today;

  • no payment at upload;

  • no checkout automation;

  • no local-production, Canadian-made-production, or guaranteed-delivery claims;

  • no supplier locations, fulfilment routes, carrier strategy, supplier costs, margin logic, private file references, or customer data in public responses.

Price ranges or instant estimates are a valid future capability only when they are explicitly scoped, tested, publicly documented, and clearly separated from checkout or payment collection.

Development

pnpm install
pnpm check:release

Useful checks:

pnpm check          # lint, tests, typecheck
pnpm check:security # audit, gitleaks, trufflehog
pnpm check:mcp      # stdio initialize, tool list, fixture discovery, path guard
pnpm check:pack     # npm tarball allowlist

pnpm check:mcp builds the server, starts it over stdio, verifies initialize and tool metadata, creates a temporary .stl fixture, verifies local discovery, and verifies files outside allowed roots are rejected before upload.

Run the live production smoke only when you intentionally want to create a real quote request:

PRINTYOURDUCK_MCP_LIVE_SMOKE=1 \
PRINTYOURDUCK_MCP_SMOKE_EMAIL=operator@example.com \
pnpm smoke:live

The live smoke uploads a tiny fixture through https://printyourduck.com, submits one manual quote request, and verifies get_quote_status returns.

Release Checklist

Only claim npm local-helper installability after all of these pass:

pnpm check:release
npm view @printyourduck/mcp version
VERSION="$(npm view @printyourduck/mcp version)"
gh release view "mcp-v${VERSION}"
PRINTYOURDUCK_MCP_LIVE_SMOKE=1 PRINTYOURDUCK_MCP_SMOKE_EMAIL=operator@example.com pnpm smoke:live

Release npm package changes from this dedicated MCP repository, not from the website repository.

For each tagged release, verify the npm package was published from the tagged commit:

VERSION="$(node -p "require('./package.json').version")"
test "$(npm view "@printyourduck/mcp@${VERSION}" gitHead)" = "$(git rev-parse HEAD)"
npm view "@printyourduck/mcp@${VERSION}" dist.tarball dist.integrity

The MCP Registry name is com.printyourduck/quote, so publication uses domain-based HTTP authentication for printyourduck.com. Serve the public v=MCPv1; ... record from https://printyourduck.com/.well-known/mcp-registry-auth and keep the matching private key only in the MCP_REGISTRY_PRIVATE_KEY GitHub Actions secret for this repository.

Only claim MCP Registry publication after this passes:

curl -f "https://registry.modelcontextprotocol.io/v0/servers/com.printyourduck%2Fquote/versions"

Before tagging a release, make the GHCR package public in GitHub's package settings. The release workflow fails before publishing npm if ghcr.io/printyourduck/printyourduck-mcp is still private, because the public release must be anonymously pullable.

Only claim OCI/container installability after making package visibility public and running:

VERSION="$(node -p "require('./package.json').version")"
DOCKER_CONFIG="$(mktemp -d)" docker manifest inspect "ghcr.io/printyourduck/printyourduck-mcp:${VERSION}"

Contributing

See CONTRIBUTING.md. Good first areas include client setup docs, path-safety hardening, MCP metadata safety, package release checks, and public-safe examples.

For security issues, see SECURITY.md. Do not include secrets, customer files, private file references, supplier/cost/margin details, or dashboard screenshots in public issues.

Available Tools

4 tools
find_recent_printable_filesFind Recent Printable FilesA
Read-onlyIdempotent
Inspect

Find recent local 3D print files in a project directory. Alias intents: find generated model, locate printable file, scan project for STL/STEP/3MF/OBJ/ZIP. Read-only and does not upload anything.

NameRequiredDescriptionDefault
maxDepthNo
maxResultsNo
rootDirectoryNo

Output Schema

NameRequiredDescription
filesYes
get_printyourduck_quote_requirementsGet PrintYourDuck Quote RequirementsA
Read-onlyIdempotent
Inspect

Read public requirements for a PrintYourDuck manual custom 3D printing quote request. Use this before submitting local files to check accepted file types, material options, confirmations, restrictions, and the private-upload flow. Does not calculate instant pricing.

NameRequiredDescriptionDefault

No parameters

Output Schema

NameRequiredDescription
workflowYes
boundariesYes
maxFileSizeBytesYes
materialPreferencesYes
requiredConfirmationsYes
acceptedFileExtensionsYes
get_quote_statusGet PrintYourDuck Quote StatusA
Read-onlyIdempotent
Inspect

Look up public-safe PrintYourDuck quote status using the quote request ID and matching customer email. Does not expose private file keys, payment URLs, supplier details, or sensitive operational data.

NameRequiredDescriptionDefault
emailYes
quoteRequestIdYes

Output Schema

NameRequiredDescription
okYes
errorNo
statusNo
messageNo
createdAtNo
updatedAtNo
marketRegionNo
paymentStatusNo
quoteRequestIdNo
expectedQuoteTimeNo
trackingAvailableNo
submit_local_file_for_quoteSubmit Local File For PrintYourDuck QuoteAInspect

Upload one selected local 3D file privately and submit it for manual PrintYourDuck quote review. Alias intents: submit local model for quote, request manual print quote, upload generated 3D file. Requires explicit confirmations and user approval. No payment is collected and no instant price is returned.

NameRequiredDescriptionDefault
cityNo
nameYes
emailYes
notesNo
phoneNo
countryYes
filePathYes
quantityYes
submissionIdNo
desiredDeadlineNo
rightsConfirmedYes
materialPreferenceYes
manualQuoteConfirmedYes
restrictedItemConfirmedYes
userSubmissionConfirmedYes

Output Schema

NameRequiredDescription
okYes
errorNo
statusNo
messageNo
quoteRequestIdNo
expectedQuoteTimeNo

Tool Schema Changelog

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

  1. 4 tool updatesv0.1.2
    • First observedfind_recent_printable_files
    • First observedget_printyourduck_quote_requirements
    • First observedget_quote_status
    • First observedsubmit_local_file_for_quote

TDQS

A4.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool targets a distinct step in the quote workflow: requirements lookup, local file discovery, submission, and status retrieval. There is no functional overlap, and descriptions clearly reinforce the boundaries between read-only actions and the submission action.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern with clear, distinct verbs (get, find, submit). Although some names are long, the naming style and structure are uniform.

Tool Count5/5

Four tools is a well-scoped count for a focused manual quote request workflow. Each tool corresponds to a necessary step without redundancy or bloat.

Completeness5/5

The tool set covers the full quote request lifecycle: reading requirements, locating a printable file, submitting it for review, and checking status. There are no obvious missing operations that would create dead ends.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    B
    maintenance
    Enables interaction with 3D printer management systems through an MCP server, supporting STL file manipulation, slicing, and control of printers like OctoPrint, Klipper, Duet, and more.
    30
    9,494 npm
    262
    GPL 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to connect Claude with various 3D printer management systems, allowing tasks like printer status monitoring, file management, print job control, and STL file manipulation.
    9,494 npm
    GPL 2.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP clients to submit, slice, and start 3D prints with configurable gates, preview approval, and monitoring, via a self-hosted print daemon.
    MIT