Listed from the MCP registry; nobody on Odel publishes it.
Is this yours? Claim itPreflight and convert 450+ file types for AI via TweekIT MCP & SDK (Cloud CGN or On-Prem Miner).
One address for any MCP client. No sign-in needed on this server.
5 read1 act2 other
Grouped by tool name. At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Ingest, Preflight, and Convert Just About Any Filetype Into AI Workflows — Official Open-Source Package by AMPS dba Equilibrium
Current version: v1.8.3
🤖 Claude & AI Hub Users: Tired of "unsupported file type" errors? Jump to our Claude File Format Enabler – a browser-based tool that converts 450+ formats (DOC, XLS, PSD, DWG, Camera RAW, etc.) into AI-compatible files in seconds, or use our built-in Python
preflight_checkandTweekitClientSDK directly in your pipeline.
TweekIT MCP Server is the universal media translator for AI workflows, making any file ready for processing in seconds. Built on the robust content processing engine of Equilibrium's MediaRich Server, a technology developed since 2000 and trusted by massive portals and media companies worldwide, TweekIT brings decades of expertise in handling complex media, drawing on a pedigree that includes the renowned DeBabelizer.
With TweekIT, you can upload, preview, transform, and download over 400 supported file types using a consistent API or widget interface. It removes the pain of unpredictable input formats by automatically normalizing and preparing assets for the next step in your workflow.
TweekIT is a universal media ingestion and transformation service designed to take any supported file and make it AI ready in seconds. Whether you are normalizing formats, resizing assets, or extracting a single page from a complex document, TweekIT provides a consistent, API first way to get exactly the output you need without worrying about the quirks of individual file types.
In a Model Context Protocol (MCP) workflow, TweekIT acts like a universal translator for media. It sits between your AI agent and the unpredictable real world files it encounters, ensuring every asset is transformed into a compatible, standardized format before processing. This is similar to how GitHub Actions streamlines software automation, but applied to media handling in AI pipelines.
With TweekIT in your MCP toolset, your agents can:
🤖 Claude Users: See Solving Claude's File Type Limitations for a dedicated guide on using TweekIT to overcome Claude's built-in file format restrictions and our standalone web converter tool.
A user uploads a scanned PDF of an ID card as part of an onboarding process. Your MCP agent calls TweekIT to:
The entire process happens in seconds, and your workflow never sees an incompatible file format.
httpx library for HTTP requestsFastMCP for tool registration and server functionality# Using pip
pip install tweekit
# Using uv
uv pip install tweekit
# Run directly as an MCP server with zero local setup via uvx
uvx tweekit --transport stdio
# Using pipx / uv tool (isolated CLI environment)
uv tool install tweekit
Run the MCP server locally (tweekit and tweekit-mcp CLIs are both installed):
tweekit-mcp --transport streamable-http --port 8080
The CLI wraps server.py and accepts the same flags (--transport, --host, --port).
tweekit / tweekit_mcp)Installing tweekit from PyPI ships the full Python SDK (import tweekit or import tweekit_mcp) for both MCP client workflows and direct REST API integrations, plus the AI Hub preflight & modality router (powering Maitrix AI Hub multimodal file ingestion):
import asyncio
from pathlib import Path
from tweekit import (
TweekitClient,
TweekitDirectClient,
preflight_check,
)
# 1. Instant local preflight & AI provider format recommendation (no network roundtrip)
check = preflight_check("blueprint.dwg", target_provider="claude")
print(check["supported"], check["category"], check["recommended_outfmt"])
# -> True, 'design_vector_cad', 'png'
# 2. Direct Async Python SDK (calls TweekIT API directly via httpx)
async def run_direct():
async with TweekitDirectClient() as api:
result = await api.convert_file(
Path("presentation.ppt"),
outfmt="pdf",
output_path=Path("presentation_ai_ready.pdf"),
)
print("Saved:", result)
# 3. Async MCP Client (connects to https://mcp.tweekit.io/mcp or local stdio server)
async def run_mcp():
async with TweekitClient() as client:
tools = await client.list_tools()
batch_results = await client.batch_convert([
{"url": "https://example.com/scan.tiff", "outfmt": "png"},
{"path": "legacy_sheet.xls", "outfmt": "pdf"},
])
print("Tools:", tools, "Batch:", len(batch_results))
asyncio.run(run_direct())
git clone https://github.com/equilibrium-team/tweekit-mcp.git
cd tweekit-mcp
uv sync # or: pip install -r requirements.txt
Set environment variables as needed:
start_services.sh (default: 8000).Create your free TweekIT account and get started with 10,000 API calls included at no cost.
Pricing and Signup here to generate your API credentials in the MANAGE ACCOUNT page and start using the service.
TweekIT MCP authenticates using your API Key and Secret configured in MCP client headers (for hosted Streamable HTTP) or TWEEKIT_API_KEY / TWEEKIT_API_SECRET environment variables (for local stdio).
Security Rule: Never place
TWEEKIT_API_KEYorTWEEKIT_API_SECRETinside natural-language prompts or LLM tool-call arguments. Credentials are intentionally excluded from MCP tool schemas so they never appear in model context or conversation logs.
Once your MCP client is configured with ApiKey and ApiSecret HTTP headers (or TWEEKIT_API_KEY / TWEEKIT_API_SECRET environment variables), call convert with only document and geometry arguments:
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "png",
"outfmt": "png",
"blob": "iVBORw0KGgoAAAANSUhEUgAAABwAAAA6CAYAAACj+Dm/AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAAHnRFWHRTb2Z0d2FyZQBFcXVpbGlicml1bSBNZWRpYVJpY2h7w4AAAAAB30lEQVRYhe2Xv0vDQBTHP4rQTRGhLqKiYt38MaggKIi46e6im2Rw7FJw7NAh4uAi+h/oIDgKnR3VQZROKiLYrZtOOiQH1+RevJQ0INwXQt7de7lP++7l7tJTq9XIU7250hzQAR3QAR3QAXMH3gM/wG0ewHtgNrSXgXo3gXUNprTSLaAPrBv6C4DXDeBBgm8ha+ArwT+RNJkl8BoY/SNmKiugB2xaxA1nBayQnEolY+GkBdqkUlescNIAPWBL8D0I/bHCSQOsCP3fwFx4jypWOLbApFRehfdPgy9WODbApKpsATuh/WHwxwrHBphUlRea/SLErKUBniGn8g3Y19qPQtx4GuBugu8y0q4KcRN6oy9hwFvkVDaAfoKtaQgYBAaE2KINsE6wkUqaDi9b+UBZAn5ht3Sl0bwyTHOYNQxgRAIad+kMNJY3sAAcQvscesQPQ7qaBPP7Bbxr/XeaXab9BKdrMQrcS4AdhYPZ6EkArkJ7SucNQRC8c7YwCNZW084xAPgKeI25Or+B4xQwpWehf0MBl4SAG+C0A6D0zIwCFg3OJrDdAUwBTaeAggI2DM6TDmFKcwT7pa6GApY0aAs4R17908gnyBTh+CX9tShlAIiqSuSH/+sPUgd0QAf8J8BfT2hGnMaA5CUAAAAASUVORK5CYII=",
"noRasterize": false,
"width": 30,
"height": 30,
"page": 1,
"bgColor": ""
}
},
"jsonrpc": "2.0",
"id": 4
}
You can explore TweekIT visually before writing any code. The live demo lets you upload files, apply transformations, and download the results instantly.
TweekIT supports multiple authentication methods (REST API, APP ID method is ONLY for using). Set up your API Key and Secret so you can start quickly while maintaining security best practices.
This is the most secure and flexible option. Use this for all production deployments.
Steps:
Security Tips:
Next Steps:
Once authenticated, you can:
All tools and resources are available here, used for testing and free trials:
The currently available resource name is 'version'. The currently available tool names are 'doctype', 'convert', and 'convert_url'. See below for parameters, or query the MCP server as it will return metadata instructing use of each of these.
The project tracks semantic versions in major.minor.build format (for example, 1.8.3). Use scripts/bump_version.py to keep every metadata file aligned:
# Increment just the build number (e.g., 1.8.1 -> 1.8.3)
python scripts/bump_version.py --bump-build
# Set an explicit version
python scripts/bump_version.py --set 1.8.3
The script updates VERSION, pyproject.toml, server.py, server.json, claude/manifest.json, README.md, and uv.lock so container builds, manifests, and docs stay synchronized.
For regulated enterprises, confidential local workspaces, air-gapped networks, and workstations running the New Miner Installation Initiative, TweekIT's Miner Renderery (CGNMiner / MediaRich CORE™ + TweekIT_API local gateway) can be installed directly on-premises or on localhost.
When paired with a local Miner Renderery (http://127.0.0.1:16377/api/image/ or http://127.0.0.1:5000/api/image/), tweekit-mcp processes all 450+ document, image, CAD, RAW, and Office formats 100% on localhost with zero third-party cloud data egress:
# Launch tweekit-mcp against the localhost Miner Renderery in zero-cloud-egress mode:
TWEEKIT_ALLOW_LOCAL_FILES=1 \
TWEEKIT_ALLOWED_DIRS=/path/to/workspace \
TWEEKIT_MINER_NOAUTH=1 \
tweekit-mcp --transport stdio --local-miner
Key environment variables for On-Premises / Localhost Miner Renderery mode:
TWEEKIT_API_BASE_URL: Override the TweekIT API endpoint (defaults to http://127.0.0.1:16377/api/image/ when --local-miner or TWEEKIT_MINER_LOCAL=1 is set; container Kestrel profile uses http://127.0.0.1:5000/api/image/).TWEEKIT_LOCAL_ONLY=1: Enforces zero cloud egress — verifies that TWEEKIT_API_BASE_URL resolves strictly to localhost (127.0.0.1, ::1, localhost) or an allowlisted internal node in TWEEKIT_ONPREM_HOSTS, and disables outbound internet tools (convert_url, fetch, search).TWEEKIT_REQUIRE_LOCAL_MINER_FOR_FILES=1: Restricts convert_file so local workspace files can only be converted when connected to a localhost or on-premises Miner Renderery.TWEEKIT_MINER_NOAUTH=1: Permits local stdio connections to a loopback NOAUTH;NODB Miner Renderery without requiring cloud portal API credentials.config://tweekit-runtime-mode): MCP resource returning JSON metadata (execution_mode: "onprem-miner-renderery" vs "cloud-cgn", local_only_zero_egress, local_files_enabled).See the full architecture and last-mile installation specification in docs/onprem-miner-renderery-spec.md and our defense-in-depth security controls in SECURITY.md.
You can run the TweekIT MCP server locally or connect to a hosted instance. The local option is recommended for development and testing.
Local Installation
git clone https://github.com/equilibrium-team/tweekit-mcp.git
cd tweekit-mcp
pip install -r requirements.txt
Run the server:
uv run server.py
The server will listen on:
Local Development Mode
By default, server.py will bind to localhost on port 8080. You can override the port with the PORT environment variable:
PORT=9090 uv run server.py
Use the provided script to build and deploy containerized stage or production services on Google Cloud Run.
Prerequisites:
tweekitmcp-a26b6 by default).gcloud CLI authenticated (gcloud auth login) and, if your standard config directory is read-only, a writable export such as export CLOUDSDK_CONFIG="$(pwd)/.gcloud-config".Run the container locally with Docker (builds image tweekit-mcp-local:dev and binds to 8080):
bash scripts/deploy_cloud_run.sh local --version dev
Deploy to staging (creates/updates the tweekit-mcp-stage service):
bash scripts/deploy_cloud_run.sh stage --version 1.8.1
Deploy to production (updates the tweekit-mcp service):
bash scripts/deploy_cloud_run.sh prod --version 1.8.1
Pass --project <PROJECT_ID> if you need to override the active gcloud configuration, and --env-file <path> to supply Cloud Run environment variables in YAML format.
The helper scripts never bundle credentials. Always provide your own Google Cloud project, region, and secret sources when running them; Equilibrium’s staging/prod keys live in managed secret stores and are intentionally excluded from this repository.
Python dependencies for Firebase Functions are resolved at deploy time.
scripts/deploy_firebase.shwill vendor them intofunctions/packages/locally (a gitignored directory) so the repo stays lightweight.
.mcpb bundle available).--mcp-server flag or ~/.codex/config.yaml).~/.cursor/mcp.json).~/.continue/config.json).Examples
Claude Desktop (config snippet):
{
"mcpServers": {
"tweekit": {
"transport": { "type": "http", "url": "https://mcp.tweekit.io/mcp" }
}
}
}
Claude tool call (arguments example — credentials supplied via transport headers or env vars):
{
"name": "convert",
"arguments": {
"inext": "png",
"outfmt": "webp",
"blob": "<base64>",
"width": 300,
"height": 300
}
}
OpenAI (Node, using MCP TypeScript client):
import { Client } from "@modelcontextprotocol/sdk/client";
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js";
const transport = new StreamableHTTPClientTransport(new URL("https://mcp.tweekit.io/mcp"), {
requestInit: {
headers: {
ApiKey: process.env.TWEEKIT_API_KEY ?? "",
ApiSecret: process.env.TWEEKIT_API_SECRET ?? "",
},
},
});
const client = new Client({ name: "tweekit-example", version: "1.0.0" }, { capabilities: {} });
await client.connect(transport);
const tools = await client.listTools();
const res = await client.callTool({
name: "doctype",
arguments: { extension: "pdf" },
});
console.log(res);
OpenAI (Python, quick call):
import asyncio
import os
from fastmcp import Client
from fastmcp.client.transports import StreamableHttpTransport
async def main():
transport = StreamableHttpTransport(
"https://mcp.tweekit.io/mcp",
headers={
"ApiKey": os.environ["TWEEKIT_API_KEY"],
"ApiSecret": os.environ["TWEEKIT_API_SECRET"],
},
)
async with Client(transport) as c:
print(await c.list_tools())
out = await c.call_tool(
"convert",
{
"inext": "png",
"outfmt": "txt",
"blob": "<base64>",
},
)
print(out)
asyncio.run(main())
There are two ways to use Tweekit inside Claude Desktop:
https://mcp.tweekit.io/mcp via Settings → Connectors → Advanced → Developer Mode → “Add HTTP server.”.mcpb) – install the packaged stdio server so you can work offline or ship curated builds.We maintain the local bundle with scripts/build_claude_bundle.py and the guided helper scripts/configure_claude_desktop.py. The helper walks through version selection, bundle generation, dxt manifest validation, and finally reminds you to import the resulting dist/tweekit-claude.mcpb. It also reiterates that our production Tier 1 headless nodes run on Equilibrium-owned CPUcoin enterprise miners inside SAS 70 / ISO 27001 compliant data centers—the local bundle mirrors the same feature set.
After connecting (either method):
convert with a base64 blob (credentials come from your configured headers or env vars):{
"name": "convert",
"arguments": { "inext": "png", "outfmt": "webp", "blob": "<base64>" }
}
If your ChatGPT environment supports MCP tools, add an HTTP MCP server pointing to the public endpoint with ApiKey and ApiSecret headers.
https://mcp.tweekit.io/mcp (HTTP transport){ "name": "doctype", "arguments": { "extension": "pdf" } }
{
"name": "convert",
"arguments": {
"inext": "png",
"outfmt": "txt",
"blob": "<base64>"
}
}
Cursor loads MCP configuration from ~/.cursor/mcp.json. To enable the hosted TweekIT server, merge the snippet below (also published at configs/cursor-mcp.json) into your existing file:
{
"mcpServers": {
"tweekit": {
"type": "http",
"url": "https://mcp.tweekit.io/mcp",
"headers": {
"ApiKey": "${TWEEKIT_API_KEY}",
"ApiSecret": "${TWEEKIT_API_SECRET}"
}
}
}
}
.env.example to .env, fill in TWEEKIT_API_KEY / TWEEKIT_API_SECRET, then source .env (or export the variables manually).version, doctype, convert, and convert_url are available.Continue (VS Code / JetBrains) stores MCP servers in ~/.continue/config.json. Add the TweekIT server under mcpServers (ready-to-copy JSON at configs/continue-mcp.json):
{
"mcpServers": {
"tweekit": {
"type": "streamable-http",
"url": "https://mcp.tweekit.io/mcp",
"headers": {
"ApiKey": "${TWEEKIT_API_KEY}",
"ApiSecret": "${TWEEKIT_API_SECRET}"
}
}
}
}
After saving the configuration:
doctype, convert, or convert_url with the appropriate parameters.OpenAI Codex CLI (@openai/codex) supports MCP servers as first-class plugins. There are two ways to add TweekIT:
Option A — One-liner easy plugin (no config file needed):
export TWEEKIT_API_KEY=your_key TWEEKIT_API_SECRET=your_secret
codex --mcp-server tweekit:https://mcp.tweekit.io/mcp
Pass the --mcp-server flag each session, or alias it in your shell profile for permanent access.
Option B — Persistent config (~/.codex/config.yaml):
Merge the entry below (also at configs/codex-mcp.yaml) into your Codex config:
mcpServers:
tweekit:
type: http
url: https://mcp.tweekit.io/mcp
headers:
ApiKey: “${TWEEKIT_API_KEY}”
ApiSecret: “${TWEEKIT_API_SECRET}”
After connecting via either method:
<url> to WebP at 800×600.”Install Codex CLI:
npm install -g @openai/codex
TweekIT offers a generous free tier so you can explore and integrate without cost.
If you exceed the free tier limit, you can upgrade to a paid plan at any time.
See the full pricing guide for details. You must have a token key pair to use the MCP Server:
https://www.tweekit.io/pricing/
When you reach your monthly quota, the API will respond with an HTTP 429 Too Many Requests status.
MCP Integration Tip:
Your MCP client should:
429 responses.Understanding these core concepts will help you get the most out of TweekIT in an MCP workflow.
TweekIT MCP Server uses this simple, stateless and secure pipeline for document processing requests.
TweekIT supports a wide range of transformations, applied at preview time:
TweekIT does not store your files persistently.
Description: Fetches the current version of the TweekIT API. Takes no parameters.
Description:
Returns this MCP server's version string (e.g., 1.8.1). Takes no parameters.
Authentication: All authenticated tools read credentials exclusively from HTTP request headers (
ApiKeyandApiSecret) or environment variables (TWEEKIT_API_KEYandTWEEKIT_API_SECRET). Never include secrets in natural-language prompts or tool arguments.
Description: Retrieves a list of supported input file formats or maps a file extension to its document type. If the document type field returned is empty, then the format isn't supported for reading.
Parameters:
Description: Converts a base64-encoded document to the specified output format.
Parameters:
Optional:
The image of the specified page (or page 1) will be returned in the response with the correct content type set. If noRasterize is set to true and all other conditions are met, a PDF of the contents of the entire submitted document will be returned.
Description: Downloads a public HTTPS document (with DNS SSRF, redirect, and download-size protections) and routes it through the TweekIT conversion pipeline without requiring the caller to supply base64 input.
Parameters:
https:// URL pointing to the source document.Optional:
/convert.Accept, Accept-Language, Cache-Control, If-Modified-Since, If-None-Match, Range, User-Agent).Returns: Same as /convert—binary image/file payloads surface as FastMCP Image/File objects; JSON responses are passed through.
Description: Converts a local file within an explicitly configured workspace directory without base64-encoding into the LLM context. Disabled by default (TWEEKIT_ALLOW_LOCAL_FILES=0) and always disabled over HTTP; opt in on local stdio servers by setting both TWEEKIT_ALLOW_LOCAL_FILES=1 and TWEEKIT_ALLOWED_DIRS=/path/to/workspace. Rejects existing and dangling symlinks (lstat + O_NOFOLLOW), blocks sensitive credential/dotfile paths, and refuses to overwrite existing files unless TWEEKIT_ALLOW_OVERWRITE=1 is set.
Description: Performs a lightweight DuckDuckGo query (no API keys required) and returns { query, results: [{ title, url, snippet }] }. It’s designed to help you locate public documents or images, then feed the URL directly into /convert_url. If your environment needs a different provider, swap the HTTP call in server.py—docs/quickstarts.md explains the rationale and where to customize it.
Parameters:
Description: Fetches a URL and returns content based on content-type.
Parameters:
http or https URL to fetch.Returns:
image resource for image/* responses.resource with format="pdf" for application/pdf.text and metadata.resource with format="bin".Please refer to the documentation at (https://tweekit.io/docs/rest-api/) to get an understanding of how the MCP server talks to the TweekIT REST API to proxy MCP requests to TweekIT.
Below are common workflows where TweekIT improves reliability and speed in media processing. Each example shows both REST API and MCP usage patterns.
Automatically crop and resize images into a consistent size and format.
MCP Example
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "png",
"outfmt": "png",
"blob": "iVBORw0KGgoAAAANSUhEUgAAABwAAAA6CAYAAACj+Dm/AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAAsSAAALEgHS3X78AAAAHnRFWHRTb2Z0d2FyZQBFcXVpbGlicml1bSBNZWRpYVJpY2h7w4AAAAAB30lEQVRYhe2Xv0vDQBTHP4rQTRGhLqKiYt38MaggKIi46e6im2Rw7FJw7NAh4uAi+h/oIDgKnR3VQZROKiLYrZtOOiQH1+RevJQ0INwXQt7de7lP++7l7tJTq9XIU7250hzQAR3QAR3QAXMH3gM/wG0ewHtgNrSXgXo3gXUNprTSLaAPrBv6C4DXDeBBgm8ha+ArwT+RNJkl8BoY/SNmKiugB2xaxA1nBayQnEolY+GkBdqkUlescNIAPWBL8D0I/bHCSQOsCP3fwFx4jypWOLbApFRehfdPgy9WODbApKpsATuh/WHwxwrHBphUlRea/SLErKUBniGn8g3Y19qPQtx4GuBugu8y0q4KcRN6oy9hwFvkVDaAfoKtaQgYBAaE2KINsE6wkUqaDi9b+UBZAn5ht3Sl0bwyTHOYNQxgRAIad+kMNJY3sAAcQvscesQPQ7qaBPP7Bbxr/XeaXab9BKdrMQrcS4AdhYPZ6EkArkJ7SucNQRC8c7YwCNZW084xAPgKeI25Or+B4xQwpWehf0MBl4SAG+C0A6D0zIwCFg3OJrDdAUwBTaeAggI2DM6TDmFKcwT7pa6GApY0aAs4R17908gnyBTh+CX9tShlAIiqSuSH/+sPUgd0QAf8J8BfT2hGnMaA5CUAAAAASUVORK5CYII=",
"noRasterize": false,
"width": 30,
"height": 30,
"page": 1,
"bgColor": ""
}
}
}
Equivalent REST Example (requires a separate upload step)
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"width": 30, "height": 30, "fmt": "png"}'
Process identity document photos into standardized formats for automated verification.
MCP Example
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "jpg",
"outfmt": "webp",
"blob": "{Your base64 encoded photo}",
"width": 600,
"height": 600,
"bgColor": "FFFFFF"
}
}
}
Equivalent REST Example
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"width": 600, "height": 400, "fmt": "webp", "bgcolor": "#FFFFFF"}'
Generate platform-specific product images with correct aspect ratios and background fills.
MCP Example
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "jpg",
"outfmt": "jpg",
"blob": "{Your base64 encoded photo}",
"width": 1080,
"height": 1080,
"bgColor": "FFFFFF"
}
}
}
Equivalent REST Example
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"width": 1080, "height": 1080, "fmt": "jpg", "bgcolor": "#FFFFFF"}'
Convert files between formats for compatibility across different tools and workflows.
MCP Example
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "{filename extension of the input doc}",
"outfmt": "webp",
"blob": "{Your base64 encoded document}"
}
}
}
Equivalent REST Example
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"fmt": "webp"}'
Convert complex document or legacy filetypes from original formats into PDF files for compatibility into your current AI workflow.
MCP Example
{
"method": "tools/call",
"params": {
"name": "convert",
"arguments": {
"inext": "{filename extension of the input doc}",
"outfmt": "pdf",
"noRasterize": true,
"blob": "{Your base64 encoded document}"
}
}
}
Equivalent REST Example
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"fmt": "pdf", noRasterize: true}'
To immediately delete a document and all its associated files before the 20-minute auto-expiry, use the DELETE endpoint. This is useful when a user cancels a workflow mid-session. The MCP delete_document tool wraps this call.
curl -X DELETE "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}"
Note: Documents expire automatically after 20 minutes regardless. Explicit deletion is optional but recommended for security-sensitive workflows.
TweekIT includes an interactive MCP-ready demo that lets you try the upload, preview, and transformation workflow in your browser — then see the exact code needed to reproduce those actions in your own project.
Open the Live Demo to:
The demo provides a drag-and-drop or click-to-upload interface for selecting files. Once uploaded, you’ll see:
Adjust transformation parameters directly in the browser:
Changes are applied in real time using the same REST endpoints your application will call.
Every action in the demo can display corresponding code for:
Node.js
await fetch(`https://www.tweekit.io/tweekit/api/image/preview/${docId}`, {
method: 'POST',
headers: { "apikey": "{Your API Key}", "apisecret": "{Your API Secret}" },
body: JSON.stringify({ width: 300, height: 300, fmt: 'png' })
});
curl
curl -X POST "https://dapp.tweekit.io/tweekit/api/image/{docId}" \
-H "apikey: {Your API Key}" \
-H "apisecret: {Your API Secret}" \
-H "Content-Type: application/json;charset=UTF-8" \
-d '{"width": 300, "height": 300, "fmt": "png"}'
Building robust MCP workflows with TweekIT means anticipating and handling common error scenarios. The API returns clear HTTP status codes and error payloads so your client or MCP action can respond appropriately.
Bad Format
Cause: The file format is unsupported or the requested output format is invalid.
Resolution: Check the supported file formats list in the docs. Ensure transformations request a valid fmt value.
HTTP Status: 400 Bad Request
Error Example:
{
"error": "invalid_format",
"message": "The requested format is not supported."
}
Quota Exceeded
Cause: Monthly API call limit reached.
Resolution: Upgrade to a higher plan or wait until quota resets.
HTTP Status: 429 Too Many Requests
Error Example:
{
"error": "rate_limit_exceeded",
"message": "You have reached your 10,000 call monthly limit."
}
5xx), retry up to 3 times with exponential backoff.When using TweekIT in an MCP context:
For teams pushing TweekIT beyond simple transformations, these advanced techniques can help you integrate deeper into AI pipelines, improve performance, and harden security.
TweekIT can serve as the pre-processing layer for AI workflows, ensuring inputs are in the correct format and size before being fed to downstream models. Instead of errors or bad/non-existent conversions, just use tweekit, to make sure the file can be used as intended.
Examples
In MCP, chain TweekIT transformations before invoking the AI model action.
fmt (rest) outfmt (MCP) and compression-friendly formats like webp for faster delivery.Preparing for MCP registries (Pulse, OpenAI, Anthropic, etc.)? Track the public requirements in docs/mcp-pulse-checklist.md. The checklist covers:
pytest, optional staging sweeps)Keep the outstanding tasks section current before every submission.
Use the links below for deeper technical reference, pricing details, and support.
API Reference
TweekIT REST API Documentation
Full endpoint list, parameters, authentication methods, and sample code.
Widget API Reference
TweekIT Widget Documentation
Constructor options, properties, methods, and event listeners.
Pricing
TweekIT Pricing Guide
Free tier details, paid plan tiers, and overage rates.
Claude Desktop Bundle Guide
docs/claude-bundle.md
Step-by-step packaging instructions, the configure_claude_desktop.py helper, and security context for our Tier 1 headless nodes.
Search Tool & Remote Assets
docs/quickstarts.md
Explains how the DuckDuckGo-backed search tool helps you locate files before running convert_url, plus notes on swapping providers.
Support Contact Email: support@tweekit.io Submit tickets for technical help, account issues, or feature requests.
Claude, ChatGPT, and other AI tools have built-in file type limitations that prevent you from analyzing, extracting, or working with hundreds of common file formats. While Claude can read PDFs and common image formats (PNG, JPEG, WebP), it cannot directly process:
Note: While newer XML-based formats like DOCX, XLSX, PPTX may have better support, legacy binary Office formats (DOC, XLS, PPT) and specialized formats consistently cause issues.
This creates a frustrating workflow bottleneck: you have a file with valuable content, but your AI tool simply rejects it.
TweekIT MCP Server solves this problem by acting as a universal translator that converts any of 450+ file formats into Claude-compatible formats (PDF, PNG, JPEG, WebP). This means:
✅ No more "unsupported file type" errors ✅ Analyze content from ANY document format ✅ Extract text and data from legacy files ✅ Work with professional design files in AI workflows ✅ Convert office documents into AI-readable PDFs
We've created a standalone web converter specifically designed to help users of Claude, OpenAI, and other AI tools overcome file type limitations:
Location: examples/web-converter/index.html
Purpose: Convert unsupported file types into AI-compatible formats (PDF, PNG, JPEG, WebP) before uploading to Claude, ChatGPT, or other AI tools
How to Use:
examples/web-converter/index.html in your browserCommon Use Cases:
For seamless integration within Claude Desktop, install the TweekIT MCP server:
{
"mcpServers": {
"tweekit": {
"transport": { "type": "http", "url": "https://mcp.tweekit.io/mcp" }
}
}
}
Then ask Claude to convert files directly:
"Use TweekIT to convert this DOC file to PDF so you can read it"
Claude will automatically call the TweekIT MCP server, convert the file, and return a Claude-compatible format.
Before TweekIT: User uploads legacy DOC file → Claude rejects it → User manually converts → User re-uploads → Workflow broken
With TweekIT: User uploads DOC file → Claude calls TweekIT → File converted to PDF → Claude reads it → Seamless workflow
This eliminates the frustration of file format limitations and enables Claude to work with virtually any file type.