From 1432ee9621463861d7a97d09dc3072db7c641d80 Mon Sep 17 00:00:00 2001 From: jjyaoao Date: Wed, 26 Mar 2025 22:39:55 +0800 Subject: [PATCH] update readme & delete output example --- README.md | 4 ++-- README_zh.md | 4 ++-- examples/run_mcp_sse.py | 23 ----------------------- 3 files changed, 4 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index e916b1d..91c884e 100644 --- a/README.md +++ b/README.md @@ -467,8 +467,8 @@ npx playwright install-deps ``` Try our comprehensive MCP examples: -- `examples/run_mcp.py` - Basic MCP functionality demonstration -- `examples/run_mcp_sse.py` - Example using the SSE protocol +- `examples/run_mcp.py` - Basic MCP functionality demonstration (local call, requires dependencies) +- `examples/run_mcp_sse.py` - Example using the SSE protocol (Use remote services, no dependencies) ## Available Toolkits diff --git a/README_zh.md b/README_zh.md index f0f2a72..7e7ec35 100644 --- a/README_zh.md +++ b/README_zh.md @@ -455,8 +455,8 @@ npx playwright install-deps ``` 查看我们的MCP示例: -- `examples/run_mcp.py` - 基础MCP功能演示 -- `examples/run_mcp_sse.py` - 使用SSE协议的示例 +- `examples/run_mcp.py` - 基础MCP功能演示 (本地调用,需要安装依赖) +- `examples/run_mcp_sse.py` - 使用SSE协议的示例 (使用远程服务,无需安装依赖) ## 可用工具包 diff --git a/examples/run_mcp_sse.py b/examples/run_mcp_sse.py index dc724cc..272b724 100644 --- a/examples/run_mcp_sse.py +++ b/examples/run_mcp_sse.py @@ -119,26 +119,3 @@ async def main(): if __name__ == "__main__": asyncio.run(main()) - -# Example Output: -""" -Successfully connected to SSE server -Result: Here are the most recent pull requests in the camel-ai/camel repository: - -1. fix create_your_first_agents_society.ipynb: 2 typos - - PR #2011 opened by didier-durand - -2. fix: edit default function call message - - PR #2010 opened by MuggleJinx - -3. refactor: unify the stdio&sse configuration of mcp server - - PR #2009 opened by koch3092 - -4. Refactor document processing toolkit and excel toolkit - - PR #2001 opened by JINO-ROHIT - -5. feat: Add unitests for BrowserToolkit - - PR #2000 opened by JoyceXu02 - -... (more pull requests) -"""