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-10-08
- Stars
- ★ 11
- Forks
- 3
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 资源文件 4
- 参考文档references/cli-reference.md2.6 KB
- 参考文档references/overview.md2.8 KB
- 参考文档references/troubleshooting.md4.0 KB
- 参考文档references/workflows.md5.6 KB
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
- Read overview.md for package boundaries, verified facts, and owned behavior.
- Read cli-reference.md for install, launch, environment variables, and safe check commands.
- Read workflows.md for
search_docs,fetch_doc, hydration, sectioning, and test workflows. - Read troubleshooting.md for expected error dictionaries, network issues, prefetch timing, and dependency warnings.
- Use mcp-smoke.sh for import/signature and console-help checks without network fetches.
- 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.txtcatalog 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
MCPClientusage 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.comare 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
- Identify whether the task is packaging/launch, search ranking, fetch/sectioning, cache/indexing, URL validation, or tests.
- Read the matching reference and run the smoke helper in an environment where the package is installed.
- For behavior changes, prefer offline unit tests first; escalate to live docs only when the task requires real public site behavior.
- 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
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.