Skip to main content
Glama

Server Details

Normalize and convert more than 400 file types via TweekIT's hosted MCP streamable HTTP endpoint.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL
Repository
equilibrium-team/tweekit-mcp
GitHub Stars
1

Available Tools

5 tools
convertTry in Inspector

Convert an uploaded document payload with TweekIT.

The file must already be base64 encoded (see blob). The conversion can be resized and cropped by providing optional geometry parameters. For raster outputs, set alpha/bgColor to control transparency handling.

Args: inext: Source file extension such as pdf, docx, or png. outfmt: Desired output format (Fmt in the API body). blob: Base64 encoded document payload (DocData). apiKey: TweekIT API key (ApiKey header). Falls back to TWEEKIT_API_KEY env var. apiSecret: TweekIT API secret (ApiSecret header). Falls back to TWEEKIT_API_SECRET env var. noRasterize: Forwarded to TweekIT to skip rasterization when possible. width: Optional pixel width to request in the output. height: Optional pixel height to request in the output. x1: Left crop coordinate in source pixels. y1: Top crop coordinate in source pixels. x2: Right crop coordinate in source pixels. y2: Bottom crop coordinate in source pixels. page: Page number to extract for multipage inputs. alpha: Whether the output should preserve alpha transparency. bgColor: Background color to composite behind transparent pixels.

Returns: A FastMCP Image or File payload, or an error description.

ParametersJSON Schema
NameRequiredDescriptionDefault
x1NoLeft crop coordinate in source pixels.
x2NoRight crop coordinate in source pixels.
y1NoTop crop coordinate in source pixels.
y2NoBottom crop coordinate in source pixels.
blobYesBase64 encoded document payload (DocData).
pageNoPage number to convert for multi-page inputs.
alphaNoPreserve alpha transparency when producing raster formats.
inextYesInput file extension (e.g., pdf, docx, png).
widthNoOptional pixel width for the converted output.
apiKeyNoTweekIT API key passed via the ApiKey header. Defaults to the TWEEKIT_API_KEY environment variable when omitted.
heightNoOptional pixel height for the converted output.
outfmtYesRequested output format to send as Fmt.
bgColorNoBackground color (hex RGB) to composite behind transparent pixels.
apiSecretNoTweekIT API secret paired with the apiKey. Defaults to the TWEEKIT_API_SECRET environment variable when omitted.
noRasterizeNoForward to TweekIT to disable rasterization when supported.
convert_urlTry in Inspector

Download a remote file and convert it with TweekIT in one step.

This helper first fetches url, infers the input extension when possible, and then forwards the bytes to convert. Supply fetchHeaders when the remote resource needs authentication or custom headers.

Args: url: Direct download URL for the source document or image. outfmt: Desired output format (Fmt). apiKey: TweekIT API key (ApiKey header). Falls back to TWEEKIT_API_KEY env var. apiSecret: TweekIT API secret (ApiSecret header). Falls back to TWEEKIT_API_SECRET env var. inext: Optional override for the source extension if it cannot be detected from the URL or response headers. noRasterize: Forwarded to TweekIT to skip rasterization when possible. width: Optional pixel width to request in the output. height: Optional pixel height to request in the output. x1: Left crop coordinate in source pixels. y1: Top crop coordinate in source pixels. x2: Right crop coordinate in source pixels. y2: Bottom crop coordinate in source pixels. page: Page number to extract for multipage inputs. alpha: Whether the output should preserve alpha transparency. bgColor: Background color to composite behind transparent pixels. fetchHeaders: Optional mapping of HTTP headers to include when fetching.

Returns: A FastMCP Image or File payload, or an error description.

ParametersJSON Schema
NameRequiredDescriptionDefault
x1NoLeft crop coordinate in source pixels.
x2NoRight crop coordinate in source pixels.
y1NoTop crop coordinate in source pixels.
y2NoBottom crop coordinate in source pixels.
urlYesDirect download URL for the source document or image.
pageNoPage number to convert for multi-page inputs.
alphaNoPreserve alpha transparency when producing raster formats.
inextNoOverride for the detected input extension (e.g., pdf).
widthNoOptional pixel width for the converted output.
apiKeyNoTweekIT API key passed via the ApiKey header. Defaults to the TWEEKIT_API_KEY environment variable when omitted.
heightNoOptional pixel height for the converted output.
outfmtYesRequested output format to send as Fmt.
bgColorNoBackground color (hex RGB) to composite behind transparent pixels.
apiSecretNoTweekIT API secret paired with the apiKey. Defaults to the TWEEKIT_API_SECRET environment variable when omitted.
noRasterizeNoForward to TweekIT to disable rasterization when supported.
fetchHeadersNoOptional HTTP headers to include when downloading the URL.
doctypeTry in Inspector

Retrieve a list of supported file formats or map a file extension to its document type.

Args: apiKey (str): The API key for authentication. Falls back to TWEEKIT_API_KEY when omitted. apiSecret (str): The API secret for authentication. Falls back to TWEEKIT_API_SECRET when omitted. extension (str): The file extension to query (e.g., 'jpg', 'pdf') or leave off or use '*' to return all supported input formats.

Returns: Dict[str, Any]: A dictionary containing the supported file formats or an error message.

ParametersJSON Schema
NameRequiredDescriptionDefault
apiKeyNoTweekIT API key passed via the ApiKey header. Defaults to the TWEEKIT_API_KEY environment variable when omitted.
apiSecretNoTweekIT API secret paired with the apiKey. Defaults to the TWEEKIT_API_SECRET environment variable when omitted.
extensionNoFile extension to inspect; use '*' to list all supported inputs.*
fetchTry in Inspector

Fetch a URL and return content.

  • Images return as FastMCP Image.

  • PDFs return as File(format="pdf").

  • Text/JSON return as a JSON payload with metadata and text.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlYesHTTP or HTTPS URL to retrieve and normalize.
searchTry in Inspector

Simple web search using DuckDuckGo HTML endpoint.

Returns a list of {title, url, snippet} objects. Best‑effort parsing.

ParametersJSON Schema
NameRequiredDescriptionDefault
queryYesSearch keywords to send to DuckDuckGo.
max_resultsNoMaximum number of results to return (1-10).

FAQ

How do I claim this server?

To claim this server, publish a /.well-known/glama.json file on your server's domain with the following structure:

{ "$schema": "https://glama.ai/mcp/schemas/connector.json", "maintainers": [ { "email": "your-email@example.com" } ] }

The email address must match the email associated with your Glama account. Once verified, the server will appear as claimed by you.

What are the benefits of claiming a server?
  • Control your server's listing on Glama, including description and metadata
  • Receive usage reports showing how your server is being used
  • Get monitoring and health status updates for your server
Try in Browser

Your Connectors

Sign in to create a connector for this server.