跳到正文
TakoAPI
返回技能列表

mcp-client

由 nantes 提供

Clawdbot Tools
632下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

A Model Context Protocol (MCP) client that connects to MCP-enabled servers to invoke tools, read resources, and access prompt templates. Available as both a PowerShell script and a Python library.

Handles the MCP HTTP protocol handshake and request formatting so you don't have to write raw REST calls against the spec yourself.

何时使用

  • Calling a search tool on a remote MCP server with custom query arguments
  • Reading a config file from a server-side file:// resource URI
  • Listing all tools exposed by an MCP server before wiring them into an agent
  • Using structured prompt templates served by an MCP-enabled service
  • Scripting MCP tool calls from a Python automation pipeline

示例工作流

输入

User asks: call the 'search' tool on my MCP server at https://mcp-server.com with query 'quantum'

智能体
  1. 1

    Connect to the MCP server using the server URL and API key

  2. 2

    List available tools to confirm 'search' is exposed

  3. 3

    Invoke the 'search' tool with argument {"query": "quantum"}

  4. 4

    Receive and return the tool response

输出

Search results returned by the MCP server's 'search' tool

安装

clawhub install nantes/mcp-client

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接