AutoGen MCP Server
AutoGen MCP 服务器
一个 MCP 服务器,可与 Microsoft 的 AutoGen 框架集成,并通过标准化接口实现多代理对话。此服务器允许您创建和管理能够通过自然语言交互进行协作和解决问题的 AI 代理。
特征
使用可自定义的配置创建和管理 AutoGen 代理
执行代理之间的一对一对话
与多个代理协调群聊
可配置的 LLM 设置和代码执行环境
支持助理代理和用户代理
内置错误处理和响应验证
Related MCP server: Stellastra MCP Server
安装
克隆存储库:
git clone https://github.com/yourusername/autogen-mcp.git
cd autogen-mcp安装依赖项:
pip install -e .配置
环境变量
将
.env.example复制到.env:
cp .env.example .env配置环境变量:
# Path to the configuration file
AUTOGEN_MCP_CONFIG=config.json
# OpenAI API Key (optional, can also be set in config.json)
OPENAI_API_KEY=your-openai-api-key服务器配置
将
config.json.example复制到config.json:
cp config.json.example config.json配置服务器设置:
{
"llm_config": {
"config_list": [
{
"model": "gpt-4",
"api_key": "your-openai-api-key"
}
],
"temperature": 0
},
"code_execution_config": {
"work_dir": "workspace",
"use_docker": false
}
}可用操作
该服务器支持三种主要操作:
1.创建代理
{
"name": "create_agent",
"arguments": {
"name": "tech_lead",
"type": "assistant",
"system_message": "You are a technical lead with expertise in software architecture and design patterns."
}
}2.一对一聊天
{
"name": "execute_chat",
"arguments": {
"initiator": "agent1",
"responder": "agent2",
"message": "Let's discuss the system architecture."
}
}3.群聊
{
"name": "execute_group_chat",
"arguments": {
"agents": ["agent1", "agent2", "agent3"],
"message": "Let's review the proposed solution."
}
}错误处理
常见的错误场景包括:
代理创建错误
{
"error": "Agent already exists"
}执行错误
{
"error": "Agent not found"
}配置错误
{
"error": "AUTOGEN_MCP_CONFIG environment variable not set"
}建筑学
该服务器采用模块化架构:
src/
├── autogen_mcp/
│ ├── __init__.py
│ ├── agents.py # Agent management and configuration
│ ├── config.py # Configuration handling and validation
│ ├── server.py # MCP server implementation
│ └── workflows.py # Conversation workflow management执照
MIT 许可证 - 详情请参阅许可证文件
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceAn MCP (Multi-Agent Conversation Protocol) server that enables interaction with Google's Managed Service for Microsoft Active Directory through its OpenAPI, allowing users to manage identity resources through natural language.
- Flicense-qualityDmaintenanceAn MCP Server that enables multi-agent conversation interactions with the Stellastra API, auto-generated using AG2's MCP builder.
- Flicense-qualityDmaintenanceAn auto-generated MCP server that enables interaction with the OpenAI API, allowing users to access OpenAI's models and capabilities through the Multi-Agent Conversation Protocol.
- FlicenseAqualityDmaintenanceAn intelligent MCP server that orchestrates multiple MCP servers with AI-enhanced workflow automation and production-ready context engine capabilities for codebase analysis.37
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
An MCP server that integrates with Discord to provide AI-powered features.
The MCP server for Azure DevOps, bringing the power of Azure DevOps directly to your agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/Autogen_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server