AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Mcp Protocol

skill-lihongwei-cn-lihongwei-cn-mcp-protocol · by LiHongwei-cn

MCP(Model Context Protocol)协议认知 — 蒙多的工具扩展之道

No reviews yet
0 installs
25 views
0.0% view→install

Install

$ agentstack add skill-lihongwei-cn-lihongwei-cn-mcp-protocol

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-lihongwei-cn-lihongwei-cn-mcp-protocol)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Mcp Protocol? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

MCP 协议认知 Skill

核心概念

MCP(Model Context Protocol)是 Anthropic 于 2024年11月开源的协议,已成为 AI Agent 与外部工具交互的事实标准。

架构模型

Host(宿主应用,如蒙多)
  ↕ JSON-RPC 2.0
MCP Server(工具/数据源封装)
  ↕ 实际调用
外部系统(API、数据库、文件、浏览器...)

关键设计原则

  1. 协议层解耦 — Agent 不直接调工具,通过标准化协议发现和调用
  2. Server 可组合 — 一个 Agent 可连多个 MCP Server,每个封装一类能力
  3. 安全沙箱 — 权限控制在协议层,不在应用层
  4. 能力发现 — Client 启动时自动发现 Server 提供的 tools/resources/prompts

MCP Server 三类能力

| 类型 | 说明 | 示例 | |------|------|------| | Tools | 可调用的函数 | 搜索、数据库查询、文件操作 | | Resources | 可读取的数据源 | 文件内容、API数据、数据库记录 | | Prompts | 预定义的提示模板 | 代码审查模板、分析模板 |

蒙多接入路径

阶段一:认知(当前)

  • 理解 MCP 协议架构
  • 了解 JSON-RPC 2.0 通信方式
  • 掌握 Server 能力发现机制

阶段二:实验

  • 用 Python 写最小 MCP Server
  • 实现 tools/resources/prompts 三类能力
  • 测试与 Claude Desktop 的互操作

阶段三:集成

  • 蒙多 tools.py 抽象为 MCP Host
  • 第三方 MCP Server 直接可用
  • 工具发现自动化,不再手动注册

与蒙多现有架构的映射

| MCP 概念 | 蒙多对应 | 差距 | |----------|---------|------| | Host | core.py 主循环 | 需要加 MCP Client | | Server | tools.py 工具集 | 需要抽象为 MCP Server | | Tools | ToolRegistry.register() | 接口兼容,需加协议层 | | Resources | memory.py 记忆系统 | 可暴露为 MCP Resource | | Prompts | MUNDOSYSTEMPROMPT | 可暴露为 MCP Prompt |

参考资料

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.