dangerous-skills-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
dangerous-skills-mcp
A TypeScript MCP server that serves a "dangerous skills" corpus over MCP, implementing the Skills delivery model from SEP-2640 (the current sep/skills-extension revision: skills/list + skills/get with a complete per-file resources digest set). Under an opt-in --adversarial profile it also serves crafted, spec-violating fixtures for testing how MCP hosts handle skill delivery — per-file digest/frontmatter integrity, reads scoped to a skill's resources set, cross-origin and name-collision impersonation, enumeration exhaustion, and nested-skill consent, plus a retained set of deferred archive-unpacking fixtures (archives are not in the v1 SEP).
The corpus is forked from gricha/dangerous-skills (MIT © 2026 Greg Pstrucha). Every payload is benign — it writes a marker file or prints a canary string; nothing performs real harm.
Live endpoint
Deployed as a public Hugging Face Docker Space:
https://olaservo-dangerous-skills-mcp.hf.space/mcpIt's a free CPU Space, so the first request after idle is a slow cold start — retry once. The live Space runs the --adversarial profile. See hf-space/README.md to run or redeploy it.
Any SEP-2640 host can consume it. With fast-agent:
fast-agent go --shell
/mcp connect --name dsk https://olaservo-dangerous-skills-mcp.hf.space/mcp
/skills registry dsk
/skills add check-licensesRelated MCP server: mcp-ai-agent-guidelines
Run locally
Requires Node 22+ and pnpm (the Docker image pins node:22-alpine). Runs via tsx (no build step).
pnpm install
# stdio (the default transport)
pnpm serve:stdio # faithful corpus only
pnpm serve:stdio -- --adversarial # + adversarial fixtures
# HTTP (127.0.0.1:3940/mcp by default)
pnpm serve:http
# smoke client — spawns the server and runs conformance checks
pnpm smoke # PASS/FAIL per check, incl. the SDK's SkillsClient verifying the catalog
pnpm smoke -- --adversarial # also prints what a conformant host MUST do per fixture
pnpm smoke -- --legacy # connect with the 2025-11-25 handshake instead of 2026-07-28What it serves
Skills are addressed under a skill:// URI scheme and enumerated by method:
skills/list— the catalog: one{ uri, frontmatter, resources }entry per skill, whereresourcesis the complete{uri, digest, size}set for every file (not justSKILL.md) — or the string"dynamic"for a generated skill (none in this corpus). Paginated; the result carriesresultType: "complete"and thettlMs/cacheScopefreshness hints. There is noskill://index.json.skills/get— one skill's entry by itsSKILL.mdURI, listed or not (the verification-refresh path).skill://<name>/SKILL.mdand supporting files — individually addressable viaresources/readand verifiable (digest and byte size) against the entry'sresources.resources/directory/read— the SEP-2640 method for a directory's direct children. Paginated and cacheable likeskills/list(resultType,ttlMs,cacheScope).
The handlers are hand-rolled on the SDK's low-level Server rather than its SkillsExtension (@modelcontextprotocol/server/ext/skills, SDK 2.4.0): the extension validates every entry it serves and drops invalid ones, which would delete the adversarial fixtures. The wire constants and request schemas come from @modelcontextprotocol/core/ext/skills, and the smoke client validates the faithful profile with the SDK's result schemas and SkillsClient.
It advertises the io.modelcontextprotocol/skills capability (directoryRead: true) and speaks base protocol revision 2026-07-28 — the revision the stable Skills extension spec is written against — via the SDK's serveStdio / createMcpHandler entries, while still answering 2025-era initialize clients. The --adversarial profile adds the spec-violating fixtures (namespaced adv-); the smoke client documents each one and the action a conformant host should take. See src/adversarial/catalog.ts for the full list.
Archives are a deferred feature (not in the v1 SEP; see the SEP's "Appendix: Deferred Features"). The archive-unpacking fixtures are retained as a research corpus: their blobs are served as ordinary resources but are never referenced by a skills/list entry, so a v1 host never fetches them.
Configuration
SERVE_PROFILE—--adversarialto serve fixtures (the HF image's default), empty for the faithful corpus only.SKILLS_ROOT— corpus root (defaults to the vendoredthird_party/dangerous-skills/skills).HOST/PORT— HTTP bind address (default127.0.0.1:3940).ALLOWED_HOSTS,MCP_DISABLE_DNS_REBINDING_PROTECTION— relax the localhost host check for remote hosting behind a proxy.
License
MIT (see LICENSE). The vendored corpus is MIT © 2026 Greg Pstrucha (gricha/dangerous-skills); its notice is kept at third_party/dangerous-skills/LICENSE.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Primary-source MCP server with epistemic compiler, Audit.lean & offline veriscope-verify CLI.
Experimental MCP server for current empirical verification of explicit public HTTPS endpoint claims.
Security-tests other MCP servers: tool poisoning, injection, rug-pull, exfil, auth defects.
Security research canary remote MCP server for owned-account testing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA demonstration MCP server built in TypeScript that shows how to implement stdio-based communication for integration with MCP clients. Serves as a template for building custom MCP servers with strong typing and maintainability.ISC
- AlicenseNot gradedqualityCmaintenanceA TypeScript ESM MCP server exposing 20 public instruction tools and 7 utility tools, backed by 102 internal skills across 18 domain families — from requirements discovery and code quality through governance, resilience, and physics-inspired analysis.581 npm6MIT
- AlicenseBqualityBmaintenanceA minimal test MCP server built with TypeScript, demonstrating basic Model Context Protocol capabilities like tools, resources, and prompts.2MIT
- FlicenseNot gradedqualityBmaintenanceA raw TypeScript MCP server simulating incident lifecycles with tools, resources, prompts, and signed multi-round remediation approval. Enables CLI-based interaction, protocol negotiation, and health/security testing without external MCP SDK dependencies.-