Logo Mcp Core Best Practices

Mcp Core Best Practices

Tổ chức
aliyun
mcp-core-best-practices

Tài liệu tham khảo dùng chung để khai thác hiệu quả Alibaba Cloud OpenAPI MCP Server Core. Bao gồm các mẫu sử dụng công cụ, quy trình khám phá API, tạo lệnh CLI, thực thi bằng script, thăm dò tác vụ bất đồng bộ, Infrastructure as Code (RunIaC), truy cập liên tài khoản và cấu hình chính sách an toàn. Các kỹ năng alibabacloud-core khác tham chiếu tài liệu này làm hướng dẫn chuẩn cho các tương tác với MCP Core.

Tổng quan

Nhà phát hànhaliyun
Kho mãalibabacloud-agent-toolkit
Tên kỹ năngmcp-core-best-practices
Sao
29
Bản fork
13
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được aliyun công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Mcp Core Best Practices trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/mcp-core-best-practices
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/aliyun/alibabacloud-agent-toolkit.git /tmp/alibabacloud-agent-toolkit
mkdir -p .claude/skills
cp -r /tmp/alibabacloud-agent-toolkit/plugins/alibabacloud-core/skills/mcp-core-best-practices .claude/skills/mcp-core-best-practices
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Mcp Core Best Practices trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Mcp Core Best Practices ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Mcp Core Best Practices với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Alibaba Cloud MCP Core Best Practices

This skill documents the canonical patterns for using the alibabacloud-core MCP server — the generalized OpenAPI MCP Server Core that covers all Alibaba Cloud APIs without requiring pre-selection of specific operations.

Available Tools

ToolPurpose
AlibabaCloud___SearchApisNatural language search for APIs matching a requirement
AlibabaCloud___CallCLIExecute a single CLI command remotely
AlibabaCloud___GetApiDefinitionGet full API definition (params, response, errors) by product/version/name
AlibabaCloud___ListApisList all APIs for a product, optionally filtered
AlibabaCloud___ListProductRegionsList regions where a product is available
AlibabaCloud___GenerateCLICommandGenerate a CLI command from API definition + parameters
AlibabaCloud___ListProductsList all Alibaba Cloud products
AlibabaCloud___SearchDocumentsSearch Alibaba Cloud official documentation by keyword, with optional product/language/site filters
AlibabaCloud___GetDocumentGet full Markdown content of a document by doc_id (preferred) or URL
AlibabaCloud___GetDocumentTreeBrowse a product's document directory tree to discover available docs
AlibabaCloud___GrepDocumentsSearch within a specific product's documents by keyword pattern
AlibabaCloud___RunScriptStart a restricted Python task with structured Alibaba Cloud OpenAPI access
AlibabaCloud___GetTaskLong-poll a RunScript task until approval, execution, or failure reaches a terminal state
AlibabaCloud___RunIaCRun Terraform / IaC (action=plan/apply/destroy) to provision or tear down a multi-resource stack; plan-before-apply, sync or async, HITL approval
AlibabaCloud___GetPresignedUrlGet a time-limited OSS presigned URL (default upload) + presignToken to feed RunIaC; no credentials exposed

Standard Workflow

1. API Discovery

When the target API is unknown, use AlibabaCloud___SearchApis with a natural language description of the requirement. Each query should be granular enough to map to a single API call.

For known products, use AlibabaCloud___ListApis with a filter keyword to browse available operations.

2. API Inspection

Once the target API is identified, use AlibabaCloud___GetApiDefinition to retrieve the full definition including:

  • Required and optional parameters
  • Request/response schemas
  • Authentication requirements
  • Error codes

3. Command Generation

Use AlibabaCloud___GenerateCLICommand to produce a correct CLI command from the API definition and user-provided parameters. This avoids manual CLI syntax errors.

4. Execution Choice

Use AlibabaCloud___CallCLI for one known aliyun ... command when no later call depends on its response. Verified example: AlibabaCloud___CallCLI(command="aliyun ecs DescribeRegions --region cn-hangzhou").

