Ivan Cetta

Mcp Client

AIエージェントv1.0.3
作者:Ivan Cetta更新日 2026-05-11全 4 バージョン · 最新版の公開日 2026-02-22mcp-client@clawhub_nantes/mcp-client
ツール呼び出し

AlphaMoatによると、2026-09時点でMcp Clientのダウンロード数は3,801、スター数は1で、AIスキル全体5,078件中2,775位、AIエージェントでは969件中550位です。

インストール数
114
ダウンロード数
3801
スター数
1
総合順位
#2,775
全体の上位 55% · AIエージェントの上位 57%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗11435701-
SkillHub ↗11438011—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

サーバーへの接続、ツール一覧と呼び出し、リソース読み取り、プロンプトテンプレートの確認ができます。リソースにはファイル、データベース、APIが含まれる場合があります。信頼できるサーバーだけに接続し、利用前にツールとリソースURIを確認してください。HTTPSを優先し、APIキーをコマンドライン引数に直接渡さないでください。

資料公開日 2026-10-29

できること

  • MCPサーバーに接続してツールを一覧表示する
  • サービスが公開するツールを呼び出す
  • 信頼できるサーバーからリソースやプロンプトテンプレートを読む

使う場面

  • 信頼できるMCPサービスをエージェントに接続したいとき
  • サーバーが公開するツールやリソースを確認するとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

指定した信頼済みHTTPS MCPサーバーに接続してツールとリソースだけを一覧表示し、ツールは呼び出さないでください。
このリソースURIを読む前にサーバーの出所と露出する可能性のあるデータを説明してください。APIキーは表示しないでください。

月次の推移

ダウンロード数3801
1481272739732026-03 · ダウンロード数 16532026-05 · ダウンロード数 27572026-06 · ダウンロード数 29662026-07 · ダウンロード数 33862026-08 · ダウンロード数 34922026-09 · ダウンロード数 380126-0326-09
スター数1
0112026-03 · スター数 -2026-05 · スター数 12026-06 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093801—1
2026-083492+3.1%1
2026-073386+14.2%1
2026-062966+7.6%1
2026-052757—1
2026-031653—-

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.8 KB・ClawHub v1.0.3
---
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.
すべて表示(全 117 行)

## 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

AIエージェントの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。