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"
}社区
证据