[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757WKYC0DT69CE74GXSNF95":3,"skill-same:01M757WKYC0DT69CE74GXSNF95":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M757WKYC0DT69CE74GXSNF95","build-mcp-server",null,"Scaffold a new MCP server from a tool description, build it, and mount it into the active Vanta session.","jpoindexter\u002FVanta","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M757GWDBT6RD147ZZ79N4MEX",4,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fbuild-mcp-server\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: build-mcp-server\ndescription: \"Scaffold a new MCP server from a tool description, build it, and mount it into the active Vanta session.\"\n---\n\n# Build MCP Server\n\nUse this skill when the user wants to expose a capability as an MCP tool — something Vanta (or any MCP client) can call. The output is a working TypeScript MCP server, built and mounted in one shot.\n\nTrigger phrases: \"make a tool for X\", \"build an MCP that does Y\", \"expose Z as an MCP\", \"create an MCP server\", \"I need a tool that\".\n\n## What you'll produce\n\nA minimal TypeScript MCP server that:\n1. Implements one or more tools described by the user\n2. Builds cleanly (`npm run build`)\n3. Mounts into the active session via `mount_mcp`\n\n---\n\n## Step 1 — Clarify the tool contract\n\nBefore writing code, get clarity on:\n- **Tool name** (snake_case, e.g. `fetch_weather`)\n- **Input schema** — what params does it need? Types? Required vs optional?\n- **Output** — what does it return and in what format?\n- **Side effects** — does it write files, call external APIs, spawn processes?\n\nIf the user gave you enough, proceed. If not, ask these as concrete questions with examples.\n\n---\n\n## Step 2 — Scaffold the project\n\n```bash\nmkdir ~\u002Ftmp\u002F\u003Cserver-name> && cd ~\u002Ftmp\u002F\u003Cserver-name>\nnpm init -y\nnpm install @modelcontextprotocol\u002Fsdk zod\nnpm install -D typescript @types\u002Fnode\nnpx tsc --init --module nodenext --target es2022 --outDir dist --rootDir src --strict\nmkdir src\n```\n\n---\n\n## Step 3 — Write `src\u002Findex.ts`\n\nMinimal pattern — expand for each tool:\n\n```typescript\nimport { McpServer } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\nimport { z } from \"zod\";\n\nconst server = new McpServer({ name: \"\u003Cserver-name>\", version: \"0.1.0\" });\n\nserver.tool(\n  \"\u003Ctool_name>\",\n  \"\u003Cdescription of what the tool does>\",\n  {\n    \u002F\u002F Zod schema for inputs\n    param1: z.string().describe(\"what param1 is\"),\n    param2: z.number().optional().describe(\"optional numeric param\"),\n  },\n  async ({ param1, param2 }) => {\n    \u002F\u002F Implementation\n    const result = `processed: ${param1}`;\n    return {\n      content: [{ type: \"text\", text: result }],\n    };\n  },\n);\n\nconst transport = new StdioServerTransport();\nawait server.connect(transport);\n```\n\n---\n\n## Step 4 — Build\n\n```bash\nnpx tsc\n```\n\nFix any TypeScript errors before proceeding. Common issues:\n- Missing `\"moduleResolution\": \"bundler\"` or `\"nodenext\"` in tsconfig\n- Import paths need `.js` extension in ESM output\n\n---\n\n## Step 5 — Mount into Vanta\n\nUse the `mount_mcp` tool:\n\n```\nmount_mcp({\n  name: \"\u003Cserver-name>\",\n  command: \"node\",\n  args: [\"~\u002Ftmp\u002F\u003Cserver-name>\u002Fdist\u002Findex.js\"]\n})\n```\n\nThe tool will:\n1. Spawn the server process\n2. Initialize the MCP connection\n3. Register all discovered tools into the active registry\n4. Return the list of tool names now available\n\n---\n\n## Step 6 — Verify\n\nCall one of the newly mounted tools with a simple test case. Confirm the output is what you expected. If the tool fails, read the error, fix `src\u002Findex.ts`, rebuild, and `mount_mcp` again (re-mounting replaces the old registration).\n\n---\n\n## Constraints\n\n- **No deps beyond `@modelcontextprotocol\u002Fsdk` and `zod`** unless the tool genuinely needs them. Every dep is a maintenance burden.\n- **All inputs validated with Zod** — MCP inputs are external, treat them as untrusted.\n- **Return `{ content: [{ type: \"text\", text: \"...\" }] }`** — the standard MCP text response shape.\n- **Errors as text, not throws** — catch errors inside the tool handler and return them as content, so the caller gets a useful message instead of a protocol error.\n- **stdio transport only** — that's what Vanta's `mount_mcp` and `stdioTransport` speak.\n","# Build MCP Server\n\nUse this skill when the user wants to expose a capability as an MCP tool — something Vanta (or any MCP client) can call. The output is a working TypeScript MCP server, built and mounted in one shot.\n\nTrigger phrases: \"make a tool for X\", \"build an MCP that does Y\", \"expose Z as an MCP\", \"create an MCP server\", \"I need a tool that\".\n\n## What you'll produce\n\nA minimal TypeScript MCP server that:\n1. Implements one or more tools described by the user\n2. Builds cleanly (`npm run build`)\n3. Mounts into the active session via `mount_mcp`\n\n---\n\n## Step 1 — Clarify the tool contract\n\nBefore writing code, get clarity on:\n- **Tool name** (snake_case, e.g. `fetch_weather`)\n- **Input schema** — what params does it need? Types? Required vs optional?\n- **Output** — what does it return and in what format?\n- **Side effects** — does it write files, call external APIs, spawn processes?\n\nIf the user gave you enough, proceed. If not, ask these as concrete questions with examples.\n\n---\n\n## Step 2 — Scaffold the project\n\n```bash\nmkdir ~\u002Ftmp\u002F\u003Cserver-name> && cd ~\u002Ftmp\u002F\u003Cserver-name>\nnpm init -y\nnpm install @modelcontextprotocol\u002Fsdk zod\nnpm install -D typescript @types\u002Fnode\nnpx tsc --init --module nodenext --target es2022 --outDir dist --rootDir src --strict\nmkdir src\n```\n\n---\n\n## Step 3 — Write `src\u002Findex.ts`\n\nMinimal pattern — expand for each tool:\n\n```typescript\nimport { McpServer } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fmcp.js\";\nimport { StdioServerTransport } from \"@modelcontextprotocol\u002Fsdk\u002Fserver\u002Fstdio.js\";\nimport { z } from \"zod\";\n\nconst server = new McpServer({ name: \"\u003Cserver-name>\", version: \"0.1.0\" });\n\nserver.tool(\n  \"\u003Ctool_name>\",\n  \"\u003Cdescription of what the tool does>\",\n  {\n    \u002F\u002F Zod schema for inputs\n    param1: z.string().describe(\"what param1 is\"),\n    param2: z.number().optional().describe(\"optional numeric param\"),\n  },\n  async ({ param1, param2 }) => {\n    \u002F\u002F Implementation\n    const result = `processed: ${param1}`;\n    return {\n      content: [{ type: \"text\", text: result }],\n    };\n  },\n);\n\nconst transport = new StdioServerTransport();\nawait server.connect(transport);\n```\n\n---\n\n## Step 4 — Build\n\n```bash\nnpx tsc\n```\n\nFix any TypeScript errors before proceeding. Common issues:\n- Missing `\"moduleResolution\": \"bundler\"` or `\"nodenext\"` in tsconfig\n- Import paths need `.js` extension in ESM output\n\n---\n\n## Step 5 — Mount into Vanta\n\nUse the `mount_mcp` tool:\n\n```\nmount_mcp({\n  name: \"\u003Cserver-name>\",\n  command: \"node\",\n  args: [\"~\u002Ftmp\u002F\u003Cserver-name>\u002Fdist\u002Findex.js\"]\n})\n```\n\nThe tool will:\n1. Spawn the server process\n2. Initialize the MCP connection\n3. Register all discovered tools into the active registry\n4. Return the list of tool names now available\n\n---\n\n## Step 6 — Verify\n\nCall one of the newly mounted tools with a simple test case. Confirm the output is what you expected. If the tool fails, read the error, fix `src\u002Findex.ts`, rebuild, and `mount_mcp` again (re-mounting replaces the old registration).\n\n---\n\n## Constraints\n\n- **No deps beyond `@modelcontextprotocol\u002Fsdk` and `zod`** unless the tool genuinely needs them. Every dep is a maintenance burden.\n- **All inputs validated with Zod** — MCP inputs are external, treat them as untrusted.\n- **Return `{ content: [{ type: \"text\", text: \"...\" }] }`** — the standard MCP text response shape.\n- **Errors as text, not throws** — catch errors inside the tool handler and return them as content, so the caller gets a useful message instead of a protocol error.\n- **stdio transport only** — that's what Vanta's `mount_mcp` and `stdioTransport` speak.\n",{"name":5,"description":7},"main","4911ae44bbb35beef4511ba298475ba5a82b7e1c","vanta-ts\u002Fskills-library\u002Fbuild-mcp-server",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta","https:\u002F\u002Fdocs.vanta.theft.studio","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-11-12 17:11:35",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add jpoindexter\u002FVanta --skill build-mcp-server",{"tool":39,"command":40},"bunx","bunx skills add jpoindexter\u002FVanta --skill build-mcp-server",{"tool":42,"command":43},"pnpm","pnpm dlx skills add jpoindexter\u002FVanta --skill build-mcp-server","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fbuild-mcp-server\u002FSKILL.md",true,[],[48,55,62,69,76,82],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M7582PEM7XM8B98VFRDV0C0J","write-changelog","Turn a range of commits into a user-facing changelog","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fwrite-changelog\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7582KTQJMP5Y7GS83MS1C7Z","debug-flaky-test","Reproduce and isolate a flaky test before fixing it","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fopenclaw\u002Fskills\u002Fdebug-flaky-test\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M7582HG7XFM4Z5NGG1YFECT8","triage-incident","First 10 minutes of an incident — stabilize, then diagnose","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fsrc\u002Fmigrate\u002F__fixtures__\u002Fhermes\u002Fskills\u002Ftriage-incident\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M7582DQABK7A96XHMB770KQZ","writing-plans","Write implementation plans: bite-sized tasks, paths, code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7582BBK8H0HGSXKK08FCXJ1","vanta-port-adapter","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Fvanta-port-adapter\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M75828P8PX5XSBMJ2BVVDA9Y","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002FVanta\u002Fblob\u002Fmain\u002Fvanta-ts\u002Fskills-library\u002Ftest-driven-development\u002FSKILL.md",[],[]]