Unlinked: Skill for Claude Code

.agents/skills/typescript-mcp-server-generator/SKILL.md

typescript-mcp-server-generator is a skill for Claude Code, Codex from larsbaunwall/Unlinked. It costs 23 tokens per session (773 once invoked), scanned A, original, MIT.

A generator for complete MCP servers written in TypeScript. MCP servers let AI agents use defined tools and access defined resources.

In plain words
What is it for?
Use it to start a TypeScript MCP server with tools, resources, schema validation, and either HTTP or local standard-input/output communication.
Why use it?
It removes the need to set up the project structure, packages, configuration, transport, validation, and error handling by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is larsbaunwall/Unlinked's own configuration. It tells Claude Code and Codex how to work on Unlinked itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Unlinked configures →

Reuse

Borrowing it

Nothing to install: this file belongs to larsbaunwall/Unlinked. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/larsbaunwall/Unlinked/main/.agents/skills/typescript-mcp-server-generator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/larsbaunwall/Unlinked

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for typescript-mcp-server-generator

README.md
[![agentmods](https://agentmods.dev/badge/skills/larsbaunwall/unlinked/typescript-mcp-server-generator.svg)](https://agentmods.dev/skills/larsbaunwall/unlinked/typescript-mcp-server-generator)
Your own site
<a href="https://agentmods.dev/skills/larsbaunwall/unlinked/typescript-mcp-server-generator"><img src="https://agentmods.dev/badge/skills/larsbaunwall/unlinked/typescript-mcp-server-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 773 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00023 $0.00773
Opus 5 $0.00012 $0.00387
Sonnet 5 $0.00005 $0.00155
Haiku 4.5 $0.00002 $0.00077

Measured 6d ago against content hash 3a39ecdfd4dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

typescript-mcp-server-generator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/typescript-mcp-server-generator/SKILL.md · 91 lines

How it starts

The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Generate TypeScript MCP Server

Create a complete Model Context Protocol (MCP) server in TypeScript with the following specifications:

Requirements

  1. Project Structure: Create a new TypeScript/Node.js project with proper directory structure
  2. NPM Packages: Include @modelcontextprotocol/sdk, zod@3, and either express (for HTTP) or stdio support
  3. TypeScript Configuration: Proper tsconfig.json with ES modules support
  4. Server Type: Choose between HTTP (with Streamable HTTP transport) or stdio-based server
  5. Tools: Create at least one useful tool with proper schema validation
  6. Error Handling: Include comprehensive error handling and validation

Implementation Details

Project Setup

  • Initialize with npm init and create package.json
  • Install dependencies: @modelcontextprotocol/sdk, zod@3, and transport-specific packages
  • Configure TypeScript with ES modules: "type": "module" in package.json
  • Add dev dependencies: tsx or ts-node for development
  • Create proper .gitignore file

Server Configuration

  • Use McpServer class for high-level implementation
  • Set server name and version
  • Choose appropriate transport (StreamableHTTPServerTransport or StdioServerTransport)
  • For HTTP: set up Express with proper middleware and error handling
  • For stdio: use StdioServerTransport directly

Tool Implementation

  • Use registerTool() method with descriptive names
  • Define schemas using zod for input and output validation
  • Provide clear title and description fields
  • Return both content and structuredContent in results
  • Implement proper error handling with try-catch blocks
  • Support async operations where appropriate

Resource/Prompt Setup (Optional)

  • Add resources using registerResource() with ResourceTemplate for dynamic URIs
  • Add prompts using registerPrompt() with argument schemas
  • Consider adding completion support for better UX

Code Quality

  • Use TypeScript for type safety
  • Follow async/await patterns consistently
  • Implement proper cleanup on transport close events
  • Use environment variables for configuration
  • Add inline comments for complex logic
  • Structure code with clear separation of concerns

Read the full file on GitHub · 91 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 91 lines · 23 tokens per session scan A 3a39ecdfd4dd

Subscribe to this mod's changes

typescript-mcp-server-generator is a skill published in the GitHub repository larsbaunwall/Unlinked (3 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 773 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

add-export

Add a new subpath export to the @cyanheads/mcp-ts-core package. Use when creating a new public API surface that consumers import from a dedicated subpath (e.g., @cyanheads/mcp-ts-core/newutil).

cyanheads/mcp-ts-core · 50 tokens

basic-inline-skill

A minimal instruction-only skill with inline content and the function builder alternative.

agentfront/frontmcp · 19 tokens

typescript-lsp

Search TypeScript SYMBOLS (functions, types, classes) - NOT text. Use Glob to find files, Grep for text search, LSP for symbol search. Provides type-aware results that understand imports, exports, and relationships.

youdotcom-oss/dx-toolkit · 51 tokens

scraperapi-nodejs-sdk

Best-practices reference for the ScraperAPI Node.js / JavaScript SDK (scraperapi-sdk npm package). Consult whenever the user is writing, debugging, or reviewing JavaScript or TypeScript code that calls ScraperAPI. Use when user asks: "scrape a website with Node.js and ScraperAPI", "ScraperAPI JavaScript example", "how…

scraperapi/scraperapi-skills · 187 tokens

typescript-best-practices

TypeScript/Node.js best practices. Use when writing or reviewing TypeScript code. Covers type safety, async patterns, and error handling.

Taoidle/plan-cascade · 34 tokens

typescript-best-practices

TypeScript プロジェクトの初期設定と型安全なコーディングのベストプラクティスを提供するスキル。 tsconfig.json の最適設定、パス エイリアス、厳格モードの段階的導入をガイドする。.

fideguch/my_pm_tools · 0 tokens