ConvertAPI MCP by usefulapi
Convert files between formats, read conversion options, quota and usage in ConvertAPI.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 convertapi_get_usage_statistics 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"convertapi": {
"url": "https://convertapi.usefulapi.io/mcp"
}
}
}遠端端點
https://convertapi.usefulapi.io/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢convertapi_get_account
Show the ConvertAPI account status and conversion quota: Active, Status, ConversionsTotal, ConversionsConsumed, ConversionsLeft. Call this first to check quota before converting. Never returns the account secret. ConvertAPI: GET /user.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢convertapi_get_usage_statistics(start_date, end_date)
Show conversions per day between two dates for this account, as JSON. Use it to report usage over a period. ConvertAPI: GET /user/statistic?startDate&endDate.
輸入結構描述
{
"type": "object",
"properties": {
"start_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "First day, yyyy-mm-dd."
},
"end_date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Last day, yyyy-mm-dd."
}
},
"required": [
"start_date",
"end_date"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢convertapi_get_converter(from_format, to_format)
Describe one conversion, for example pdf to docx: its title, the accepted source and destination formats, and the parameter names and types it takes. Read it before convert_file so the parameters are right. ConvertAPI: GET /info/openapi (catalog, filtered to one path).
輸入結構描述
{
"type": "object",
"properties": {
"from_format": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,10}$",
"description": "File format without the dot, for example pdf, docx, xlsx, jpg."
},
"to_format": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,10}$",
"description": "File format without the dot, for example pdf, docx, xlsx, jpg."
}
},
"required": [
"from_format",
"to_format"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴convertapi_convert_file(from_format, to_format, file_url, parameters)
Convert a file from one format to another. The file must be at a public https URL that ConvertAPI can read; local files cannot be sent. Each successful conversion costs ConversionCost conversions from the account quota. Returns download URLs that stay valid for a few hours. ConvertAPI: POST /convert/{from}/to/{to} (multipart, File=URL, StoreFile=true).
輸入結構描述
{
"type": "object",
"properties": {
"from_format": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,10}$",
"description": "File format without the dot, for example pdf, docx, xlsx, jpg."
},
"to_format": {
"type": "string",
"pattern": "^[a-zA-Z0-9]{1,10}$",
"description": "File format without the dot, for example pdf, docx, xlsx, jpg."
},
"file_url": {
"type": "string",
"pattern": "^https:\\/\\/",
"description": "Public https URL of the file to convert."
},
"parameters": {
"description": "Conversion parameters by name, as strings, for example { PageSize: \"A4\" }. See convertapi_get_converter.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"from_format",
"to_format",
"file_url"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社群
證據