Use AlibabaCloud___RunScript when the answer needs structured OpenAPI call_cli(...): pagination, List-to-Describe enrichment, cross-resource comparison, multi-region/multi-product collection, permission checks, OSS body/bytes handling, response-driven follow-up calls, or custom result shaping. Example: fetch identity, list resources, and perform follow-up Describe/Get calls in one script instead of separate tool round-trips.

Do not split one user task across multiple RunScript submissions just to inspect intermediate data. Put discovery, pagination, filtering, and follow-up Describe/Get calls in one self-contained script and return via result.

Chargeable operations: quote before executing. If the command creates, resizes, renews, or otherwise changes billable resources, first run the same command with --estimate-cost appended (quote only, no execution) and include the quoted amount in the user-facing confirmation. See Cost Estimation Before Execution and the alibabacloud-cli-cost-estimation skill.

5. Single-Call Execution

Use AlibabaCloud___CallCLI to execute the generated command. Key constraints:

  • Commands must start with aliyun
  • No shell pipes, redirections, or operators
  • No shell variables or command substitution
  • No local file path references (MCP server is remote)

6. Scripted Multi-Call Execution

AlibabaCloud___RunScript starts a sandboxed Python task and waits up to 20 seconds. It may return result directly; otherwise use the returned processID and nextAction with AlibabaCloud___GetTask. The script's OpenAPI access goes through injected call_cli() only:

python
identity = await call_cli(product='Sts', action='GetCallerIdentity',
                          params={}, version='2015-04-01')
result = {'has_account_id': 'AccountId' in identity}

RunScript essentials:

  • call_cli() is structured OpenAPI, not CLI text. Never pass aliyun ....
  • Before unfamiliar APIs, OSS APIs, body/object params, array params, or parameter retries, call AlibabaCloud___GetApiDefinition separately.
  • Top-level params keys must match OpenMeta parameters[].name. RPC APIs often use RegionId; OSS APIs often use bucket, max-keys, x-oss-acl, or body.
  • Arrays/objects stay as Python lists/dicts unless the API parameter itself is JSON text.
  • For OSS object bytes, PutObject accepts bytes in params['body'] and GetObject returns bytes in Body.
  • version, region, and endpoint are optional; still pass API region fields such as RegionId when the API defines them.
  • Assign final output to result. Do not pass credentials, profiles, shell flags, or host file paths. Use /tmp only for small sandbox scratch files.
  • The script must have a reachable module-level call_cli(); pure Python payloads fail validation.
  • Do not write import or comments. Safe modules such as asyncio, json, math, re, time, and uuid are pre-imported.
  • Do not use sensitive names such as eval, exec, compile, __import__, globals, locals, getattr, setattr, or vars; do not use private or dunder attributes, dynamic .format() tricks, subprocesses, or network code.
  • Do not target CLI meta products such as configure, plugin, ossutil, ossutil64, upgrade, or mock. Some OSS APIs are unsupported; if the validator returns UnsupportedOssApi, choose a supported OSS OpenAPI action or another tool.
  • Discover IDs inside the script, paginate every list call, and never sample or truncate complete inventory/compliance answers.
  • List APIs are not enough for attribute checks. Follow List with Describe/Get and feature-specific APIs for every resource.
  • Verify response shape before saying "0 found"; list responses often wrap arrays twice, e.g. {"Instances":{"Instance":[...]}}.
  • Use asyncio.gather(..., return_exceptions=True) for parallel calls. Treat expected NotFound as "not configured" for optional features.
  • Do exact aggregation in Python; return raw fields for judgment calls such as "misconfigured" or "risky".

OSS object read/write example (use a user-approved temporary bucket/key):

python
bucket = '<approved-bucket>'
key = 'run-script-probe/example.txt'
content = b'hello-from-run-script\n'
put = await call_cli(product='Oss', action='PutObject',
                     params={'bucket': bucket, 'key': key, 'body': content},
                     version='2019-05-17', region='cn-hangzhou')
