Skip to main content
Glama
VISystems

MCP Server Templates

by VISystems

MCP 服务器模板

生产级的 MCP 服务器入门模板,包含权限边界、集成测试和评估契约。

模板

模板

描述

关键特性

basic

极简 MCP 服务器

Echo + 计算工具,Zod 验证

database

只读数据库访问

SQL 验证,模式内省,权限边界

api-gateway

外部 API 代理

速率限制,凭据作用域,端点配置

Related MCP server: mcp-starter-kit

快速开始

  1. 克隆此仓库或在 GitHub 上使用“Use this template”

  2. 进入所需的模板目录:cd templates/basic

  3. 安装依赖:pnpm install

  4. 启动服务器:pnpm start

架构

每个模板都遵循相同的模式:

  • 权限引擎 — 在每次工具调用前评估的声明式规则(允许/拒绝)

  • 内存测试客户端 — 通过 MCP SDK 的 InMemoryTransport 进行集成测试

  • 评估契约 — 与 @visystems/claude-eval-runner 兼容的 YAML 评估规范

共享工具

shared/ 目录包含可重用的工具:

  • permissions/ — 权限策略类型、引擎和 PermissionDeniedError

  • testing/ — 用于集成测试的内存 MCP 测试客户端

  • errors/ — 类型化错误类

开发

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

许可证

Apache 2.0 — 参见 LICENSE

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

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
    37
    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.
    70
    MIT

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