Documentation
¶
Overview ¶
testskills is a stdio MCP fixture that serves skills from a directory the same way mcprig's own P1 surface does: the io.modelcontextprotocol/skills capability extension, skills/list and skills/get custom methods, and every skill file as an MCP resource read byte-for-byte.
Environment:
TESTSKILLS_DIR (required) directory whose direct subdirectories are
skills; each carries SKILL.md plus optional extra files.
TESTSKILLS_NAME fixture server id used in its own URIs (default
"testskills"), so a manifest reads
skill://<name>/<skill>/SKILL.md.
TESTSKILLS_CORRUPT when non-empty, the digest of every SKILL.md resource in
the manifest is replaced with sha256:000…0 while the
bytes stay intact. A client that verifies digests against
the manifest must refuse the read (fail-closed); the
corruption is deterministic and never touches bytes.
TESTSKILLS_PAGE integer page size > 1: skills/list answers one page and
a nextCursor; any other value serves one list.