Skip to main content
Glama

Simple TypeScript MCP Server

by jasonkneen

シンプルなTypeScript MCPサーバー

基本的なCRUD操作を備えたモデルコンテキストプロトコル(MCP)サーバーを構築するためのシンプルなTypeScriptテンプレートです。このテンプレートは、JSONレスポンスを返すMCPツールを作成するための基盤を提供します。

特徴

  • CRUD操作を備えたシンプルなノートAPI
  • インメモリデータストレージ
  • TypeScript実装
  • JSONレスポンス
  • Vitestでテスト準備完了

設定

npm install

サーバーの実行

npm run dev

生産のための構築

npm run build npm start

利用可能なツール

このテンプレートには、次の MCP ツールが含まれています。

  • getNote : IDでノートを取得する
  • getAllNotes : すべてのノートを取得する
  • createNote : 新しいノートを作成する
  • updateNote : 既存のメモを更新する
  • deleteNote : IDでノートを削除する

テスト

次のようにテストを実行します。

npm test

または視聴モード:

npm run test:watch

カスタマイズ

ニーズに合わせてsrc/server.ts内のツールを変更することで、このテンプレートを独自の MCP サーバーの開始点として使用できます。

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

JSON 応答による基本的なメモ作成 CRUD 操作を実装するモデル コンテキスト プロトコル サーバーを構築するための TypeScript テンプレート。

  1. 特徴
    1. 設定
      1. サーバーの実行
        1. 生産のための構築
          1. 利用可能なツール
            1. テスト
              1. カスタマイズ

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A production-ready template for creating Model Context Protocol servers with TypeScript, providing tools for efficient testing, development, and deployment.
                  Last updated -
                  1
                  676
                  34
                  JavaScript
                  MIT License
                • A
                  security
                  A
                  license
                  A
                  quality
                  A production-ready template for building Model Context Protocol servers in TypeScript, offering fast development with Bun, Biome linting, and automated version management.
                  Last updated -
                  1
                  676
                  JavaScript
                  MIT License
                • A
                  security
                  F
                  license
                  A
                  quality
                  A TypeScript-based template for developing Model Context Protocol servers with features like dependency injection and service-based architecture, facilitating the creation and integration of custom data processing tools.
                  Last updated -
                  1
                  2
                  4
                  TypeScript
                • A
                  security
                  A
                  license
                  A
                  quality
                  A TypeScript-based template for building Model Context Protocol servers, featuring fast testing, automated version management, and a clean structure for MCP tool implementations.
                  Last updated -
                  1
                  676
                  4
                  TypeScript
                  MIT License

                View all related MCP servers

                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/jasonkneen/mcp-server-ts'

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