Basic information
About 🤖 MCP Server Examples with AutoGen
This repository demonstrates how to use AutoGen to integrate local and remote MCP (Model Context Protocol) servers. It showcases a local math tool (math_server.py) using Stdio and a remote Apify tool (RAG Web Browser Actor) via SSE for tasks like arithmetic and web browsing.
🤖 MCP Server Examples with AutoGen is a MCP server in the Reasoning category listed in the AddMCP.net directory, published by SaM-92. Supported transport: stdio. Runtime: python. The repository has 29 GitHub stars. Source code is hosted on github.com. Related topics: ai, autogen, azure, data-science, llm.
Setup
{
"mcpServers": {
"mcp_autogen_sse_stdio": {
"command": "uv",
"args": [
"venv",
"--python",
"3.12"
]
}
}
}
{
"mcpServers": {
"mcp_autogen_sse_stdio": {
"command": "uv",
"args": [
"venv",
"--python",
"3.12"
]
}
}
}
{
"servers": {
"mcp_autogen_sse_stdio": {
"command": "uv",
"args": [
"venv",
"--python",
"3.12"
]
}
}
}
🤖 MCP Server Examples with AutoGen config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp_autogen_sse_stdio": {
"command": "uv",
"args": [
"venv",
"--python",
"3.12"
]
}
}
}
🤖 MCP Server Examples with AutoGen tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is 🤖 MCP Server Examples with AutoGen?
This repository demonstrates how to connect AI agents to tools using the Model Context Protocol (MCP) within the AutoGen framework. It shows integration with both a local tool server (Stdio transport) and a remote tool server (SSE transport) to solve real queries.
How to use 🤖 MCP Server Examples with AutoGen?
Set up a Python 3.12 virtual environment with uv, install dependencies via uv pip install -e ., and create a .env file with your OPENAI_API_KEY and APIFY_API_KEY. Run the demo from the parent directory using uv run mcp_autogen_sse_stdio/main.py.
Key features of 🤖 MCP Server Examples with AutoGen
- Dual MCP integration: local (Stdio) and remote (SSE) transports
- Local calculator tool (
add,multiply) - Remote web browsing via Apify’s RAG Web Browser Actor
- AutoGen
AssistantAgentconfigured with both tool sets - Standardized communication between AI models and tools
Use cases of 🤖 MCP Server Examples with AutoGen
- Solving arithmetic problems using local Python scripts
- Summarizing live web news through remote browsing tools
- Prototyping multi‑tool AI agents that combine local and cloud resources
- Learning how to integrate MCP servers with AutoGen agents
Frequently asked questions
1 What MCP transports are demonstrated?
Local tools use StdioServerParams (standard input/output), and remote tools use SseServerParams (Server‑Sent Events).
2 What runtime requirements are needed?
Python 3.12, the uv package manager, and API keys for OpenAI and Apify.
3 How do I obtain and configure API keys?
Create a .env file in the mcp_autogen_sse_stdio directory and add OPENAI_API_KEY and APIFY_API_KEY. The Apify key can be obtained from the Apify MCP Server page.
4 Does this project work with other MCP servers?
The framework generalizes to other MCP servers that support Stdio or SSE transports, though only the Apify remote server is shown.
5 Is there a visual walkthrough available?
Yes, the repository includes an animated GIF (images/mcp_exmpl.gif) illustrating the workflow.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In