MCP-STARTER-KIT
Health Warn
- No license — Repository has no license file
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Community trust — 20 GitHub stars
Code Warn
- network request — Outbound network request in templates/src/apiClient.ts
- process.env — Environment variable access in templates/src/config.ts
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Build a secure, production-ready MCP server for any project — connect Claude, ChatGPT & any AI agent to your backend with a URL + API key. Streamable HTTP + stdio + OAuth 2.0 (PKCE).
MCP Starter Kit
A production-ready starter to build a secure MCP server for any project
Connect Claude, ChatGPT and any AI agent to your backend with just a URL + API key.
What is this?
MCP Starter Kit scaffolds a secure, online MCP (Model Context Protocol) server
for any project. It's the machine-to-machine bridge between an AI agent
(Claude Desktop/Web, ChatGPT, or your own agent) and your backend API — each tool
maps to one endpoint and is authenticated with an API key + scopes.
AI agent ──MCP (Streamable HTTP / stdio / OAuth)──▶ <project>-mcp ──REST + Bearer key──▶ Your backend
The kit is project-agnostic: you provide the project name, backend URL and the list
of tools — the templates already ship with all the security hardening baked in.
Features
- Two transports — Streamable HTTP (online, many clients) + stdio (Claude Desktop).
- Stateless OAuth 2.0 (PKCE S256) so the ChatGPT app / Claude web (which require OAuth,
with no field to paste an API key) can connect. Header-key auth keeps working in parallel. - Security hardening, ready out of the box:
- Verify the key against the backend at
initialize(blocks pre-auth DoS). - Session cap + idle-TTL sweep, per-IP rate limit on the initialize path.
- Bind
sha256(key)to the session; SSRF cross-host block + request timeouts. - Audit to stderr (stdout is reserved for JSON-RPC), secrets redacted.
- Non-root Dockerfile, TLS terminated at the reverse proxy.
- Verify the key against the backend at
- Read-only by default — add a write scope explicitly if you ever need one.
How to use
- (Optional but recommended) Fill
feature.md— your project config + the
list of tools you want. Then tell the agent "scaffold the MCP from feature.md". - Or just read / run
SKILL.md— it asks for the MCP project name and
whether your backend already has an API-key system.- Not yet → follow
API-KEY-BACKEND-GUIDE.mdto build it
(hashed keys + scopes +/ext/me+ a create/edit/revoke admin tab). - Already have it → scaffold the MCP repo from
templates/.
- Not yet → follow
- In
templates/: renamegitignore→.gitignore, replace__PROJECT__with your
project name, fill.env, and add your tools insrc/server.ts. npm install && npm run build→ host behind TLS (path/mcp) → connect your client.
Step-by-step process (16 steps)
New to MCP? Follow the full build process — design → build → secure → test → deploy → operate,
each step with a ready prompt for Claude Code:
Tiếng Việt · English ·
stage-by-stage view on Agent Hub.
Connect a client
| Client | How |
|---|---|
| Claude Desktop | npx -y mcp-remote https://<domain>/mcp --header "Authorization: Bearer <key>" |
| Claude web | Custom connector: URL /mcp, header x-api-key = key |
| ChatGPT app | Requires OAuth enabled + a Business/Enterprise plan; Auth = OAuth, Streamable HTTP → paste key on the consent page |
| OpenAI API | tools:[{type:"mcp", server_url:".../mcp", headers:{"x-api-key":"<key>"}}] |
Structure
processes/ step-by-step build process (VI + EN)
feature.md intake form — fill your project config + tool list, then generate
SKILL.md workflow + confirmation questions
API-KEY-BACKEND-GUIDE.md how to build the backend API-key system (if you don't have one)
templates/ full MCP source (just change the name + tool list)
├── package.json tsconfig.json Dockerfile .env.example gitignore README.md
└── src/ index config apiClient audit server http oauth stdio (.ts)
License
MIT

Built by codewebkhongkho.com
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found