MCP Add Server

Integrations

  • Implements a Model Context Protocol server using Node.js runtime, enabling deployment as a Node.js application.

  • Supports distribution and installation through the npm package registry, allowing users to easily install and run the server using npm commands.

MCP 서버 추가

간단한 add(a, b) 도구를 제공하는 최소 모델 컨텍스트 프로토콜(MCP) 서버입니다. 이 프로젝트는 MCP 서버 구현의 기본적인 예시입니다.

특징

  • 모델 컨텍스트 프로토콜을 준수하는 서버를 구현합니다.
  • 두 숫자의 합을 반환하는 add(a, b) 라는 단일 도구를 제공합니다.

필수 조건

  • Node.js(버전 18.xx 이상 권장)
  • npm(Node.js와 함께 제공)

설치

  1. 저장소를 복제합니다.지엑스피1
  2. 종속성 설치:
    npm install

용법

mcp-add-server 실행하는 방법에는 여러 가지가 있습니다.

1. npx 사용(대부분 사용자에게 권장):

Node.js와 npm이 설치되어 있다면 전역으로 복제하거나 설치하지 않고도 서버를 직접 실행할 수 있습니다.

npx mcp-add-server

이 명령은 mcp-add-server 의 최신 버전을 다운로드하고(아직 캐시되지 않은 경우) 실행합니다.

2. 복제된 저장소에서 실행:

저장소를 복제하고 종속성을 설치한 후( 설치 참조):

npm start

이는 package.json 에 정의된 start 스크립트를 사용합니다.

3. 글로벌 설치(자주 사용 또는 개발용):

패키지를 글로벌하게 설치할 수 있습니다:

npm install -g . # From the cloned repository directory # or once published to npm: # npm install -g mcp-add-server

그러면 어떤 디렉토리에서나 실행할 수 있습니다.

mcp-add-server

4. 개발을 위한 로컬 링크: 프로젝트 루트 디렉터리에서 npm link 실행합니다. 이렇게 하면 mcp-add-server 명령이 전역적으로 사용 가능하게 되어 로컬 프로젝트 파일을 가리킵니다.

# In project directory npm link # Then, in any directory: mcp-add-server

서버가 실행되면(사용하는 방법과 관계없이) MCP 클라이언트에서 사용할 수 있습니다.

예시 도구 호출(개념적)

MCP 클라이언트는 다음과 같이 add 도구를 호출할 수 있습니다(자세한 내용은 클라이언트 구현에 따라 다름).

{ "tool_name": "add", "arguments": { "a": 5, "b": 3 } }

서버는 다음과 같이 응답합니다.

{ "result": 8 }

테스트 실행

(테스트가 추가되면 여기에서 테스트 실행 방법을 설명합니다)

npm test

(현재 npm test "오류: 테스트를 지정하지 않았습니다"를 출력합니다. 테스트가 추가되면 package.jsontest 스크립트를 업데이트하세요.)

프로젝트 구조

mcp-add-server/ ├── .git/ # Git directory ├── .gitignore # Specifies intentionally untracked files that Git should ignore ├── .cursor/ # Cursor specific files (if any) ├── node_modules/ # Project dependencies ├── src/ # Source code │ └── server.js # Main server logic ├── bin.js # Executable for the server ├── LICENSE # Project license ├── package-lock.json # Records exact versions of dependencies ├── package.json # Project metadata and dependencies └── README.md # This file

기여하다

기여를 환영합니다! 풀 리퀘스트를 제출하거나 이슈를 개설해 주세요.

특허

이 프로젝트는 MIT 라이선스 에 따라 라이선스가 부여되었습니다.

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Tools

두 숫자의 합을 계산하기 위한 간단한 add(a, b) 도구를 제공하는 최소 모델 컨텍스트 프로토콜 서버입니다.

  1. 특징
    1. 필수 조건
      1. 설치
        1. 용법
          1. 예시 도구 호출(개념적)
        2. 테스트 실행
          1. 프로젝트 구조
            1. 기여하다
              1. 특허

                Related MCP Servers

                • A
                  security
                  F
                  license
                  A
                  quality
                  A server that provides tools for performing basic arithmetic operations (addition, subtraction, multiplication, division) via the Model Context Protocol.
                  Last updated -
                  4
                  JavaScript
                  • Apple
                • A
                  security
                  F
                  license
                  A
                  quality
                  A simple server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models through the Model Context Protocol.
                  Last updated -
                  4
                  JavaScript
                • A
                  security
                  F
                  license
                  A
                  quality
                  A simple Model Context Protocol server that provides basic arithmetic operations (addition, subtraction, multiplication, division) as tools that can be called by Large Language Models.
                  Last updated -
                  4
                  JavaScript
                • -
                  security
                  -
                  license
                  -
                  quality
                  A simple implementation of a Model Context Protocol server that demonstrates core functionality including mathematical tools (add, subtract) and personalized greeting resources.
                  Last updated -
                  3
                  Python
                  GPL 3.0

                View all related MCP servers

                ID: i1ca4pr3ca