Skip to content

Commit be0eb5a

Browse files
committed
update readme
1 parent 9a5baf8 commit be0eb5a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,14 +181,14 @@ Configure your MCP servers in `.mcphub.json`:
181181
### Framework Integration
182182

183183
Provides 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
189189
from 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
230230
async 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

0 commit comments

Comments
 (0)