
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A TypeScript template that demonstrates all major MCP server features with production-ready code.
TypeScript MCP server starter template is cataloged as an MCP server attributed to sammorrowdrums. A TypeScript template that demonstrates all major MCP server features with production-ready code. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for TypeScript MCP server starter template are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
It supports stdio transport for local development and HTTP transport for remote/web deployment.
Yes, it includes static and file-based resources, resource templates, and prompts such as greet and code_review.
README.md · fc4afaffb8ca · Fetched 2026-11-13 10:23:42 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
A feature-complete Model Context Protocol (MCP) server template in TypeScript. This starter demonstrates all major MCP features with clean, production-ready code.
| Category | Feature | Description |
|---|---|---|
| Tools | hello | Basic tool with annotations |
get_weather | Tool with structured output schema | |
ask_llm | Tool that invokes LLM sampling | |
long_task | Tool with 5-second progress updates | |
load_bonus_tool | Dynamically loads a new tool | |
| Resources | info://about | Static informational resource |
file://example.md | File-based markdown resource | |
| Templates | greeting://{name} | Personalized greeting |
data://items/{id} | Data lookup by ID | |
| Prompts | greet | Greeting in various styles |
code_review | Code review with focus areas |
# Clone the repository
git clone https://github.com/SamMorrowDrums/mcp-typescript-starter.git
cd mcp-typescript-starter
# Install dependencies
npm install
# Build
npm run build
stdio transport (for local development):
npm run start:stdio
HTTP transport (for remote/web deployment):
npm run start:http
# Server runs on http://localhost:3000
This project includes VS Code configuration for seamless development:
.vscode/mcp.jsonCtrl+Shift+B (or Cmd+Shift+B on Mac).
├── src/
│ ├── tools.ts # Tool definitions (hello, get_weather, ask_llm, etc.)
│ ├── resources.ts # Resource and template definitions
│ ├── prompts.ts # Prompt definitions
│ ├── server.ts # Server orchestration (combines all modules)
│ ├── stdio.ts # stdio transport entrypoint
│ └── http.ts # HTTP transport entrypoint
├── .vscode/
│ ├── mcp.json # MCP server configuration
│ ├── tasks.json # Build/run tasks
│ └── extensions.json
├── .devcontainer/
│ └── devcontainer.json
├── package.json
├── tsconfig.json
├── .prettierrc # Prettier configuration
└── eslint.config.js
# Development mode with live reload
npm run dev
# Build for production
npm run build
# Format code
npm run format
# Lint
npm run lint
# Clean build
npm run clean && npm run build
The npm run dev command uses tsx watch for instant reloads during development.
Changes to any .ts file will automatically restart the server.
The MCP Inspector is an essential development tool for testing and debugging MCP servers.
npx @modelcontextprotocol/inspector -- npx tsx src/stdio.ts
long_taskserver.tool(
"hello",
{
title: "Say Hello",
description: "A friendly greeting tool",
annotations: { readOnlyHint: true },
},
{ name: z.string() },
async ({ name }) => ({
content: [{ type: "text", text: `Hello, ${name}!` }],
})
);
server.resourceTemplate(
"greeting://{name}",
{ name: "Personalized Greeting", mimeType: "text/plain" },
async ({ name }) => ({
contents: [{
uri: `greeting://${name}`,
text: `Hello, ${name}!`,
}],
})
);
server.tool(
"long_task",
{ title: "Long Task" },
{ taskName: z.string() },
async ({ taskName }, { sendProgress }) => {
for (let i = 0; i < 5; i++) {
await sendProgress({ progress: i / 5, total: 1.0 });
await sleep(1000);
}
return { content: [{ type: "text", text: "Done!" }] };
}
);
Copy .env.example to .env and configure:
cp .env.example .env
| Variable | Description | Default |
|---|---|---|
PORT | HTTP server port | 3000 |
Contributions welcome! Please ensure your changes maintain feature parity with other language starters.
MIT License - see LICENSE for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for TypeScript MCP server starter template from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-typescript-starter)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.