تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

mcp-client

بواسطة nantes

Clawdbot Tools
632التنزيلات وفق ما يذكره clawskills.sh
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط