Skills for Real Engineers. Straight from my .agents directory.
leanmcp-builder
Agent skill fromLeanmcp/gateway-skills
Build MCP servers using the Leanmcp SDK with decorator-based TypeScript. Use this skill when users ask for "leanmcp", "MCP with decorators", "MCP with authentication", "MCP with elicitation", "MCP with environment injection", or want a simpler, more elegant way to build MCP servers. Leanmcp provides automatic schema generation, dependency injection, authentication, and user input collection.
How to install leanmcp-builder
npx skills add Leanmcp/gateway-skills# or add only this skill to Claude Code: copy the folder
skills/leanmcp-builder/
# into
~/.claude/skills/leanmcp-builder/ (all projects)
.claude/skills/leanmcp-builder/ (one project)
1# Leanmcp Builder Skill23This skill guides you in building MCP servers using the Leanmcp SDK - a decorator-based TypeScript framework for elegant MCP development.45## When to Use This Skill67- User asks for "leanmcp server"8- User wants "MCP with decorators"9- User needs "authenticated MCP server"10- User wants "simpler MCP development"11- User mentions "@leanmcp/core"12- User needs "user input collection" or "elicitation"13- User wants "environment injection" for multi-tenant secrets1415## Leanmcp vs Vanilla MCP1617| Feature | Vanilla MCP | Leanmcp SDK |18|---------|-------------|-------------|19| Tool definition | Manual schema | `@Tool` decorator with auto-schema |20| Input validation | Manual | Automatic with `@SchemaConstraint` |21| Service discovery | Manual registration | Auto-discovery from `./mcp` directory |22| Authentication | DIY | `@Authenticated` decorator |23| User input | Not built-in | `@Elicitation` decorator |24| Secrets | DIY | `@RequireEnv` + `getEnv()` |2526## Core Packages2728```bash29# Minimal setup30npm install @leanmcp/core3132# With authentication33npm install @leanmcp/auth3435# With user input forms36npm install @leanmcp/elicitation3738# With user secrets39npm install @leanmcp/env-injection4041# CLI (global or dev)42npm install -g @leanmcp/cli43```4445## Project Structure4647```48my-leanmcp-server/49├── main.ts # Entry point (minimal)50├── mcp/ # Auto-discovered services51│ ├── example/52│ │ └── index.ts # Exports ExampleService53…
Excerpt shown under the repository's MIT license.
More skills in gateway-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