got = await call_cli(product='Oss', action='GetObject',
                     params={'bucket': bucket, 'key': key},
                     version='2019-05-17', region='cn-hangzhou')
result = {'put_ok': isinstance(put, dict), 'round_trip_ok': got.get('Body') == content}

7. RunScript Task Polling

After AlibabaCloud___RunScript, inspect nextAction:

nextActionMeaningAgent action
NoneTask succeededUse result
CallGetTaskInitial call is not terminalCall AlibabaCloud___GetTask with the same processID
CallGetTaskAgainPoll timed out and task is still not terminalCall AlibabaCloud___GetTask again with the same processID
StopValidation failed, approval rejected/expired, task expired, or process missingStop; do not retry automatically
InspectErrorExecution failedInspect error; failed OpenAPI calls appear in error.failedCall when available

AlibabaCloud___GetTask parameters:

  • processID: required, from RunScript.
  • waitTimeoutSeconds: optional, capped at 30 seconds by the server. Use 0 for an immediate status check.
  • pollIntervalSeconds: optional polling interval, between 1 and 10 seconds.

Human approval handling:

  • ApprovalPending with approvalReqId means external approval is required. Ask the user to complete approval or rejection out of band, then call AlibabaCloud___GetTask again with the same processID.
  • Do not call AlibabaCloud___RunScript again while waiting for approval or execution; that creates a new process instead of continuing the current one.
  • ApprovalRejected and ApprovalExpired are terminal. Stop and report the approval result.

8. Cross-Account Execution

IMPORTANT: For any operation involving member accounts, cross-account queries, or Resource Directory account resolution, you MUST first load the multi-account-query skill (invoke it via the Skill tool) before proceeding. That skill contains the complete workflow for alias-to-UID resolution, pagination handling, and proper use of x_assume_account_id. Do not attempt cross-account operations without reading it first.

For Resource Directory member accounts, pass additional parameters to AlibabaCloud___CallCLI:

ParameterUsage
x_assume_account_idTarget member account UID
x_assume_role_nameCustom role name (default: ResourceDirectoryAccountAccessRole)
x_assume_role_arnFull role ARN (highest priority)

Priority: x_assume_role_arn > x_assume_account_id + x_assume_role_name > default configuration.

Cost Estimation Before Execution

The CLI (≥ 3.4.2) can return an exact price quote for a supported operation without executing it — the quoted amount equals the order amount the execution would produce. The best-practice loop for any chargeable operation:

  1. Check support: aliyun list-supported-pricing-apis
  2. Quote: append --estimate-cost to the exact command (safe — never executes)
  3. Present the amount in the confirmation shown to the user
  4. Execute only after confirmation, with --estimate-cost removed

When one user request maps to multiple API calls, quote all chargeable steps up front (using --estimate-cost-context to simulate the state earlier steps will produce), present a single consolidated cost plan, and ask one confirmation for the whole sequence — do not execute-and-ask step by step.

For usage-based quotes and multi-step workflows (quoting a later step against the state an earlier step will produce), pass assumptions via --estimate-cost-context Key=Value. Full guidance — reading the quote JSON (pricingMode / pricingUnit / delta amounts), PricingContext usage, and bill reconciliation — lives in the dedicated alibabacloud-cli-cost-estimation skill.

Infrastructure as Code (RunIaC)

AlibabaCloud___RunIaC runs Terraform/IaC so a single call can stand up several interdependent resources, then later tear them down. It takes action (plan default / apply / destroy), code (only on plan) or presignToken, and previousProcessId. Prefer it over CallCLI whenever the request is more than a one-off read or single mutation.

When to use RunIaC vs CallCLI

Use RunIaCUse CallCLI
Multiple resources at once (e.g. VPC + vSwitch + ECS)A single, one-shot query or describe
Resources have dependencies / orderingA stateless mutation that needs no rollback
You want a destroyable, tracked stackNo lifecycle to manage afterward
Repeatable, idempotent provisioningQuick fact lookup or --region check

If you find yourself chaining several CallCLI create calls and worrying about cleanup, switch to RunIaC.

