据 AlphaMoat 统计,截至 2026-09,Mcp Client 累计下载 3,801 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 2,775 位,在「AI 智能体」分类(969 个)中排名第 550 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 114 | 3,570 | 1 | - |
| SkillHub ↗ | 114 | 3,801 | 1 | — |
各平台的计数口径不同,统计时间不一致。
该客户端可连接 MCP 服务器、列出工具、调用工具、读取资源并查看提示模板;资源可能包括文件、数据库和 API。仅连接受信任的服务,调用前先检查可用工具和资源 URI;使用 HTTPS,并避免把 API 密钥直接放在命令行参数中。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,801 | — | 1 |
| 2026-08 | 3,492 | +3.1% | 1 |
| 2026-07 | 3,386 | +14.2% | 1 |
| 2026-06 | 2,966 | +7.6% | 1 |
| 2026-05 | 2,757 | — | 1 |
| 2026-03 | 1,653 | — | - |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
---
name: mcp-client
version: 1.0.0
description: Model Context Protocol (MCP) client - connect to tools, data sources and services
metadata: {"openclaw": {"emoji": "🔌", "category": "integration", "requires": {"bins": ["python"], "pip": ["requests"]}, "homepage": "https://modelcontextprotocol.io"}}
---
# MCP Client Skill
Implementation of the Model Context Protocol (MCP) client for connecting to tools and data sources.
## What it does
- **Connect to MCP Servers** - Access tools and resources from MCP-enabled services
- **Tool Invocation** - Call tools exposed by MCP servers
- **Resource Access** - Read files, databases, APIs
- **Prompt Templates** - Use structured prompts from MCP servers
## Installation
```powershell
# Install Python dependencies (requests is the only required dependency)
pip install requests
```
## Usage
### Connect to MCP Server
```powershell
.\mcp.ps1 -Action connect -ServerUrl "https://mcp-server.com" -ApiKey "your-key"
```
### List Available Tools
```powershell
.\mcp.ps1 -Action tools -ServerUrl "https://mcp-server.com"
```
### Call a Tool
```powershell
.\mcp.ps1 -Action call -ServerUrl "https://mcp-server.com" -ToolName "search" -Arguments '{"query": "AI agents"}'
```
### List Resources
```powershell
.\mcp.ps1 -Action resources -ServerUrl "https://mcp-server.com"
```
### Read a Resource
```powershell
.\mcp.ps1 -Action read -ServerUrl "https://mcp-server.com" -ResourceUri "file:///data/config.json"
```
## MCP Concepts
- **MCP Server**: Service that exposes tools, resources, and prompts
- **Tools**: Functions the LLM/agent can call
- **Resources**: Data sources (files, APIs, DBs)
- **Prompts**: Pre-defined prompt templates
## API Reference
```
POST /mcp/connect - Connect to server
GET /mcp/tools - List available tools
POST /mcp/call - Invoke a tool
GET /mcp/resources - List resources
GET /mcp/read - Read resource
GET /mcp/prompts - List prompt templates
```
## Examples
### Python Usage
```python
from mcp_client import MCPClient
client = MCPClient("https://mcp-server.com", api_key="key")
# List tools
tools = client.list_tools()
print(tools)
# Call tool
result = client.call_tool("search", {"query": "quantum"})
print(result)
# Read resource
data = client.read_resource("file:///config.json")
print(data)
```
## ⚠️ Security Warnings
### file:// URI Risk
The MCP protocol allows `file:///path` URIs to read files from the server. **Only connect to trusted MCP servers.** A malicious server could exfiltrate sensitive files.
### Best Practices
- Only use MCP servers you control or trust
- Don't connect to random public MCP servers
- Review what tools/resources are available before using
## Requirements
- Review what tools/resources are available before using
- Python 3.8+
- requests library
## License
MIT
把开发过程中的经验、错误与纠正记录为 Markdown 文件,供后续复用并晋升为工作区记忆。
用自然语言描述需求,在本地与远程技能市场里找技能并给出推荐的技能。
给 AI agent 用的浏览器自动化命令行技能。
把用户纠正与自我复盘沉淀成分层记忆、并按使用情况升降级的技能。
在安装第三方技能之前,按清单审查来源、权限与危险模式的技能。
把 agent 的记忆与跨技能状态存成带类型和约束的知识图谱的技能。
一份为 AI 代理规划主动跟进、工作记忆与复盘流程的工作区配置指南。
指导如何创建与更新有效 Claude 技能的写作指南。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。