File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -181,14 +181,14 @@ Configure your MCP servers in `.mcphub.json`:
181181### Framework Integration
182182
183183Provides adapters for popular AI frameworks:
184- - OpenAI Agents
185- - LangChain
186- - Autogen
184+ - OpenAI Agents ( [ example ] ( examples/with_openai.py ) )
185+ - LangChain ( [ example ] ( examples/with_langchain.py ) )
186+ - Autogen ( [ example ] ( examples/with_autogen.py ) )
187187
188188``` python
189189from mcphub import MCPHub
190190
191- async def framework_examples ():
191+ async def framework_quick_examples ():
192192 hub = MCPHub()
193193
194194 # 1. OpenAI Agents Integration
@@ -230,6 +230,9 @@ from mcphub import MCPHub
230230async def tool_management ():
231231 hub = MCPHub()
232232
233+ # List all servers
234+ servers = hub.list_servers()
235+
233236 # List all tools from a specific MCP server
234237 tools = await hub.list_tools(mcp_name = " sequential-thinking-mcp" )
235238
You can’t perform that action at this time.
0 commit comments