mcp-scripting SKILL.md skillA

mcp-scripting from nicobailon/pi-mcp-adapter is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nicobailon/pi-mcp-adapter/mcp-scripting@git:20260930.169910a

Pins git:20260930.169910a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nicobailon/pi-mcp-adapter
Path
skills/mcp-scripting/SKILL.md
Versions recorded
8
Latest version
git:20260930.169910a, committed Sep 30, 2026
First version recorded
Sep 4, 2026
Size
4,429 bytes
Repository stars
1,598
License
MIT

Read before writing mcpScript code. Covers tool discovery, the shape of call results (including JSON returned as text), and script limits.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# MCP scripting

Use `mcpScript` when a request needs several MCP calls with logic between them, or when one call's output should go straight into another call. For a single search, describe, status check, auth action, or call, use `mcp`.

Only what the script emits, logs, or returns enters the conversation, so keep intermediate data in variables and return a small result:

```js
const found = await tools.search({ query: "list issues", server: "github" });
const path = found.items[0]?.path;
if (!path) return { error: "No matching tool" };

const result = await tools.call(path, { state: "open" });
if (!result.ok) return result;
const issues = result.data.structuredContent ?? JSON.parse(result.data.content[0].text);
return issues.filter((issue) => issue.comments === 0).map((issue) => issue.number);
```

## API
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nicobailon/pi-mcp-adapter/mcp-scripting@sha256:db96fc0178885b16

The line at the top of this page pins the label git:20260930.169910a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_myseqeyftb637hov.svg)](https://markdownregistry.com/a/art_myseqeyftb637hov)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 8 versions of this file, between Sep 4, 2026 and Sep 30, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20260930.169910a latest2026-09-30 169910a 4,429 BA view · diff
git:20260930.c04a24b2026-09-30 c04a24b 4,068 BA view · diff
git:20260929.f3457012026-09-29 f345701 6,021 BA view · diff
git:20260920.199b4da2026-09-20 199b4da 5,527 BA view · diff
git:20260910.3ab92622026-09-10 3ab9262 4,712 BA view · diff
git:20260905.8243eba2026-09-05 8243eba 4,940 BA view · diff
git:20260905.7d69db22026-09-05 7d69db2 3,904 BA view · diff
git:20260904.a4b80822026-09-04 a4b8082 3,005 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4429 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nicobailon/pi-mcp-adapter · 1,598 stars · license MIT · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_myseqeyftb637hov
GET https://markdownregistry.com/api/v1/resolve?ref=nicobailon/pi-mcp-adapter/mcp-scripting
GET https://markdownregistry.com/api/v1/blob/db96fc0178885b161fe07575a103c6d0e42cd0f0a7e5272f74ef1af66c604b97

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nicobailon/pi-mcp-adapter

AGENTS.md AGENTS.md file
nicobailon/pi-mcp-adapter · AGENTS.md
git:20260928.96aff3f · audit A · 1,598 stars

Every file in nicobailon/pi-mcp-adapter

Browse by kind, by grade A, or by owner.