Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

fix code block rendering line break bug (#3019)

gray913e7065cd4b
diff --git a/docs/mcp/camel_toolkits_as_an_mcp_server.md b/docs/mcp/camel_toolkits_as_an_mcp_server.md
index 1e038fe76..20f4b7f47 100644
--- a/docs/mcp/camel_toolkits_as_an_mcp_server.md
+++ b/docs/mcp/camel_toolkits_as_an_mcp_server.md
@@ -35,7 +35,7 @@ You can turn any CAMEL toolkit into a full-featured MCP server—making its tool
Below is a minimal script to expose <b>ArxivToolkit</b> as an MCP server.
Swap in any other toolkit (e.g., <code>SearchToolkit</code>, <code>MathToolkit</code>), they all work the same way!
-<CodeBlock language="python" title="arxiv_toolkit_server.py">
+```python
from camel.toolkits import ArxivToolkit
import argparse
@@ -52,7 +52,7 @@ args = parser.parse_args()
toolkit = ArxivToolkit()
toolkit.mcp.run(args.mode)
-</CodeBlock>
+```
- **stdio:** For local IPC (default, fast and secure for single-machine setups)
- **sse:** Server-Sent Events (good for remote servers and web clients)