AGENT SKILL

mcp-server

Guide strands-agents-mcp-server installation, CLI use, docs search/fetch semantics, llms.txt indexing, cache hydration, URL restrictions, environment variables, and offline/live tests.

License 许可
Apache-2.0
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
mcp-server
license
Apache 2.0
metadata
{ "disco-role": "operating" }
description
Guide strands-agents-mcp-server installation, CLI use, docs search/fetch semantics, llms.txt indexing, cache hydration, URL restrictions, environment variables, and offline/live tests.
disable-model-invocation
true

02 资源文件 6

03 SKILL.md 正文

MCP server

Use this sub-skill when working on the strands-agents-mcp-server package and its documentation-access tools.

Start here

  1. Read overview.md for package boundaries, verified facts, and owned behavior.
  2. Read cli-reference.md for install, launch, environment variables, and safe check commands.
  3. Read workflows.md for search_docs, fetch_doc, hydration, sectioning, and test workflows.
  4. Read troubleshooting.md for expected error dictionaries, network issues, prefetch timing, and dependency warnings.
  5. Use mcp-smoke.sh for import/signature and console-help checks without network fetches.
  6. Use mcp-unit-check.sh for selected offline unit tests when invoked from a compatible checkout.

Use this sub-skill for

  • Installing or launching the docs-search MCP server through the console entry point, module entry point, or MCP client command.
  • search_docs(query, k=5) ranking, snippets, result fields, and hydration-sensitive body-term search.
  • fetch_doc(uri="", section="") catalog mode, TOC mode, section mode, small-document behavior, and error shapes.
  • llms.txt catalog indexing, cache hydration, snippet generation, background prefetch, retryable indexing failures, and section extraction.
  • URL restrictions, server environment variables, dependency warnings, offline unit tests, and live-doc integration tests.

Route elsewhere

  • Python SDK MCP client internals, transport adapters, or MCPClient usage by agents: use python-sdk.
  • Docs-site MDX pages, sourceLinks, generated API docs, or site navigation: use docs-site.
  • TypeScript SDK MCP client/tools: use typescript-sdk.

Operating rules

  • Do not fetch live documentation, run networked integration tests, or start long-lived inspectors by default.
  • Preserve the strict allowed host: only HTTPS URLs under strandsagents.com are valid document URLs.
  • Treat search scores as within-query ordering values, not probabilities or cross-query comparable numbers.
  • Keep unsupported URL, fetch failure, and unknown section errors as explicit dictionary returns unless the package contract changes deliberately.
  • Keep live-doc network tests separate from offline unit tests; skip or document them unless the task explicitly selects network verification.

Fast path

  1. Identify whether the task is packaging/launch, search ranking, fetch/sectioning, cache/indexing, URL validation, or tests.
  2. Read the matching reference and run the smoke helper in an environment where the package is installed.
  3. For behavior changes, prefer offline unit tests first; escalate to live docs only when the task requires real public site behavior.
  4. If a task crosses into SDK MCP client behavior, hand off to the Python or TypeScript SDK sub-skill instead of mixing contracts.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351