Skip to main content
Glama

MCP Server TypeScript Template

by minimind-org

MCP 서버 TypeScript 템플릿

TypeScript를 사용하여 모델 컨텍스트 프로토콜(MCP) 서버를 생성하기 위한 템플릿입니다. 이 프로젝트에서는 사용자 지정 도구를 사용하여 간단한 MCP 서버를 구현하는 방법을 보여줍니다.

개요

이 템플릿은 다음을 위한 도구를 제공하는 기본 MCP 서버를 구현합니다.

  • 예제 작업: 간단한 데모 작업
  • 덧셈: 두 수를 더하는 도구

서버는 Model Context Protocol SDK를 사용하여 AI 모델과 외부 도구 간의 통신을 처리합니다.

필수 조건

  • Node.js(v16 이상)
  • npm 또는 yarn

프로젝트 구조

이 프로젝트는 다음과 같이 구성됩니다.

지엑스피1

설치

저장소를 복제하고 종속성을 설치합니다.

git clone <repository-url> cd mcp-server-typescript-template npm install npm run test npm run build npm run start # this will start the server for testing

MCP 클라이언트 구성(Claude Desktop)

claude_desktop_config.json 파일을 편집하여 다음을 추가하세요.

{ "mcpServers": { "example": { "command": "node", "args": [ "/path/to/mcp-server-typescript-template/dist/index.js" ] } } }
-
security - not tested
F
license - not found
-
quality - not tested

local-only server

The server can only run on the client's local machine because it depends on local resources.

AI 모델이 외부 도구(예시 연산 및 간단한 숫자 추가 기능 포함)를 활용할 수 있도록 하는 모델 컨텍스트 프로토콜 서버를 생성하기 위한 TypeScript 템플릿입니다.

  1. 개요
    1. 필수 조건
      1. 프로젝트 구조
        1. 설치
          1. MCP 클라이언트 구성(Claude Desktop)

            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
              1
              12
              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
              TypeScript
            • -
              security
              A
              license
              -
              quality
              A TypeScript implementation of a Model Context Protocol server that provides a frictionless framework for developers to build and deploy AI tools and prompts, focusing on developer experience with zero boilerplate and automatic tool registration.
              Last updated -
              6
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A TypeScript-based Model Context Protocol toolkit that enables AI to interact with code files, manage translations, build projects, and search for files and code content.
              Last updated -
              33
              43
              5
              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/minimind-org/mcp-server-typescript-template'

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