Skip to main content
Glama
Grinv

mcp-server-template

by Grinv

mcp-server-template

A template for building a TypeScript MCP server. It ships a reusable carcass — typed fetch client (timeouts, retries, backoff), rate limiting, TTL cache, OAuth token store, structured errors, leveled logging, MCP tool-result helpers — plus build tooling, node:test setup, .mcpb packaging and GitHub Actions CI/release.

The server speaks standard MCP over stdio, so it works with any MCP client (Claude Desktop/Code, Cursor, VS Code, Cline, …).

Use it

Click Use this template on GitHub (or copy this directory), then follow the checklist in TEMPLATE.md. In short: rename, edit src/config.ts, add your src/clients/ and src/tools/, and update the manifest and docs. The included search tool is a placeholder to delete.

Related MCP server: MCP TypeScript Server Template

Develop

npm install
npm run build        # type-check + bundle to dist/index.js
npm test             # node:test (mocked, offline)
npm run lint
npm run format
npm run check:api    # live upstream health-check (add your endpoints)
npm run inspector    # run under the MCP Inspector

Runtime requires Node ≥ 18. Contributor/agent guidance lives in AGENTS.md (the single source of truth; CLAUDE.md just links to it).

Updating

Document how users update your server (keep this section in the generated repo):

  • .mcpb bundle: download the new bundle from the releases page and reinstall.

  • From source: git pull && npm ci && npm run build.

  • npx (if published): unpinned npx -y <package> fetches the latest next run.

Tell users to Watch → Releases, and keep the CHANGELOG current.

License

MIT © Grinv

Install Server
A
license - permissive license
C
quality
C
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.

Tools

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/Grinv/mcp-server-template'

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