Skip to main content
Glama
iamdipanshusingh

MCP Starter Kit

MCP Starter Kit

Minimal TypeScript MCP server template you can clone and customize.

This starter includes:

  • one example tool registration

  • Zod input validation

  • stdio transport setup

  • dotenv loading for local environment variables

Quick Start

1) Install dependencies

npm install

2) Configure environment variables (optional)

Create a .env file in the project root. Add only the variables your tools need.

GENERIC_API_KEY=your_api_key_here

3) Build the server

npm run build

This generates build/index.js.

Related MCP server: TypeScript MCP Server Boilerplate

Connect in an MCP Client

Add this server to your MCP client config.

Example configuration:

{
  "mcpServers": {
    "mcp-starter-kit": {
      "command": "node",
      "args": [
        "--env-file=<PROJECT_ROOT>/.env",
        "<PROJECT_ROOT>/build/index.js"
      ]
    }
  }
}

Then restart your MCP client.

Customize

Start editing src/index.ts:

  • rename the sample tool (tool_name)

  • define a useful input schema

  • replace the sample handler logic with your own behavior

Development Notes

  • Build output is written to build/.

  • Keep secrets in .env (already ignored by Git).

  • Update .env.example whenever you add required environment variables.

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/iamdipanshusingh/mcp-starter-kit'

If you have feedback or need assistance with the MCP directory API, please join our Discord server