SkillPedia Skills Encyclopedia
中文 EN

MCP 服务 2026-02-05 15:24 UTC

mcp-cli

由提交人 philschmid 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix: call command outputs raw text content instead of MCP envelope (#30)。解决了已知运行时异常与边界错误,提升系统稳定性。

philschmid d77672a philschmid/mcp-cli

Commit提交信息原文

fix: call command outputs raw text content instead of MCP envelope (#30)

Fixes #25

The call command was outputting the full MCP protocol envelope:
  { "content": [{ "type": "text", "text": "..." }] }

Now outputs raw text content directly, making it easier to pipe to
grep, head, jq, and other CLI tools without needing .content[0].text.

Changes:
- Use existing formatToolResult helper in call.ts
- Update SKILL.md examples (remove jq extraction patterns)
- Update CHANGELOG.md to reflect correct behavior
- Add e2e test to prevent regression