·mcp-server-skills
</>

mcp-server-skills

gocallum/nextjs16-agent-skills

mcp-handler、共有 Zod スキーマ、再利用可能なサーバー アクションを使用して Next.js で MCP サーバーを構築するためのパターン。

94インストール·5トレンド·@gocallum

インストール

$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.

mcp-handler、共有 Zod スキーマ、再利用可能なサーバー アクションを使用して Next.js で MCP サーバーを構築するためのパターン。 ソース: gocallum/nextjs16-agent-skills。

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill mcp-server-skills
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

mcp-server-skills とは?

mcp-handler、共有 Zod スキーマ、再利用可能なサーバー アクションを使用して Next.js で MCP サーバーを構築するためのパターン。 ソース: gocallum/nextjs16-agent-skills。

mcp-server-skills のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/gocallum/nextjs16-agent-skills --skill mcp-server-skills インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

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