typescript-mcp-server-generator
Skill by github
Generates a TypeScript MCP server project using the official MCP TypeScript SDK 2.x, with tools, Vitest tests, and client configuration. It is for developers who want to expose code, an API, or a database to AI clients.
Install typescript-mcp-server-generator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.claude/skills && cp -r /tmp/awesome-copilot/skills/typescript-mcp-server-generator ~/.claude/skills/typescript-mcp-server-generatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install typescript-mcp-server-generator in Claude Code
git clone --depth 1 https://github.com/github/awesome-copilot /tmp/awesome-copilot && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/awesome-copilot/skills/typescript-mcp-server-generator ~/.gemini/antigravity-cli/skills/typescript-mcp-server-generatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install typescript-mcp-server-generator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill creates a new Model Context Protocol server in TypeScript or Node.js using the official MCP TypeScript SDK 2.x. It makes an npm project with a package.json, a tsconfig.json, a src/index.ts server file, and a Vitest test file. The assistant replaces the sample divide tool with the tools the user asks for, giving each one a zod input schema, a title, and a description.
The generated server uses stdio by default. Tests start the built server as a subprocess and call its tools through the SDK client. The skill also writes client configuration for VS Code and Claude Desktop. It is aimed at developers who want to expose TypeScript code, an API, or a database to AI clients as MCP tools.
Written from the project's SKILL.md and checked against it.
What it can do
- Project scaffoldCreates package.json, tsconfig.json, src/index.ts and test/server.test.ts.
- Tool implementationReplaces the sample divide tool with the tools the user requests, using zod schemas.
- Structured outputAdds outputSchema and structuredContent for machine-readable tool results.
- Vitest testsWrites tests that run the built server and call tools through the SDK client.
- Build and test loopRuns npm run build and npm test until the compiler and all tests pass.
- Client configurationWrites a .vscode/mcp.json file and a Claude Desktop config entry for the stdio server.
- Resources and promptsAdds registerResource and registerPrompt only when the user asks for them.
What you need
- Node.js 22.12 or later on an LTS line (22, 24, or 26)
- npm
- Network access to download packages
- Node.js 22.23.4, 24.22.1, or 26.12.1 or later for the MCP Inspector
Try asking
- Create a TypeScript MCP server that exposes my orders database as tools
- Generate a TypeScript MCP server with a tool that looks up weather by city
- Set up an MCP server project with Vitest tests and VS Code configuration
Good to know
- Does not support Zod 3. The skill uses zod@^4.2.
- Default transport is stdio. HTTP servers need a separate reference.
- Sampling, MCP logging, and roots are deprecated and should not be added to new servers.
- Not for MCP clients or for servers in other languages.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/typescript-mcp-server-generator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
references/streamable-http.md7 KB
Alternatives to typescript-mcp-server-generator
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
typescript-mcp-server-generator: common questions
Which MCP SDK version does it use?
It uses the official MCP TypeScript SDK 2.x with the packages @modelcontextprotocol/server and @modelcontextprotocol/client. The source says SDK 2.4.x implements the 2026-07-28 specification revision.
Does it support Zod 3?
No. The source says the SDK does not support Zod 3, so the skill uses zod@^4.2.
Can it create a remote HTTP server?
The default is stdio. The skill reads a separate reference file for Streamable HTTP only when the user asks for a remote server or HTTP.
How do I install typescript-mcp-server-generator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is typescript-mcp-server-generator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is typescript-mcp-server-generator safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to typescript-mcp-server-generator?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