Plan, apply, destroy

  1. Plan: send action=plan with code (or presignToken). It returns a processId plus the diff and status=Planned. Surface the diff to the user.
  2. Apply: send action=apply with previousProcessId (no code) to run the exact plan that was reviewed; template and state stay identical. If the plan has changes, the call may return ApprovalPending + approvalReqId — wait for approval, do not retry. Remind the user to review the plan first when resources involve cost, data deletion, or security-sensitive config.
  3. Destroy: send action=destroy with previousProcessId to release the resources from that plan.

Async execution + polling

RunIaC returns a processId immediately and runs the task in the background. Use nextAction to drive follow-up: CallGetTask / CallGetTaskAgain means poll AlibabaCloud___GetTask with that processID until a terminal state. Plan rests at Planned; apply ends at Succeeded (or Failed). Read the structured outputs from the apply / GetTask result — do not block waiting on the first call.

Tearing down

To release resources, call RunIaC with action=destroy and the previousProcessId of the plan that created them.

Long-running / timeout handling

For complex or slow code, keep polling AlibabaCloud___GetTask by processID until terminal instead of one long blocking wait; do not loop aggressively (a few-second cadence is enough).

Reading structured outputs

Both plan and apply emit structured output. Read the plan to confirm the resource set before applying, and read the apply / GetTask result outputs (e.g. region, zone, instance name, public IP) to report results — do not guess at IDs/addresses; pull them from the returned outputs.

CLI Command Constraints

