Ivan Cetta

Mcp Client

AI Agentv1.0.3
By Ivan CettaUpdated 2026-05-114 versions · latest released 2026-02-22mcp-client@clawhub_nantes/mcp-client
Tool Use

According to AlphaMoat, as of 2026-09, Mcp Client has 3,801 downloads and 1 stars — ranked #2,775 of 5,078 AI skills overall, and #550 of 969 in AI Agent.

Installs
114
Downloads
3.8K
Stars
1
Overall Rank
#2,775
Top 55% overall · Top 57% in AI Agent
PlatformInstallsDownloadsStarsComments
ClawHub ↗1143.6K1-
SkillHub ↗1143.8K1—

Platforms count differently and update at different times.

What this skill does

Model Context Protocol (MCP) client - connect to tools, data sources and services

Monthly Trend

Downloads3.8K
1.5K2.7K4.0K2026-03 · Downloads 1.7K2026-05 · Downloads 2.8K2026-06 · Downloads 3.0K2026-07 · Downloads 3.4K2026-08 · Downloads 3.5K2026-09 · Downloads 3.8K26-0326-09
Stars1
0112026-03 · Stars -2026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 126-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-093.8K—1
2026-083.5K+3.1%1
2026-073.4K+14.2%1
2026-063.0K+7.6%1
2026-052.8K—1
2026-031.7K—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 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.
Show all (117 lines)

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

Popular in AI Agent

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.