MCP Server Templates
MCPサーバーテンプレート
権限境界、統合テスト、評価コントラクトを備えた本番グレードのMCPサーバー用スターターテンプレート。
テンプレート
テンプレート | 説明 | 主な機能 |
最小限のMCPサーバー | Echo + 計算ツール、Zodバリデーション | |
読み取り専用データベースアクセス | SQLバリデーション、スキーマイントロスペクション、権限境界 | |
外部APIプロキシ | レート制限、認証情報のスコープ設定、エンドポイント設定 |
Related MCP server: mcp-starter-kit
クイックスタート
このリポジトリをクローンするか、GitHubの「Use this template」を使用してください
使用したいテンプレートに移動します:
cd templates/basic依存関係をインストールします:
pnpm installサーバーを起動します:
pnpm start
アーキテクチャ
各テンプレートは同じパターンに従います:
権限エンジン — すべてのツール呼び出しの前に評価される宣言型ルール(許可/拒否)
インメモリテストクライアント — MCP SDKのInMemoryTransportを使用した統合テスト
評価コントラクト — @visystems/claude-eval-runner と互換性のあるYAML評価仕様
共有ユーティリティ
shared/ ディレクトリには再利用可能なユーティリティが含まれています:
permissions/— 権限ポリシーの型、エンジン、および PermissionDeniedErrortesting/— 統合テスト用のインメモリ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 を参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
Create, deploy, and operate MCP servers directly from your GitHub repositories.
The OpenZeppelin Cairo Contracts MCP server generates secure smart contracts in the Cairo language for Starknet environments based on OpenZeppelin templates. It brings OpenZeppelin's proven security and style rules directly into AI-driven development workflows to create safe, production-ready contracts. Key capabilities include providing templates for ERC-20, ERC-721, ERC-1155, Multisig, Governor, and Vesting contracts.
Build multi-tenant apps over MCP. Schemas, CRUD, deploys — access control enforced server-side.
Marketplace and infrastructure for MCP servers and skills: deploy, host, monetize, analytics.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProduction-ready MCP server starter with authentication, observability, and a plugin system for building and deploying MCP servers quickly.MIT
- AlicenseAqualityCmaintenanceA production-ready foundation for building secure, observable MCP servers with built-in authentication, rate limiting, and reference tools like database-query and semantic-search.157 npmMIT
- FlicenseNot gradedqualityFmaintenanceThis 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.-
- AlicenseNot gradedqualityCmaintenanceA 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.23 npmMIT