Skillpedia
الموصّلات (MCP)5.9k · #14528

mcporter

ما الذي تفعله

تتيح هذه المهارة للذكاء الاصطناعي عرض خوادم MCP وأدواتها واستدعاءها من سطر الأوامر. وهي مناسبة لمن يربط الذكاء الاصطناعي بخدمات خارجية عبر MCP.

متى تستخدمها

  • ✓عندما تريد معرفة خوادم MCP والأدوات المتاحة.
  • ✓عندما تحتاج إلى استدعاء خدمة خارجية عبر خادم MCP.
  • ✓عندما تضيف خادم MCP جديداً وتريد توثيق أدواته.

رابط المهارة

https://github.com/agentscope-ai/AgentTeams/blob/main/manager/agent/copaw-worker-agent/skills/mcporter/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/agentscope-ai/AgentTeams/blob/main/manager/agent/copaw-worker-agent/skills/mcporter/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“اعرض خوادم MCP التي أعددتها، وأرني معاملات أداة البحث.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يشغّل وكيلك أمر mcporter list لإيجاد الخوادم والأدوات، ويقرأ مخططات المعاملات، ثم يستدعي الأداة المختارة بوسائط مفتاح-قيمة أو JSON.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

mcporter — MCP Tool CLI

You call MCP Server tools via mcporter. Your config is at ./config/mcporter.json (mcporter's default path — no --config flag needed).

Commands

# List all configured MCP servers and their tool counts
mcporter list

# View a specific server's tools with full parameter schemas
mcporter list <server-name> --schema

# Call a tool — key=value syntax for simple args
mcporter call <server-name>.<tool-name> key=value key2=value2

# Call a tool — JSON syntax for complex args (arrays, objects, numbers)
mcporter call <server-name>.<tool-name> --args '{"key":"value","count":5}'

Output is JSON — parse with jq when needed.

When Your Coordinator Notifies You About New MCP Tools

When your coordinator @mentions you saying a new MCP server has been configured, follow this workflow:

Step 1: Pull the updated config

Use the filesync tool to pull the latest config files:

{
  "action": "pull",
  "path": "shared/"
}

Step 2: Discover the new server and its tools

# Verify the new server appears
mcporter list

# Get full tool schemas — read carefully to understand each tool
mcporter list <server-name> --schema

Step 3: Generate a skill for the new MCP server

After understanding the tools, create a skill directory and SKILL.md so you have a permanent reference. Model it after your github-operations skill:

mkdir -p ~/skills/<server-short-name>-operations

Then write ~/skills/<server-short-name>-operations/SKILL.md with:

  1. Front-matter: name, description, assign_when
  2. Overview section explaining what the MCP server does
  3. For each tool: a section with description, example mcporter call command, and parameter notes
  4. Important notes (rate limits, auth, known issues if any)

Use the tool schemas from Step 2 as the source of truth for parameter names, types, and required/optional status.

Example structure:

---
name: weather-operations
description: Query weather data via the weather MCP server. Use when you need current weather, forecasts, or climate data.
assign_when: Worker needs weather information for a task
---

# Weather Operations

## Overview

Use this skill to query weather data via the centralized MCP Server.

## get_weather

Get current weather for a city:

\```bash
mcporter call mcp-weather.get_weather city=Tokyo units=metric
\```

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| city | string | yes | City name |
| units | string | no | Temperature units (default: metric) |

Step 4: Confirm to your coordinator

After generating the skill, reply to your coordinator confirming:

  • You pulled the updated config
  • You discovered N tools on the new server
  • You generated a skill at ~/skills/<name>-operations/SKILL.md
  • You're ready to use the new tools

Important Notes

  • Not installed? If mcporter command is not found, install it: npm install -g mcporter
  • Transport: MCP Servers use HTTP transport (configured in config/mcporter.json)
  • Auth: Authorization header with Bearer token is auto-configured — you don't need to manage credentials
  • Permissions: Your MCP access is controlled by your coordinator. If you get 403 from the MCP Server, ask your coordinator to re-authorize your access
  • Config not found: If ./config/mcporter.json doesn't exist yet, use your file-sharing skill first; your coordinator publishes the config after setting up MCP servers
الأسئلة الشائعة

ما شكل الناتج؟

ناتج الأداة بصيغة JSON، ويمكن تحليله بـjq.

هل يستطيع إنشاء توثيق لخادم جديد؟

نعم. تتضمن المهارة سير عمل لكتابة مستند مهارة لخادم MCP جديد.

أين تُحفظ الإعدادات؟

تُحفظ في مجلد الإعدادات داخل مساحة عمل الوكيل.

التفاصيل

الوصف الأصلي من المؤلف

Discover and call MCP Server tools via the mcporter CLI. Use when your coordinator notifies you about new MCP tools, or when you need to call external APIs. Includes workflow for generating skill documentation for new MCP servers.

repo: agentscope-ai/AgentTeams

الشعبية

نجوم GitHub
5.9k
الترتيب
#14528
الترخيص
Apache-2.0
آخر تحديث
2‏/11‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة