·mcp-server-skills
</>

mcp-server-skills

gocallum/nextjs16-agent-skills

使用 mcp-handler、共享 Zod 架構和可重用服務器操作在 Next.js 中構建 MCP 服務器的模式。

94安裝·1熱度·@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 中使用

這個 Skill 的原始碼在哪?

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