
给你的AI助手配备专属的AI助手。
概览
一个MCP(模型上下文协议)服务器,使AI应用能够通过统一接口将任务外包给各种模型提供者。 兼容任何支持 Model Context 协议的 AI 工具,包括 Claude Desktop、Cline 及其他支持 MCP 的应用程序。MCP 服务器实现采用 FastMCP 构建,AI 代理功能则使用 Agno 构建。 - 🤖 : 通过单一界面访问20+ AI提供者 - 📝 : 使用OpenAI、Anthropic、Google等模型生成文本 - 🎨 : 使用DALL-E 3和DALL-E 2创建图像 - 🔧 : 界面一致,仅包含三个参数:提供者、模型和提示词 - 🔑 : 仅配置您所使用的提供者的API密钥 将以下配置添加到您的 MCP 客户端中。请参阅您 MCP 客户端的文档以获取具体配置细节。 注意:环境变量是可选的。只需包含你想使用的提供者的 API 密钥。
概述(AI 翻译)
一个MCP(模型上下文协议)服务器,使AI应用能够通过统一接口将任务外包给各种模型提供者。
兼容任何支持 Model Context 协议的 AI 工具,包括 Claude Desktop、Cline 及其他支持 MCP 的应用程序。 MCP服务器实现采用FastMCP,AI代理功能则用Agno构建。
特色
- 🤖 多提供者支持:通过单一界面访问20+ AI提供商
- 📝 文本生成:使用OpenAI、Anthropic、Google等模型生成文本
- 🎨 图像生成:使用DALL-E 3和DALL-E 2创建图像
- 🔧 简单API:仅包含三个参数的一致接口:提供者、模型和提示符
- 🔑 灵活认证:仅配置您使用的提供者的API密钥
配置
将以下配置添加到您的 MCP 客户端中。请参阅您 MCP 客户端的文档以获取具体配置细节。
注意:环境变量是可选的。只需包含你想使用的提供者的 API 密钥。
快速启动
安装和配置完成后,你可以使用MCP客户端中的工具:
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Outsource MCP
An MCP (Model Context Protocol) server that enables AI applications to outsource tasks to various model providers through a unified interface.
Compatible with any AI tool that supports the Model Context Protocol, including Claude Desktop, Cline, and other MCP-enabled applications. Built with FastMCP for the MCP server implementation and Agno for AI agent capabilities.
Features
- 🤖 Multi-Provider Support: Access 20+ AI providers through a single interface
- 📝 Text Generation: Generate text using models from OpenAI, Anthropic, Google, and more
- 🎨 Image Generation: Create images using DALL-E 3 and DALL-E 2
- 🔧 Simple API: Consistent interface with just three parameters: provider, model, and prompt
- 🔑 Flexible Authentication: Only configure API keys for the providers you use
Configuration
Add the following configuration to your MCP client. Consult your MCP client’s documentation for specific configuration details.
{
"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"
}
}
}
}
Note: The environment variables are optional. Only include the API keys for the providers you want to use.
Quick Start
Once installed and configured, you can use the tools in your MCP client:
- Generate text: Use the
outsource_texttool with provider “openai”, model “gpt-4o-mini”, and prompt “Write a haiku about coding” - Generate images: Use the
outsource_imagetool with provider “openai”, model “dall-e-3”, and prompt “A futuristic city skyline at sunset”
Tools
outsource_text
Creates an Agno agent with a specified provider and model to generate text responses.
Arguments:
安装
uvx --from git+https://github.com/gwbischof/outsource-mcp.git outsource-mcp配置
{
"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"
}
}
}
}