763 B
763 B
markup, title, description, import
| markup | title | description | import | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| occlusion | agent mcp server smoke | Offline assemble mcp_server + one tool (no serve). |
|
main
p = > plugin.native_path name="agent"
p
plugin.load path=
p
sys.exit code=1
srv = > agent.mcp_server name="marqdo-test"
srv = > srv.tool name="ping" fn="demo.ping" description="ping tool"
tools = tools)
n = > len value=tools
n== 1
print text=mcp-tool-ok
print text=mcp-tool-fail
fn== "demo.ping"
print text=mcp-fn-ok
print text=mcp-fn-fail