When using AlibabaCloud___CallCLI, the following are NOT supported:

  • Bash/zsh pipes (|) or shell operators
  • grep, awk, sed, or other shell tools
  • Shell redirection (>, >>, <)
  • Command substitution ($())
  • Shell variables or environment variables
  • Local file paths (file://, fileb://)

For commands that need local file access (e.g., ossutil cp), use the Bash tool directly instead of MCP.

File Operations

The MCP server is remote, so CallCLI rejects local paths (file://, fileb://) and tools never see your filesystem. To move bytes in — IaC bundles or large script inputs — stage them in OSS with AlibabaCloud___GetPresignedUrl. It defaults to upload (PUT) against a platform-managed bucket and returns a presignToken; the URL carries its own auth, so credentials are never embedded in commands. Download (GET) is only for the user's own OSS bucket.

Typical flow:

  1. Call GetPresignedUrl (default upload) to get an upload URL + presignToken.
  2. PUT the local bundle to that URL.
  3. Pass the presignToken to RunIaC instead of inlining code.

Region Handling

  • Use AlibabaCloud___ListProductRegions to check product availability in a specific region before making calls.
  • Always include --region when operating across regions or when the default region may not match the target.

Documentation Access

  • AlibabaCloud___SearchDocuments: Find relevant docs by keyword. Supports product, limit, website, and language filters.
  • AlibabaCloud___GetDocument: Read full content by doc_id (preferred) or URL. Supports max_length to cap response size, plus website and language.
  • AlibabaCloud___GetDocumentTree: Browse a product's doc tree by alias (e.g. ecs, oss). Use to discover what documents exist, then fetch via GetDocument.
  • AlibabaCloud___GrepDocuments: Search within a specific product's docs by keyword pattern (matches title/description). Useful when you know the product but not the exact document name.

Use these to verify behavior, understand quotas, or find configuration guides that are not captured in API definitions alone.

Error Handling Patterns

  • InvalidParameter: Check parameter names and values against GetApiDefinition output.
  • AccessDenied / Forbidden: Verify RAM permissions for the current identity.
  • Throttling: Retry with backoff; do not loop aggressively.
  • RegionNotSupported: Use ListProductRegions to find valid regions.
  • RunIaC apply fails: Read the returned status and result; fix the HCL, plan again, and apply the new previousProcessId. To roll back, action=destroy with the prior previousProcessId rather than chaining manual CallCLI cleanup.
  • RunIaC long-running timeout: Poll AlibabaCloud___GetTask by processID until terminal; do not retry the whole apply (re-bind via previousProcessId).
  • RunScript ValidationFailed: Fix unsafe or invalid Python authoring patterns before submitting a new RunScript.
  • RunScript BLK-4002: Add a reachable module-level call_cli(); pure Python scripts are rejected.
  • RunScript Failed / InspectError: Inspect error; if the script needs correction, submit one new corrected RunScript.

Skill Discovery (Fallback)

The in-plugin skills (alibabacloud-sdk-usage, alibabacloud-cli-guidance, alibabacloud-terraform-code-generation, multi-account-query) cover SDK codegen, CLI guidance, Terraform HCL, and cross-account queries. They do not cover purpose-built operational solutions, less common products, or end-to-end workflows that the Alibaba Cloud team publishes as standalone skills.

When the user's request falls outside the in-plugin coverage, defer to alibabacloud-find-skills instead of forcing a generic SDK or CLI synthesis.

Invoke alibabacloud-find-skills when ANY of the following is true

  • The user explicitly asks to search, browse, install, or discover an Alibaba Cloud skill (e.g., "有没有 RDS 备份的 skill", "find an OSS skill", "帮我装一个阿里云 skill")
  • The request describes an operational solution pattern likely already packaged — batch operations, automated audits, key/credential rotation, scheduled cleanup, disaster recovery setup, incident response runbooks
  • The target product or feature is not covered by any in-plugin skill — examples: MaxCompute, PAI, Quick BI, Function Compute lifecycle ops, CloudMonitor automation, custom service-linked workflows
  • A first-cut SDK/CLI synthesis would require 3+ chained API calls plus retry/pagination/error semantics — a packaged skill usually captures the pattern more reliably than ad-hoc code

Do NOT invoke alibabacloud-find-skills when

  • The task is a single CallCLI / GetApiDefinition / one-shot SDK call (use the in-plugin skills directly)
  • The user explicitly wants generated SDK code, raw CLI commands, or Terraform HCL (those map cleanly to in-plugin skills)
  • The same workflow already triggered find-skills earlier in this conversation and returned no match — don't re-search the same intent

Handoff pattern

  1. Briefly tell the user you're searching the official catalog for a purpose-built skill
  2. Invoke alibabacloud-find-skills via the Skill tool — it handles search, presentation, and install in its own workflow
  3. After install, follow the installed skill's instructions to complete the request; do not fall back to ad-hoc SDK/CLI synthesis once a matching skill is loaded

Integration Guidance

When building stable workflows:

  1. Use SearchApis to identify the correct API during development.
  2. Use GenerateCLICommand to produce validated commands.
  3. Use RunScript for workflows that require complete pagination, List-to-Describe enrichment, or multi-call analysis.
  4. Capture the stable command or script patterns into a dedicated Skill.
  5. Configure a safety policy to restrict the MCP connection to only the commands the Skill needs (for production use).

This progression — explore, validate, codify, restrict — ensures both flexibility during development and safety in production.

Câu hỏi thường gặp

Kỹ năng AI Mcp Core Best Practices làm được gì?

Tài liệu tham khảo dùng chung để khai thác hiệu quả Alibaba Cloud OpenAPI MCP Server Core. Bao gồm các mẫu sử dụng công cụ, quy trình khám phá API, tạo lệnh CLI, thực thi bằng script, thăm dò tác vụ bất đồng bộ, Infrastructure as Code (RunIaC), truy cập liên tài khoản và cấu hình chính sách an toàn. Các kỹ năng alibabacloud-core khác tham chiếu tài liệu này làm hướng dẫn chuẩn cho các tương tác với MCP Core.

Vì sao nên dùng Mcp Core Best Practices trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Mcp Core Best Practices là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Mcp Core Best Practices trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/aliyun/alibabacloud-agent-toolkit/tree/main/plugins/alibabacloud-core/skills/mcp-core-best-practices. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Mcp Core Best Practices?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Mcp Core Best Practices với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Mcp Core Best Practices với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Mcp Core Best Practices có miễn phí không?

Có. Kỹ năng này được aliyun phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