You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 weeks ago | |
---|---|---|
.. | ||
agent_examples | 4 weeks ago | |
mcp_utils | 4 weeks ago | |
multi_mcp_guide | 3 weeks ago | |
servers | 4 weeks ago | |
README.md | 3 weeks ago | |
mcp_agent_tool.py | 1 month ago | |
multi_mcp_example.py | 4 weeks ago | |
utils.py | 4 weeks ago |
README.md
MCP (Model Context Protocol) Examples
This directory contains examples demonstrating MCP integration and usage patterns in Swarms.
Agent Examples
- agent_mcp_old.py - Legacy MCP agent implementation
- agent_multi_mcp_connections.py - Multi-connection MCP agent
- agent_tools_dict_example.py - Agent tools dictionary example
- mcp_exampler.py - MCP example implementation
MCP Agent Tool
- mcp_agent_tool.py - Core MCP agent tool implementation
MCP Utils
- client.py - MCP client implementation
- mcp_client_call.py - Client call examples
- mcp_multiple_servers_example.py - Multiple server connections
- multiagent_client.py - Multi-agent client
- singleagent_client.py - Single agent client
- test_multiple_mcp_servers.py - Multi-server testing
Utils Subdirectory
- find_tools_on_mcp.py - Tool discovery on MCP
- mcp_execute_example.py - MCP execution examples
- mcp_load_tools_example.py - Tool loading examples
- mcp_multiserver_tool_fetch.py - Multi-server tool fetching
Multi-MCP Examples
- multi_mcp_example.py - Multi-MCP integration example
Multi-MCP Guide
- agent_mcp.py - MCP agent implementation
- mcp_agent_tool.py - MCP agent tool
- okx_crypto_server.py - OKX crypto server integration
Servers
- mcp_agent_tool.py - Server-side MCP agent tool
- mcp_test.py - MCP server testing
- okx_crypto_server.py - OKX crypto server
- test.py - Server testing utilities
Utilities
- utils.py - General MCP utilities