mcp-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-starterWhat's 12 times 8?"
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-starter
A production-grade Model Context Protocol (MCP) server in TypeScript: tools, resources, prompts, and integration tests, built on @modelcontextprotocol/sdk 1.30.x.
MCP is the open protocol that lets AI agents call into your tools the same way browsers call HTTP APIs. This starter is the smallest complete implementation you can fork into production: typed tool schemas, clean error surfaces, in-memory transports for testing, and no magic.
Quickstart
npm install
npm run build # tsc -> dist/
npm test # integration tests over in-memory transport
npm start # run the stdio server (node dist/cli.js)
npm run dev # watch mode (tsx watch src/cli.ts)Talk to it from any MCP client, for example Claude Desktop:
{
"mcpServers": {
"mcp-starter": {
"command": "node",
"args": ["/absolute/path/to/mcp-starter/dist/cli.js"]
}
}
}Related MCP server: TypeScript MCP Server Boilerplate
What is inside
Kind | Name | Purpose |
Tool | greet | Minimal tool with a zod schema and typed return |
Tool | fetch_json | I/O tool with timeout and a clean error surface |
Tool | calc | Parsing and validation example |
Tools | kv_set / kv_get | Stateful tool pair with an in-memory store |
Resource | config://system | Read-only context provider |
Architecture
src/cli.ts stdio bootstrap (the bin entry)
src/index.ts createServer() factory (the library)
src/tools/ one file per tool family, register(server) pattern
src/resources/ read-only context providers
tests/server.test.ts real Client <-> Server over InMemoryTransportThe register(server) pattern keeps every capability isolated. Add a tool by dropping one file in src/tools/ and wiring it in index.ts.
Extending
Add src/tools/my-tool.ts exporting registerMyTool(server).
Call it from createServer().
Add a test in tests/; the in-memory transport makes integration tests trivial, with no subprocess and no ports.
Real-world swaps: back the KV store with Redis, mount a Postgres resource, add a domain tool backed by your own API.
Keeping docs current
The MCP spec moves fast. Pull live docs into your coding context with Context7: npx ctx7 docs @modelcontextprotocol/sdk (or the Context7 MCP server). The canonical references are the modelcontextprotocol org on GitHub and the official SDK types.
License
MIT
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
- AlicenseBqualityDmaintenanceA TypeScript starter template for building MCP servers with example tools (echo, math operations, time, flight status) and resources (server info, greetings). Provides a modular architecture for easily extending with custom tools and resources.418ISC
- FlicenseAqualityDmaintenanceA starter project for rapidly developing Model Context Protocol servers using TypeScript and the official SDK. It includes pre-implemented examples of tools and resources to help developers jumpstart their custom MCP server development.6
- FlicenseBqualityCmaintenanceA TypeScript MCP server boilerplate providing example tools and resources for rapid development of custom Model Context Protocol servers.8
- Flicense-qualityDmaintenanceA TypeScript MCP server boilerplate providing example tools and resources for rapid development and testing of Model Context Protocol servers.
Related MCP Connectors
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
A MCP server built for developers enabling Git based project management with project and personal…
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
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/0xrameshh/mcp-starter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server