MCP Expr Lang

MIT License
  • Linux
  • Apple

Integrations

  • Used for cloning the repository during installation process.

  • Referenced for issue tracking and contributions to the MCP server project.

  • Supported as a deployment platform for running the MCP server.

MCP Expr-Lang

Claude Desktop을 위한 강력한 표현 평가 도구로, MCP(Model Context Protocol)를 사용합니다.

개요

MCP Expr-Lang은 Claude AI와 강력한 expr-lang 표현식 평가 엔진 간의 완벽한 통합을 제공합니다. 이 도구를 사용하면 Claude 대화 내에서 복잡한 데이터 조작, 계산 및 변환을 직접 수행할 수 있습니다.

MCP Expr-Lang을 사용하면 다음을 수행할 수 있습니다.

  • 수학적 표현 평가
  • 배열 및 객체 변환 및 필터링
  • 복잡한 데이터 구조 정렬
  • 문자열 조작 수행
  • 조건 논리를 사용하세요
  • 그리고 훨씬 더 많은 것들!

설치

Smithery를 통해 설치

Smithery를 통해 Claude Desktop용 MCP Expr-Lang을 자동으로 설치하려면:

지엑스피1

필수 조건

  • 1.18 이상으로 가세요
  • 클로드 데스크톱 애플리케이션

1단계: 저장소 복제

git clone https://github.com/ivan-saorin/mcp-expr-lang.git cd mcp-expr-lang

2단계: 종속성 설치

go mod download

3단계: 애플리케이션 빌드

윈도우용
go build -o bin/server.exe
macOS/Linux의 경우
go build -o bin/server chmod +x bin/server

4단계: Claude Desktop 구성

  1. 클로드 데스크톱 열기
  2. 설정으로 이동
  3. "고급" 섹션으로 이동하세요
  4. config.json 에 다음 구성을 추가합니다.
윈도우용
{ "mcpServers": { "eval": { "command": "C:\\path\\to\\mcp-expr-lang\\bin\\server.exe" } } }
macOS/Linux의 경우
{ "mcpServers": { "eval": { "command": "/path/to/mcp-expr-lang/bin/server" } } }
  1. 구성을 저장하고 Claude Desktop을 다시 시작하세요.

용법

설치가 완료되면 Claude와의 대화에서 eval 도구를 직접 사용할 수 있습니다. Claude에게 도구를 사용하여 표현을 평가해 달라고 요청하기만 하면 됩니다.

기본 예제

User: Use eval to calculate "10 + 5 * 3" Claude: [Uses eval tool] Result: 10 + 5 * 3 = 25

복잡한 예

User: We have users = [{"Name": "John", "Age": 30},{"Name": "Ivan", "Age": 51},{"Name": "Eve", "Age": 15}] Use eval to calculate "sortBy(users, .Age, "desc")" Claude: [Uses eval tool] Result: The expression returns the users sorted by age in descending order: [ {"Age": 51, "Name": "Ivan"}, {"Age": 30, "Name": "John"}, {"Age": 15, "Name": "Eve"} ]

더 많은 예를 보려면 예를 참조하세요.

특징

MCP Expr-Lang은 다음을 포함하여 expr-lang 엔진의 모든 기능을 지원합니다.

  • 산술 연산 : 덧셈, 뺄셈, 곱셈, 나눗셈, 모듈로, 지수
  • 문자열 연산 : 연결, 길이, 대문자/소문자 변환
  • 부울 연산 : AND, OR, NOT, 비교 연산자
  • 배열 연산 : 매핑, 필터링, 축소, 정렬
  • 객체 조작 : 속성 접근, 변환
  • 조건 논리 : 삼항 연산자, if-else 표현식
  • 내장 함수 : 수학, 문자열, 배열 및 날짜 함수

표현 언어 구문과 기능에 대한 전체 가이드는 expr-lang 설명서를 참조하세요.

문제 해결

일반적인 문제

  1. Claude에 도구가 나타나지 않습니다 . config.json 의 경로가 올바르고 Claude Desktop이 다시 시작되었는지 확인하세요.
  2. 실행 오류 : expr-lang 설명서에 따라 표현식 구문이 올바른지 확인하세요.
  3. 권한 문제(macOS/Linux) : 서버 바이너리에 실행 권한이 있는지 확인하세요( chmod +x bin/server ).

도움 받기

문제가 발생하거나 질문이 있는 경우:

  1. GitHub의 이슈 섹션을 확인하세요
  2. 문제가 보고되지 않은 경우 새 이슈를 열어주세요.

기여하다

기여를 환영합니다! MCP Expr-Lang을 개선하고 싶으시다면:

  1. 저장소를 포크하세요
  2. 기능 브랜치를 생성합니다( git checkout -b feature/amazing-feature )
  3. 변경 사항을 커밋하세요( git commit -m 'Add some amazing feature' )
  4. 브랜치에 푸시( git push origin feature/amazing-feature )
  5. 풀 리퀘스트 열기

특허

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.

감사의 말

  • 강력한 표현식 평가 엔진을 위한 expr-lang
  • 모델 컨텍스트 프로토콜 구현을 위한 mcp-golang
  • AI 어시스턴트 플랫폼을 위한 Claude AI

Ivan Saorin 이 ❤️로 만들었습니다

-
security - not tested
A
license - permissive license
-
quality - not tested

local-only server

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

MCP Expr Lang

  1. Overview
    1. Installation
      1. Installing via Smithery
      2. Prerequisites
      3. Step 1: Clone the Repository
      4. Step 2: Install Dependencies
      5. Step 3: Build the Application
      6. Step 4: Configure Claude Desktop
    2. Usage
      1. Basic Example
      2. Complex Example
    3. Features
      1. Troubleshooting
        1. Common Issues
        2. Getting Help
      2. Contributing
        1. License
          1. Acknowledgments

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              gitlab mcp
              Last updated -
              13
              983
              75
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              mcp-hydrolix
              Last updated -
              3
              1
              Python
              Apache 2.0
              • Apple
            • A
              security
              A
              license
              A
              quality
              interactive-mcp
              Last updated -
              5
              705
              29
              TypeScript
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            ID: sg086i9cin