1. Conduid
  2. AI
  3. Create MCP Server
MCP server · AI

Create MCP Server

Scaffold production-ready MCP servers in seconds

65Good

Scored 23 hours ago · breakdown

About Create MCP Server

Create MCP Server is an MCP server published by agentailor in the AI category: scaffold production-ready MCP servers in seconds.

The repository has 14 stars and 2 forks, with the last commit 2 days ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

Claude Code
claude mcp add create-mcp-server -- npx -y @mazhu/create-mcp-server
npx
npx -y @mazhu/create-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Create MCP Server

Powered by Claude · Grounded in docs

I know everything about Create MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • !No dynamic code executionSource scan found eval or shell execution. Review how tool inputs reach it before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.11.0v0.11.0 — --template deprecated · 15 Oct 2026`--template` is deprecated, and the SDK HTTP templates are collapsed into one. Generated projects are the same as in 0.10.0 apart from refreshed dependency versions. Why The two template types came from MCP SDK v1, which needed a separate…
v0.10.0v0.10.0 — FastMCP removed · 4 Oct 2026FastMCP support is removed. Deprecated in 0.9.0, it is gone in 0.10.0: every generated project is now an Official MCP SDK v2 project. Breaking:** `--framework=fastmcp` now exits with an error. Existing generated projects are unaffected —…
v0.9.0v0.9.0 — FastMCP deprecated · 4 Oct 2026FastMCP support is deprecated and will be removed in a future release. It keeps working in 0.9.0, but now tells you it is on its way out. Why FastMCP has not migrated to MCP SDK v2. It still depends on `@modelcontextprotocol/sdk` v1, so…
v0.8.0v0.8.0 — Scaffolds you can test · 19 Sep 2026A scaffolded MCP server used to start with a `greet` tool that returned a string, and nothing to verify it. That is a poor thing for a scaffolder to teach: a tool description is a contract with a caller that cannot read your code, so an…
v0.7.1v0.7.1 — OAuth tokens rejected with 401 · 1 Aug 2026A patch fix for OAuth-enabled SDK projects. Scaffold with `--oauth` to pick it up; existing generated projects are unaffected, but see below for the one-line patch. Rejected OAuth tokens now return 401, not 500 `requireBearerAuth` maps…

README

@agentailor/create-mcp-server

npm version Test npm downloads Node.js Version PRs Welcome

Scaffold production-ready MCP servers in seconds.

Quick Start

Interactive mode (guided prompts):

npx @agentailor/create-mcp-server

CLI mode (all options via arguments):

npx @agentailor/create-mcp-server --name=my-server

CLI Options

Option Short Default Description
--name -n — Project name (required in CLI mode)
--package-manager -p npm Package manager: npm, pnpm, yarn
--framework -f sdk Accepted for compatibility; sdk is the only framework
--stdio — false Use stdio transport (for local clients)
--template -t — Deprecated, no effect; prints a warning and will be removed in a future release
--oauth — false Enable OAuth (HTTP only, incompatible with --stdio)
--no-git — false Skip git initialization
--no-skills — false Skip adding the tool-design skill
--help -h — Show help
--version -V — Show version

Examples:

# Minimal - uses all defaults (HTTP streamable)
npx @agentailor/create-mcp-server --name=my-server

# stdio server (for local clients)
npx @agentailor/create-mcp-server --name=my-server --stdio

# Full HTTP options
npx @agentailor/create-mcp-server \
  --name=my-auth-server \
  --package-manager=pnpm \
  --oauth

# Short flags
npx @agentailor/create-mcp-server -n my-server -p yarn --stdio

Features

  • MCP SDK v2 — projects serve protocol revision 2026-07-28 and still accept 2025-era clients
  • Two transport types — HTTP (streamable) or stdio (for local clients)
  • Stateless by design — the SDK handler builds a fresh server per request, so HTTP servers scale without sticky sessions
  • Optional OAuth — OIDC-compliant authentication (HTTP only) (setup guide)
  • Package manager choice — npm, pnpm, or yarn
  • TypeScript ready — ready to customize
  • Docker ready — production Dockerfile included (HTTP transport)
  • MCP Inspector — built-in debugging with npm run inspect

Official MCP SDK

Projects are generated against the MCP TypeScript SDK v2 — the split @modelcontextprotocol/server, @modelcontextprotocol/express, and @modelcontextprotocol/node packages, rather than the v1 @modelcontextprotocol/sdk monolith.

