PrintYourDuck Quote
Find and submit local 3D print files for manual PrintYourDuck quote review.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 get_printyourduck_quote_requirements 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"quote": {
"command": "npx",
"args": [
"@printyourduck/mcp"
]
}
}
}可執行的套件
0.1.1stdio遠端端點
https://printyourduck.com/api/mcpstreamable-http它能做什麼
工具清單
工具(3)
🟢get_printyourduck_quote_requirements
Read public requirements for a PrintYourDuck manual custom 3D printing quote request. Use this before submit_quote_request to check accepted file types, material options, confirmations, restrictions, and the private-upload flow. Does not calculate instant pricing.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"acceptedFileTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"maxFileSizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"maxFilesPerRequest": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"maxTotalFileSizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"materialPreferences": {
"type": "array",
"items": {
"type": "string"
}
},
"requestTypes": {
"type": "array",
"items": {
"type": "string"
}
},
"marketRegions": {
"type": "array",
"items": {
"type": "string"
}
},
"manualQuoteOnly": {
"type": "boolean"
},
"noPaymentAtUpload": {
"type": "boolean"
},
"requiredConfirmations": {
"type": "array",
"items": {
"type": "string"
}
},
"restrictions": {
"type": "array",
"items": {
"type": "string"
}
},
"uploadFlow": {
"type": "string"
}
},
"required": [
"acceptedFileTypes",
"maxFileSizeBytes",
"maxFilesPerRequest",
"maxTotalFileSizeBytes",
"materialPreferences",
"requestTypes",
"marketRegions",
"manualQuoteOnly",
"noPaymentAtUpload",
"requiredConfirmations",
"restrictions",
"uploadFlow"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟡submit_quote_request(submissionId, name, email, phone, city, ...)
Submit customer contact details and private uploaded file metadata for manual PrintYourDuck quote review. Alias intents: request a 3D print quote, send uploaded file for quote, submit manual quote request. Requires explicit confirmations and a stable submissionId for retries. No payment is collected and no instant price is returned.
輸入結構描述
{
"type": "object",
"properties": {
"submissionId": {
"type": "string",
"minLength": 8,
"maxLength": 120,
"pattern": "^[a-zA-Z0-9._:-]+$"
},
"name": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"phone": {
"type": "string",
"maxLength": 60
},
"city": {
"type": "string",
"maxLength": 120
},
"country": {
"type": "string",
"minLength": 1,
"maxLength": 120
},
"materialPreference": {
"type": "string",
"enum": [
"PLA",
"PETG",
"TPU_FLEXIBLE",
"RESIN",
"NOT_SURE"
]
},
"requestType": {
"type": "string",
"enum": [
"ONE_OFF",
"SMALL_BATCH",
"REPEAT_ORDER"
]
},
"quantity": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"desiredDeadline": {
"type": "string",
"maxLength": 120
},
"notes": {
"type": "string",
"maxLength": 5000
},
"rightsConfirmed": {
"type": "boolean",
"const": true
},
"restrictedItemConfirmed": {
"type": "boolean",
"const": true
},
"manualQuoteConfirmed": {
"type": "boolean",
"const": true
},
"userSubmissionConfirmed": {
"type": "boolean",
"const": true
},
"files": {
"minItems": 1,
"maxItems": 5,
"type": "array",
"items": {
"type": "object",
"properties": {
"originalFilename": {
"type": "string",
"minLength": 1,
"maxLength": 260
},
"storedFilename": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"fileType": {
"type": "string",
"maxLength": 40
},
"fileSizeBytes": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"storageUrlOrKey": {
"type": "string",
"minLength": 1,
"maxLength": 600
},
"contentType": {
"type": "string",
"maxLength": 120
},
"contentHash": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
},
"required": [
"originalFilename",
"fileSizeBytes",
"storageUrlOrKey"
]
}
}
},
"required": [
"submissionId",
"name",
"email",
"country",
"materialPreference",
"quantity",
"rightsConfirmed",
"restrictedItemConfirmed",
"manualQuoteConfirmed",
"userSubmissionConfirmed",
"files"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"ok": {
"type": "boolean"
},
"quoteRequestId": {
"type": "string"
},
"status": {
"type": "string"
},
"message": {
"type": "string"
},
"expectedQuoteTime": {
"type": "string"
},
"error": {
"type": "string"
},
"issues": {
"type": "array",
"items": {
"type": "object",
"properties": {
"field": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"field",
"message"
],
"additionalProperties": false
}
}
},
"required": [
"ok",
"message"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_quote_status(quoteRequestId, email)
Look up public-safe quote status using the quote request ID and matching customer email. Alias intents: check quote status, check manual review status, check payment-link availability. Does not expose private file keys, payment URLs, or sensitive operational details.
輸入結構描述
{
"type": "object",
"properties": {
"quoteRequestId": {
"type": "string",
"minLength": 1,
"maxLength": 80
},
"email": {
"type": "string",
"maxLength": 254,
"format": "email",
"pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
}
},
"required": [
"quoteRequestId",
"email"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}輸出結構描述
{
"type": "object",
"properties": {
"found": {
"type": "boolean"
},
"quoteRequestId": {
"type": "string"
},
"status": {
"type": "string"
},
"marketRegion": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"expectedQuoteTime": {
"type": "string"
},
"paymentStatus": {
"type": "string"
},
"shippedAt": {
"type": "string"
},
"trackingAvailable": {
"type": "boolean"
},
"message": {
"type": "string"
}
},
"required": [
"found"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}社群
證據