Simple TypeScript MCP Server

by jasonkneen

Integrations

  • Built with TypeScript for type-safe development, allowing creation of robust MCP tools with proper typing and improved code reliability.

  • Integrates with Vitest for testing the MCP server functionality, enabling test-driven development of the note management capabilities.

간단한 TypeScript MCP 서버

기본 CRUD 작업을 통해 모델 컨텍스트 프로토콜(MCP) 서버를 구축하기 위한 간단한 TypeScript 템플릿입니다. 이 템플릿은 JSON 응답을 반환하는 MCP 도구를 만드는 기반을 제공합니다.

특징

  • CRUD 작업이 포함된 간단한 메모 API
  • 메모리 내 데이터 저장
  • TypeScript 구현
  • JSON 응답
  • Vitest로 테스트 준비 완료

설정

지엑스피1

서버 실행

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 서버의 시작점으로 사용할 수 있습니다.

You must be authenticated.

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

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
                  7
                  12
                  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
                  7
                  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
                • A
                  security
                  A
                  license
                  A
                  quality
                  A Model Context Protocol server that extracts embedded data (such as i18n translations or key/value configurations) from TypeScript/JavaScript source code into structured JSON configuration files.
                  Last updated -
                  2
                  14
                  2
                  JavaScript
                  MIT License

                View all related MCP servers

                ID: h4hg5cqqpp