·mcp-server-skills
</>

mcp-server-skills

gocallum/nextjs16-agent-skills

Pattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions.

94Installs·5Trend·@gocallum

Installation

$npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill mcp-server-skills

SKILL.md

Goal: Keep route.ts minimal. Put logic + Zod schemas in lib/ so both the MCP handler and server actions share a single source of truth.

Server actions call the same logic as the MCP handler and power the web UI, keeping responses aligned.

1) Single source of truth — schemas + logic in lib/; both MCP tools and server actions import them. 2) Validation first — use Zod for inputs and reuse the same schema for UI + MCP.

Pattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions. Source: gocallum/nextjs16-agent-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill mcp-server-skills
Category
</>Dev Tools
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is mcp-server-skills?

Pattern for building MCP servers in Next.js with mcp-handler, shared Zod schemas, and reusable server actions. Source: gocallum/nextjs16-agent-skills.

How do I install mcp-server-skills?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill mcp-server-skills Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/gocallum/nextjs16-agent-skills