Transfer Ai
FreeNot checkedA small MCP server for relaying or proxying AI endpoints, supporting OpenAI-style and Gemini-style APIs for text and image generation.
About
A small MCP server for relaying or proxying AI endpoints, supporting OpenAI-style and Gemini-style APIs for text and image generation.
README
transfer-ai-mcp is a small MCP server for relay or proxy AI endpoints. It reads configuration from environment variables and exposes tools for text generation and image generation.
Features
- Supports
openai-style andgemini-style HTTP APIs - Configurable
url,key, andmodelthrough environment variables - Saves generated images locally and returns file paths (no base64 in MCP response)
- Packaged as a standalone Node library for reuse on other machines
Changelog
v0.2.0
- Fix:
generate_imageno longer returns base64 image data in MCP response. This fixes a crash in MCP clients (e.g. Kiro) that occurred when processing large image payloads in subsequent turns. Images are saved to disk and only file paths are returned. - Change: Default
TRANSFER_AI_API_FORMATchanged fromopenaitogemini. - Response now includes file size info for each saved image.
v0.1.0
- Initial release.
Install
npm install
For a global install:
npm install -g .
Then run:
transfer-ai-mcp
Environment variables
Required:
TRANSFER_AI_API_KEYTRANSFER_AI_BASE_URLunless you useTRANSFER_AI_TEXT_URLandTRANSFER_AI_IMAGE_URLTRANSFER_AI_MODELunless you set bothTRANSFER_AI_TEXT_MODELandTRANSFER_AI_IMAGE_MODEL
Optional:
TRANSFER_AI_API_FORMATopenaiorgemini- default:
gemini
TRANSFER_AI_AUTH_MODEbearer,query,x-goog-api-key, ornone- default:
bearer
TRANSFER_AI_TEXT_MODELTRANSFER_AI_IMAGE_MODELTRANSFER_AI_TEXT_URLTRANSFER_AI_IMAGE_URLTRANSFER_AI_TEXT_PATHTRANSFER_AI_IMAGE_PATHTRANSFER_AI_OUTPUT_DIR
Default endpoint behavior
If TRANSFER_AI_API_FORMAT=openai:
- text requests default to
/v1/chat/completions - image requests default to
/v1/chat/completions
If TRANSFER_AI_API_FORMAT=gemini:
- text requests default to
/v1beta/models/{model}:generateContent - image requests default to
/v1beta/models/{model}:generateContent
Override any of these with TRANSFER_AI_TEXT_URL, TRANSFER_AI_IMAGE_URL, TRANSFER_AI_TEXT_PATH, or TRANSFER_AI_IMAGE_PATH.
Tools
get_configuration_statusgenerate_textgenerate_imageget_last_image_info
generate_text arguments:
promptsystemPromptmodeltemperaturemaxTokensextraBody
generate_image arguments:
promptsystemPromptmodelaspectRatioimageSizeoutputPathextraBody
Kiro / VS Code MCP example
{
"mcpServers": {
"transfer-ai": {
"command": "node",
"args": ["/path/to/transfer-ai-mcp/dist/index.js"],
"env": {
"TRANSFER_AI_API_FORMAT": "gemini",
"TRANSFER_AI_AUTH_MODE": "bearer",
"TRANSFER_AI_API_KEY": "your-api-key",
"TRANSFER_AI_BASE_URL": "https://your-endpoint.example.com",
"TRANSFER_AI_MODEL": "gemini-2.0-flash-preview-image-generation",
"TRANSFER_AI_OUTPUT_DIR": "/path/to/output/images"
},
"disabled": false,
"autoApprove": ["generate_image", "get_configuration_status"]
}
}
}
Codex MCP example
Installing Transfer Ai
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/liu247/transfer-ai-mcpFAQ
Is Transfer Ai MCP free?
Yes, Transfer Ai MCP is free — one-click install via Unyly at no cost.
Does Transfer Ai need an API key?
No, Transfer Ai runs without API keys or environment variables.
Is Transfer Ai hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Transfer Ai in Claude Desktop, Claude Code or Cursor?
Open Transfer Ai on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
GPU inference API for LLMs, image and video generation, TTS, Whisper, embeddings, reranking and OCR, paid per use via x402 or an API key.
by gpu-bridgemerterbak/Grok-MCP
Access xAI's Grok API with agentic tool calling, image generation, vision and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
Image generation and editing with OpenAI's GPT image models.
by SureScaleAIYangLiangwei/PersonalizationMCP
Aggregate personal data from Steam, YouTube, Bilibili, Spotify, Reddit and other gaming, music, video and social platforms, with OAuth2 and token management.
by YangLiangweiAceDataCloud/MCPFlux
Flux image generation and editing from Black Forest Labs via the Ace Data Cloud API.
by AceDataCloudAceDataCloud/MCPNanoBanana
Nano Banana image generation and editing, including virtual try-on and product placement in realistic scenes.
by AceDataCloudCompare Transfer Ai with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
