
Outsource MCP
Give your AI assistant its own AI assistants — outsource text and image generation to 20+ model providers.
Add to your client
Copy the config for your MCP client and paste it into its config file.
uvx --from git+https://github.com/gwbischof/outsource-mcp.git outsource-mcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"outsource-mcp": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/gwbischof/outsource-mcp.git",
"outsource-mcp"
],
"env": {
"OPENAI_API_KEY": "your-openai-key",
"ANTHROPIC_API_KEY": "your-anthropic-key",
"GOOGLE_API_KEY": "your-google-key",
"GROQ_API_KEY": "your-groq-key",
"DEEPSEEK_API_KEY": "your-deepseek-key",
"XAI_API_KEY": "your-xai-key",
"PERPLEXITY_API_KEY": "your-perplexity-key",
"COHERE_API_KEY": "your-cohere-key",
"FIREWORKS_API_KEY": "your-fireworks-key",
"HUGGINGFACE_API_KEY": "your-huggingface-key",
"MISTRAL_API_KEY": "your-mistral-key",
"NVIDIA_API_KEY": "your-nvidia-key",
"OLLAMA_HOST": "http://localhost:11434",
"OPENROUTER_API_KEY": "your-openrouter-key",
"TOGETHER_API_KEY": "your-together-key",
"CEREBRAS_API_KEY": "your-cerebras-key",
"DEEPINFRA_API_KEY": "your-deepinfra-key",
"SAMBANOVA_API_KEY": "your-sambanova-key"
}
}
}
}Requires `uv` (the Python package runner). Install it from https://docs.astral.sh/uv/ if `uvx` is not found.
Step-by-step guides: Add to Claude Desktop · Add to Cursor · Add to Windsurf
Before you start
- Python 3.11 or higher
- uv package manager (provides uvx)
- At least one model provider API key (e.g. OPENAI_API_KEY) for the providers you want to use
About Outsource MCP
An MCP server that gives your AI assistant access to other AI models. Through a consistent three-parameter interface (provider, model, prompt), it can generate text from 20+ providers and images from OpenAI's DALL-E models, letting one assistant outsource subtasks to the most suitable model.
Tools & capabilities (2)
outsource_textCreates an Agno agent with the specified provider and model to generate a text response. Arguments: provider (e.g. "openai", "anthropic", "google", "groq"), model (e.g. "gpt-4o", "claude-3-5-sonnet-20241022", "gemini-2.0-flash-exp"), and prompt (the text to send).
outsource_imageGenerates an image using an AI model and returns the URL of the generated image. Arguments: provider (currently only "openai" is supported), model ("dall-e-3" or "dall-e-2"), and prompt (the image generation prompt).
When to use it
- Let your primary AI assistant delegate a task to a different model (e.g. ask GPT-4o or Claude for a second opinion).
- Generate images with DALL-E 3 or DALL-E 2 directly from within an MCP-enabled assistant.
- Route prompts to the cheapest or fastest provider for a given task across 20+ providers.
- Compare outputs from multiple model providers through one unified interface without juggling separate SDKs.
Security notes
Requires API keys for whichever model providers you enable; each key is passed via environment variables in the MCP client config. Only configure keys for providers you intend to use. Outbound calls go to third-party model provider APIs (and incur their usage costs).
Outsource MCP FAQ
Which providers are supported?
20+ providers including OpenAI, Anthropic, Google, Groq, DeepSeek, xAI, Perplexity, Cohere, Mistral, NVIDIA, HuggingFace, Ollama, Fireworks, OpenRouter, Together, Cerebras, DeepInfra, SambaNova, plus enterprise providers (AWS Bedrock, Azure AI, IBM WatsonX, LiteLLM, Vercel v0, Meta Llama). Provider names are case-insensitive.
Can it generate images with providers other than OpenAI?
No. Image generation is currently only supported by OpenAI's DALL-E 2 and DALL-E 3 models. All other providers support text generation only.
Do I need to configure every API key in the config?
No. The environment variables are optional — only include API keys for the providers you actually plan to use.
Which MCP clients are compatible?
Any AI tool that supports the Model Context Protocol, including Claude Desktop, Cline, and other MCP-enabled applications.
Alternatives to Outsource MCP
Compare all alternatives →Official MCP server providing persistent, file-backed knowledge-graph memory across sessions.
Structured step-by-step reasoning tool for breaking problems into revisable thought sequences.
Fully managed remote server for AWS docs, blogs, What's-New and Well-Architected guidance — no key.
Compare Outsource MCP with: