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

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.

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

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/VISystems/mcp-server-templates'

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