MCP TypeScript Starter

MCP TypeScript 스타터

TypeScript를 사용하여 모델 컨텍스트 프로토콜(MCP) 서버를 만들기 위한 시작 템플릿입니다. MCP 서버 구축을 시작하는 데 도움이 되는 샘플 도구 구현과 함께 기본 설정을 제공합니다.

특징

  • TypeScript 구성
  • 기본 MCP 서버 설정
  • 샘플 도구 구현
  • 유형 안전 개발 환경

시작하기

다음 단계에 따라 MCP 서버를 직접 만드세요.

지엑스피1

프로젝트 구조

. ├── src/ │ └── index.ts # Main server implementation ├── package.json # Project dependencies and scripts └── tsconfig.json # TypeScript configuration

개발

  1. src/index.ts 에 도구를 구현하세요
  2. 프로젝트를 빌드하세요:
    npm run build

새로운 도구 추가

새 도구를 추가하려면 server.tool() 메서드를 사용하세요. 예:

server.tool( "tool-name", "tool-description", { // Define your tool's parameters using Zod schema param: z.string().describe("parameter description") }, async ({ param }) => { // Implement your tool logic here return { content: [ { type: "text", text: `Tool executed with parameter: ${param}`, }, ], }; }, );

특허

아이에스씨

-
security - not tested
F
license - not found
-
quality - not tested

TypeScript를 사용하여 모델 컨텍스트 프로토콜 서버를 만드는 시작 템플릿으로, 개발자가 자신의 MCP 서버를 구축할 수 있도록 기본적인 설정과 샘플 도구 구현을 제공합니다.

  1. Features
    1. Getting Started
      1. Project Structure
        1. Development
          1. Adding New Tools
            1. License
              ID: yu8jwbcqyy