You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/agent.md
+123-6Lines changed: 123 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,9 @@ In the `initialize` method, we set up and load all necessary tools.
52
52
53
53
`MCPTool` is designed to be **transport-agnostic**. You can configure it to connect to any MCP server using **stdio**, **HTTP (SSE)**, or **WebSocket**.
54
54
55
-
**1. Stdio-based Transport (npx, python, etc.)**
55
+
**1. Stdio-based Transport (Recommended)**
56
+
57
+
**Stdio tools** are the recommended approach for most MCP integrations. They run as subprocesses and communicate via stdin/stdout, with automatic lifecycle management by SpoonOS.
56
58
57
59
Use the `command` field to execute local command-line tools. The tool's `name` should directly match the MCP tool's name.
| SSE MCP |`"mcp"`|`"sse"`| Start your own SSE server | Custom Web3, in-house tools |
543
+
| Built-in |`"builtin"`| N/A | Provided by SpoonOS | Crypto tools, price data, etc. |
544
+
545
+
### Recommended: Stdio MCP Tools
546
+
547
+
**Stdio tools** are MCP tools that run as a subprocess and communicate with SpoonOS via stdin/stdout. They are the recommended approach for most use cases because:
0 commit comments