Skip to main content
Glama
VISystems

MCP Server Templates

by VISystems

MCP Server Templates

Production-grade MCP server starter templates with permission boundaries, integration tests, and eval contracts.

Templates

Template

Description

Key Features

basic

Minimal MCP server

Echo + calculate tools, Zod validation

database

Read-only database access

SQL validation, schema introspection, permission boundaries

api-gateway

External API proxy

Rate limiting, credential scoping, endpoint configuration

Related MCP server: mcp-starter-kit

Quick Start

  1. Clone this repo or use "Use this template" on GitHub

  2. Navigate to the template you want: cd templates/basic

  3. Install dependencies: pnpm install

  4. Start the server: pnpm start

Architecture

Each template follows the same patterns:

  • Permission engine — Declarative rules (allow/deny) evaluated before every tool invocation

  • In-memory test client — Integration tests via MCP SDK's InMemoryTransport

  • Eval contracts — YAML eval specs compatible with @visystems/claude-eval-runner

Shared Utilities

The shared/ directory contains reusable utilities:

  • permissions/ — Permission policy types, engine, and PermissionDeniedError

  • testing/ — In-memory MCP test client for integration tests

  • errors/ — Typed error classes

Development

pnpm install
pnpm typecheck    # TypeScript type checking
pnpm test         # Run all tests
pnpm test:shared  # Run shared utility tests only
pnpm test:basic   # Run basic template tests only

License

Apache 2.0 — see LICENSE.

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Production-ready MCP server starter with authentication, observability, and a plugin system for building and deploying MCP servers quickly.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A production-ready foundation for building secure, observable MCP servers with built-in authentication, rate limiting, and reference tools like database-query and semantic-search.
    15
    11 npm
    MIT
  • F
    license
    Not graded
    quality
    B
    maintenance
    This MCP server starter template enables developers to quickly build production-ready MCP servers with Streamable HTTP, stateless design, and OAuth 2.1 authorization. It provides a structured, capability-based architecture with Postgres audit logging and centralized scope enforcement.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    A production-grade MCP starter server in TypeScript with example tools, resources, and integration tests. It provides a clean, extensible foundation for building custom MCP servers.
    37 npm
    MIT