mcp-best-practices SKILL.md skillA

mcp-best-practices from tenequm/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add tenequm/skills/mcp-best-practices@v1.3.0

Pins v1.3.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
tenequm/skills
Path
skills/mcp-best-practices/SKILL.md
Versions recorded
6
Latest version
v1.3.0, committed Oct 6, 2026
First version recorded
Aug 7, 2026
Size
39,390 bytes
Repository stars
39
License
MIT

Build, harden, and debug production MCP servers with the TypeScript SDK. Use when writing or reviewing an MCP server - transports, tool schemas, errors, OAuth, token bloat, SDK migrations, MCP Apps, Registry. Assumes a server already exists.

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 Best Practices

Decision reference for building production MCP servers with the TypeScript SDK. Not a tutorial - assumes you already have a working server and need to make it correct, fast, and secure.

## Quick Reference

| Component | Current | Notes |
|-----------|---------|-------|
| Spec (released) | **2026-07-28** ([specification](https://modelcontextprotocol.io/specification/latest)) | Stateless/sessionless overhaul - see "Spec 2026-07-28" below and `references/spec-2026-07-28.md` |
| Spec (still deployed) | **2025-11-25** | Still the bulk of deployed software and the TS client default - but Claude Code now negotiates 2026-07-28 with HTTP servers that offer it |
| TS SDK (current) | **v2.3.1** (2026-10-05): `/server`, `/client`, `/core` 2.3.1; `/node` 2.1.1, `/express` + `/hono` 2.0.2, `/fastify` 2.0.1 (no longer lockstep) | `createMcpHandler` serves both eras by default; the client speaks 2025-era unless told otherwise |
| TS SDK (legacy) | **v1.32.1** (`@modelcontextprotocol/sdk`) | Bug + security fixes for >=6 months after v2 GA, never a revision past 2025-11-25; source on the [`v1.x` branch](https://github.com/modelcontextprotocol/typescript-sdk/tree/v1.x) |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add tenequm/skills/mcp-best-practices@sha256:b80d127fd43e7c6d

The line at the top of this page pins the label v1.3.0, 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_qt2pc63z72ubqavu.svg)](https://markdownregistry.com/a/art_qt2pc63z72ubqavu)

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

Versions

The registry has recorded 6 versions of this file, between Aug 7, 2026 and Oct 6, 2026, about one every 12 days.

versioncommittedcommitsizeaudit
v1.3.0 latest2026-10-06 fc931d9 39,390 BA view · diff
v1.2.12026-09-09 8b2372f 33,524 BA view · diff
v1.2.02026-09-09 4132e7d 33,524 BA view · diff
v1.1.22026-09-09 532dedd 29,340 BA view · diff
v1.1.12026-08-21 b16c242 29,500 BA view · diff
v1.1.02026-08-07 f846c19 29,383 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 (39390 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

tenequm/skills · 39 stars · license MIT · pushed 2026-11-05 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qt2pc63z72ubqavu
GET https://markdownregistry.com/api/v1/resolve?ref=tenequm/skills/mcp-best-practices
GET https://markdownregistry.com/api/v1/blob/b80d127fd43e7c6d78466ca3d453d0d303f097297dc52b1a576bc58c45d94c29

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 tenequm/skills

AGENTS.md AGENTS.md file
tenequm/skills · AGENTS.md
git:20261105.16996da · audit A · 39 stars
audio-quality-check SKILL.md skill
tenequm/skills · archive/audio-quality-check/SKILL.md · Analyzes audio recording quality - echo detection, loudness, speech intelligibility, SNR, and spectral analysis. Use…
v0.1.4 · audit A · 39 stars
chrome-extension-wxt SKILL.md skill
tenequm/skills · archive/chrome-extension-wxt/SKILL.md · Build Chrome extensions with the WXT framework and TypeScript, React, Vue, or Svelte. Use when creating browser…
v1.1.5 · audit B · 39 stars
cloudflare-workers SKILL.md skill
tenequm/skills · archive/cloudflare-workers/SKILL.md · Rapid development with Cloudflare Workers - build and deploy serverless applications on Cloudflare's global network…
v3.1.3 · audit A · 39 stars
effect-ts SKILL.md skill
tenequm/skills · archive/effect-ts/SKILL.md · Effect-TS guide for TypeScript, v4 default with v3 support. Use when writing, debugging, or reviewing Effect code…
v0.6.5 · audit A · 39 stars
erc-8004 SKILL.md skill
tenequm/skills · archive/erc-8004/SKILL.md · Build with ERC-8004 Trustless Agents - on-chain agent identity, reputation, validation, and discovery on EVM chains…
v0.2.4 · audit A · 39 stars
foundry-solidity SKILL.md skill
tenequm/skills · archive/foundry-solidity/SKILL.md · Build and test Solidity contracts with Foundry. Use when developing Ethereum contracts, writing Forge tests, deploying…
v0.2.5 · audit A · 39 stars
gh-cli SKILL.md skill
tenequm/skills · archive/gh-cli/SKILL.md · GitHub CLI for remote repository analysis, file fetching, codebase comparison, and discovering trending code/repos. Use…
v1.4.0 · audit A · 39 stars
grafana-foundation-sdk SKILL.md skill
tenequm/skills · archive/grafana-foundation-sdk/SKILL.md · Build Grafana dashboards as code with the grafana-foundation-sdk typed builders (TypeScript or Go). Use when creating…
v0.2.4 · audit A · 39 stars
herdr-faq SKILL.md skill
tenequm/skills · archive/herdr-faq/SKILL.md · Launch and drive coding agents (codex, claude, agy) through the Herdr CLI; requires a herdr pane (HERDR_ENV=1). Use…
v0.5.0 · audit A · 39 stars
impactful-writing SKILL.md skill
tenequm/skills · archive/impactful-writing/SKILL.md · Write clear, emotionally resonant, and well-structured content that readers remember and act upon. Use when writing or…
v0.1.4 · audit A · 39 stars
mpp SKILL.md skill
tenequm/skills · archive/mpp/SKILL.md · Build with MPP (Machine Payments Protocol), open machine-to-machine payments over HTTP 402. Use for paid APIs…
v0.10.2 · audit A · 39 stars

Every file in tenequm/skills

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