HTTP servers are built on createMcpHandler, which runs the server factory once per request. They serve protocol revision 2026-07-28 and also accept 2025-era clients. stdio servers use serveStdio, which negotiates the era per connection.

FastMCP was removed in 0.10.0. It never moved to SDK v2, so FastMCP projects stayed on the 2025-era protocol and shipped without tests. To scaffold one anyway, pin the last release that supports it: npx @agentailor/create-mcp-server@0.9 --framework=fastmcp.

Transport Types

Feature HTTP (Streamable HTTP) stdio
Use case Remote access, cloud deployment Local clients (Claude Desktop)
Protocol HTTP stdin/stdout
OAuth support ✓ —
Docker deployment ✓ —
Port configuration ✓ —

HTTP: Deploy as an HTTP server accessible remotely.

stdio: Run as a local process. Communicates over stdin/stdout. Ideal for local clients. No HTTP server, no port, no Dockerfile generated.

Server Modes (HTTP only)

SDK v2 serves every HTTP request through a single per-request idiom: createMcpHandler builds a fresh McpServer for each call, and 2025-era clients are served through the same path. The stateless/stateful distinction that v1 required no longer changes the generated project.

--template is deprecated: both values produce the same output and the CLI prints a warning when it is passed. It will be removed in a future release, so drop it from scripts. If you need session-based serving with SSE resumability, the SDK still offers NodeStreamableHTTPServerTransport — see the SDK v2 sessions guide.

Generated Project

my-mcp-server/
├── src/
│   ├── server.ts             # Creates the server, registers the primitives
│   ├── tools.ts              # Tool definitions
│   ├── prompts.ts            # Prompt definitions
│   ├── resources.ts          # Resource definitions
│   ├── notes-store.ts        # Example data layer (no MCP imports)
│   ├── notes-store.test.ts   # Store unit tests
│   ├── server.test.ts        # Tests driven through a real MCP client
│   ├── index.ts              # Express app and transport setup
│   └── auth.ts               # OAuth middleware (if enabled)
├── Dockerfile        # Production-ready Docker build
├── package.json
├── tsconfig.json
├── .gitignore
├── .env.example
├── AGENTS.md         # Working notes for humans and coding agents
└── README.md

Projects come with a worked example — a small notes server — and a test suite that runs green immediately, so there is a working pattern to copy when you add your own tools.

Projects also get Agentailor's tool-design skill at .agents/skills/, so a coding agent working in the project has the guidance on hand. It is bundled with the CLI, so this needs no network and adds nothing to scaffolding time. Pass --no-skills to skip it, and run npx skills update -p -y inside the project if you want a newer version.

Every project also gets an AGENTS.md covering the things that are easy to get wrong: how to write a tool an agent can use, how to organize tools as they grow, and the transport-specific traps (state is per-request over HTTP; stdout belongs to the protocol over stdio).

Scripts:

  • npm run dev — build and start the server
  • npm test — run the test suite
  • npm run inspect — open MCP Inspector (update URL in package.json if needed)

Learning Resources

Guide Description
Create Your First MCP Server in 5 Minutes Build your first production-ready MCP server. A complete beginner guide to scaffolding a Fetch MCP server with TypeScript.
Securing MCP Servers with Keycloak Learn how to secure your MCP servers with OAuth authentication using Keycloak.
OAuth for MCP Clients (Next.js + LangGraph.js) Implement OAuth authentication in your MCP client using Next.js and the MCP SDK.

Need help building MCP servers or agent infrastructure?

I help teams design and ship production-ready AI agent systems (MCP, LangGraph, RAG, memory, performance).

If you’re building something serious on top of this:

→ DM me on LinkedIn

Happy to jump on a short call.

What is MCP?

The Model Context Protocol (MCP) is an open protocol that enables AI assistants to interact with external tools, data sources, and services.

Built by Agentailor

Built by Agentailor — your launchpad for production-ready MCP servers and scalable AI agents. We provide the tools, templates, and expertise to ship AI-powered applications faster.

README fetched from the repository 1 hours ago. The original is authoritative.

Questions

About Create MCP Server

How do I install Create MCP Server?

Run claude mcp add create-mcp-server -- npx -y @mazhu/create-mcp-server, then add the server to your MCP client's configuration.

Is Create MCP Server safe to use with an AI agent?

Its trust score is 65 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Create MCP Server still maintained?

Yes — the latest release is v0.11.0 (15 Oct 2026), and the last commit was 2 days ago. The repository has 14 stars.