TokPort
Generate images and videos (GPT Image, Seedance, Kling, Wan, Qwen) with one API key.
Sollte ich dies verwenden
Qualität und Sicherheit
Befunde (1)
- LOWin get_pricing
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"tokport": {
"url": "https://tokport.io/api/mcp"
}
}
}Remote-Endpunkte
https://tokport.io/api/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (8)
🟡search_models(q, modality, task, available)
Search the model catalog. Returns ids, modality, tasks, pricing and links. Use before calling run_model or submit_job to pick a model id.
Eingabe-Schema
{
"type": "object",
"properties": {
"q": {
"type": "string",
"description": "Free-text query over id, name, vendor and tags"
},
"modality": {
"type": "string",
"description": "image or video",
"enum": [
"image",
"video"
]
},
"task": {
"type": "string",
"description": "text-to-image | image-to-image | text-to-video | image-to-video"
},
"available": {
"type": "boolean",
"description": "Only models live on the gateway"
}
}
}🟢get_model_schema(model)
Input parameters (name, type, allowed values, defaults) and output shape for every task a model supports.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id, e.g. gpt-image-2"
}
},
"required": [
"model"
]
}🟢get_pricing(model)
Live price per image or per video clip for one model or all models.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id; omit for all models"
}
}
}⚪run_model(model, input, task)
Run a model synchronously with the caller's API key. Images return URLs; videos are queued and this waits up to 60 s before returning the queue status instead.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id"
},
"input": {
"type": "object",
"description": "Model input: prompt, size, n, image, seconds …",
"additionalProperties": true
},
"task": {
"type": "string",
"description": "Force the task kind (inferred otherwise)"
}
},
"required": [
"model",
"input"
]
}🟡submit_job(model, input, task, webhook, priority)
Queue a request and return its request_id immediately. Follow with check_job / get_job_result.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id"
},
"input": {
"type": "object",
"additionalProperties": true
},
"task": {
"type": "string",
"description": "Force the task kind (inferred otherwise)"
},
"webhook": {
"type": "string",
"description": "Public http(s) URL to POST the result to"
},
"priority": {
"type": "string",
"description": "normal or low",
"enum": [
"normal",
"low"
]
}
},
"required": [
"model",
"input"
]
}🟢check_job(model, request_id, logs)
Status of a queued request (IN_QUEUE / IN_PROGRESS / COMPLETED / FAILED / CANCELLED) with position, logs and metrics.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id"
},
"request_id": {
"type": "string",
"description": "req_… id"
},
"logs": {
"type": "boolean"
}
},
"required": [
"model",
"request_id"
]
}🟢get_job_result(model, request_id, timeout)
Result of a completed request; waits up to `timeout` seconds (max 60) when still running.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id"
},
"request_id": {
"type": "string",
"description": "req_… id"
},
"timeout": {
"type": "integer",
"minimum": 0,
"maximum": 60
}
},
"required": [
"model",
"request_id"
]
}🔴cancel_job(model, request_id)
Cancel a request while it is still queued.
Eingabe-Schema
{
"type": "object",
"properties": {
"model": {
"type": "string",
"description": "Model id"
},
"request_id": {
"type": "string",
"description": "req_… id"
}
},
"required": [
"model",
"request_id"
]
}Community
Nachweis