AutoGen MCP Server
Servidor MCP de AutoGen
Un servidor MCP que se integra con el framework AutoGen de Microsoft, lo que permite conversaciones multiagente mediante una interfaz estandarizada. Este servidor permite crear y gestionar agentes de IA que pueden colaborar y resolver problemas mediante interacciones de lenguaje natural.
Características
Cree y administre agentes de AutoGen con configuraciones personalizables
Ejecutar conversaciones individuales entre agentes
Orqueste chats grupales con múltiples agentes
Configuraciones LLM configurables y entornos de ejecución de código
Soporte para agentes proxy tanto de asistente como de usuario
Manejo de errores integrado y validación de respuestas
Related MCP server: Stellastra MCP Server
Instalación
Clonar el repositorio:
git clone https://github.com/yourusername/autogen-mcp.git
cd autogen-mcpInstalar dependencias:
pip install -e .Configuración
Variables de entorno
Copiar
.env.examplea.env:
cp .env.example .envConfigurar las variables de entorno:
# 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-keyConfiguración del servidor
Copiar
config.json.exampleaconfig.json:
cp config.json.example config.jsonConfigurar los ajustes del servidor:
{
"llm_config": {
"config_list": [
{
"model": "gpt-4",
"api_key": "your-openai-api-key"
}
],
"temperature": 0
},
"code_execution_config": {
"work_dir": "workspace",
"use_docker": false
}
}Operaciones disponibles
El servidor admite tres operaciones principales:
1. Creación de agentes
{
"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. Chat individual
{
"name": "execute_chat",
"arguments": {
"initiator": "agent1",
"responder": "agent2",
"message": "Let's discuss the system architecture."
}
}3. Chat grupal
{
"name": "execute_group_chat",
"arguments": {
"agents": ["agent1", "agent2", "agent3"],
"message": "Let's review the proposed solution."
}
}Manejo de errores
Los escenarios de error más comunes incluyen:
Errores de creación de agentes
{
"error": "Agent already exists"
}Errores de ejecución
{
"error": "Agent not found"
}Errores de configuración
{
"error": "AUTOGEN_MCP_CONFIG environment variable not set"
}Arquitectura
El servidor sigue una arquitectura modular:
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 managementLicencia
Licencia MIT: consulte el archivo de LICENCIA para obtener más detalles
Available Tools
4 toolscreate_agentCInspect
Create a new AutoGen agent
Inputs: name (required), type (required), llm_config, system_message.
create_streaming_workflowCInspect
Create a workflow with real-time streaming
Inputs: agents (required), workflow_name (required), workflow_type (required), streaming.
execute_workflowCInspect
Execute a workflow with streaming support
Inputs: input_data (required), workflow_name (required), streaming.
start_streaming_chatCInspect
Start a streaming chat session
Inputs: agent_name (required), message (required), streaming.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools have mostly distinct purposes, but there is some potential for confusion between 'create_streaming_workflow' and 'execute_workflow' as they both involve workflows, though one is for creation and the other for execution. The other tools ('create_agent' and 'start_streaming_chat') are clearly separate in function.
All tool names follow a consistent verb_noun pattern (e.g., create_agent, create_streaming_workflow, execute_workflow, start_streaming_chat). The naming is predictable and readable throughout the set.
With only 4 tools, the set feels thin for an AutoGen MCP server, which might be expected to handle more complex agent and workflow operations. However, it covers basic creation and execution tasks, so it's borderline but not severely lacking.
The tools cover creation and execution of agents and workflows, but there are notable gaps such as updating or deleting agents/workflows, managing existing sessions, or handling non-streaming operations. This could lead to agent failures in more complex scenarios.
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
An MCP server that provides agents access to the KeldynAI platform
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
MCP server for AI dialogue using various LLM models via AceDataCloud
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn 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.-
- FlicenseNot gradedqualityDmaintenanceAn MCP Server that enables multi-agent conversation interactions with the Stellastra API, auto-generated using AG2's MCP builder.-
- FlicenseNot gradedqualityDmaintenanceAn 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.-
- AlicenseAqualityDmaintenanceAn intelligent MCP server that orchestrates multiple MCP servers with AI-enhanced workflow automation and production-ready context engine capabilities for codebase analysis.38MIT