사칙 연산 MCP 서버
이 MCP 서버는 기본 사칙 연산(더하기, 뺄셈, 곱셈, 나눗셈)을 수행하는 도구를 제공합니다.
기능
이 서버는 다음과 같은 사칙 연산 도구를 제공합니다.
add - 두 개의 숫자를 더합니다.
subtract - 두 개의 숫자를 뺍니다.
multiply - 두 개의 숫자를 곱합니다.
divide - 두 숫자를 나눕니다(제로 나누기의 경우 오류를 반환)
설치 방법
이 저장소를 복제하거나 다운로드합니다.
종속 패키지를 설치합니다.
npm installTypeScript를 컴파일합니다.
npm run build
Cline에서 설정하는 방법
Cline에서 이 서버를 사용하려면 Claude Desktop App의 구성 파일을 편집해야 합니다.
다음 경로에 구성 파일을 만들거나 편집합니다.
~/Library/Application Support/Claude/claude_desktop_config.json다음 내용을 추가합니다(기존 mcpServers 객체가 있는 경우 그 안에 추가합니다):
{ "mcpServers": { "arithmetic": { "command": "node", "args": ["/Users/y_nakasaka/Documents/Cline/MCP/arithmetic-server/src/index.js"], "disabled": false, "autoApprove": [] } } }Claude Desktop App을 다시 시작합니다.
사용 예
Cline에서 다음과 같은 프롬프트를 사용하여 사칙 연산 도구를 호출할 수 있습니다.
"5와 3을 더해 주세요"
"10에서 7을 당겨주세요"
"6과 8을 곱해주세요"
"20을 4로 나눕니다"
기술 세부 사항
이 서버는 다음 기술을 사용합니다.
TypeScript
Model Context Protocol (MCP) SDK
Zod(밸리데이션용)
local-only server
The server can only run on the client's local machine because it depends on local resources.
A server that provides tools for performing basic arithmetic operations (addition, subtraction, multiplication, division) via the Model Context Protocol.
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA 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
- AsecurityFlicenseAqualityA 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
- AsecurityAlicenseAqualityA Model Context Protocol server that provides basic calculator functionality for LLMs, enabling them to perform mathematical operations like addition, subtraction, multiplication, division, modulo, and square root.Last updated -622214MIT License
- AsecurityFlicenseAqualityA simple Model Context Protocol server that provides standardized tool functionality, currently implementing a basic calculator for adding two numbers together.Last updated -2595