MCP Server Starter
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Server Starterecho hello"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Starter
A minimal, production-ready starter for building Model Context Protocol servers in TypeScript. One server definition runs two ways: over stdio for local clients, and over streamable HTTP when you deploy it, with optional bearer-token auth.
Features
Two transports, one definition. Runs over stdio locally (Claude Code, Claude Desktop) and switches to streamable HTTP when
PORTis set. Tools live in one place.Optional auth for HTTP. A shared bearer token, accepted via the
Authorizationheader or a?token=query param (some hosted clients can only pass a query param).Typed tools. Inputs are validated with zod, so the model gets a clear schema and you get type safety.
Deploy-ready. Stateless per request, with a
Dockerfileincluded. Runs on any container host.Small and readable. A handful of files, no framework, easy to fork.
Related MCP server: MCP Server Foundation Template
Quick start
git clone https://github.com/Axis-Data-Labs/mcp-server-starter
cd mcp-server-starter
npm install
cp .env.example .envRun it locally over stdio:
npm run devConnect it to Claude Code
claude mcp add my-server -- npx tsx /absolute/path/to/mcp-server-starter/src/index.tsOr add it to your client's MCP config:
{
"mcpServers": {
"my-server": {
"command": "npx",
"args": ["tsx", "/absolute/path/to/mcp-server-starter/src/index.ts"]
}
}
}Ask the model to call echo or add to confirm it works.
HTTP mode and deploying
Set PORT to run the streamable HTTP transport instead of stdio:
PORT=3000 MCP_AUTH_TOKEN=your-secret npm startThe server listens on POST /mcp. Point a remote MCP client at https://your-host/mcp and send the token as Authorization: Bearer your-secret (or ?token=your-secret). A Dockerfile is included, and most container platforms set PORT for you, so deploying is usually just pushing the repo.
Adding a tool
Create
src/tools/<name>.tsand export aregister<Name>Tools(server)function.Register tools with
server.tool(name, description, zodSchema, handler).Call your
register…Tools(server)fromsrc/server.ts.
server.tool(
"greet",
"Greet someone by name.",
{ name: z.string().describe("Who to greet") },
async ({ name }) => ({ content: [{ type: "text", text: `Hello, ${name}` }] }),
);Project structure
src/
index.ts picks the transport (stdio vs HTTP) at startup
server.ts builds the server and registers tools
http.ts streamable HTTP transport and optional auth
tools/
example.ts example tools, replace with your ownLicense
MIT. See LICENSE.
Built and maintained by Axis Data Labs.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA minimal TypeScript starter template for building Model Context Protocol (MCP) servers with auto-loading architecture for tools, resources, and prompts. Includes code generators, dual transport support (stdio/HTTP), and production-ready structure.Last updated3
- Flicense-qualityDmaintenanceA customizable, production-ready template for building Model Context Protocol servers with dual transport support (stdio and HTTP), TypeScript, Docker support, and extensible architecture for tools, resources, and prompts.Last updated
- Flicense-quality-maintenanceA minimal, production-ready TypeScript template for building Model Context Protocol servers with auto-loading architecture for tools, resources, and prompts, supporting both stdio and HTTP transports.Last updated
- Flicense-qualityDmaintenanceA production-ready boilerplate for creating Model Context Protocol servers. Provides interactive CLI to scaffold projects, supports stdio and HTTP transports, authentication, and example tools.Last updated1
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
MCP (Model Context Protocol) server for Appwrite
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Axis-Data-Labs/mcp-server-starter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server