프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요 로그인

SAP Business One (read-only)

제작자: kodenova버전 0.1.0i★ 0i내 컴퓨터에서 실행공식 사이트 ↗
레지스트리 이름io.github.kodenova/sap-b1-mcp

설치 방법

할 수 있는 일

Read-only SAP Business One Service Layer tools: partners, items, orders, invoices, stock.

제작자가 쓴 원문

  • 연결 방식 내 컴퓨터에서 실행
  • 계정 또는 키 SAPB1_PASSWORD 필요 · 설정 3개 입력 필요(SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME)
  • 분류 온라인 쇼핑몰 및 결제

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기0/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중0/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수12/100

품질: 기본 점검 2/3개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

한 문장으로 AI에게 설치 맡기기

SAP Business One (read-only) 설치해 줘. https://mcp.popnx.com/i/kodenova-sap-b1-mcp.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 2/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 18일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

AI에게 설치 맡기기

이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude에 MCP server SAP Business One (read-only)을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "sap-b1": { "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 SAP Business One (read-only)의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. SAP Business One (read-only)에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SAP Business One (read-only) 사이트 열기 ↗

  3. 설정 3개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • SAPB1_SERVICE_LAYER_URL Service Layer 기본 URL(예: https://your-b1-server:50000/b1s/v1)
      영어 원문 보기Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
    • SAPB1_COMPANY_DB 회사 데이터베이스(스키마) 이름
      영어 원문 보기Company database (schema) name
    • SAPB1_USERNAME 읽기 전용 권한이 있는 전용 B1 사용자
      영어 원문 보기Dedicated B1 user with read-only authorizations

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  5. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "sap-b1": {
          "command": "npx",
          "args": [
            "-y",
            "@kodenova/sap-b1-mcp"
          ],
          "env": {
            "SAPB1_SERVICE_LAYER_URL": "your-value",
            "SAPB1_COMPANY_DB": "your-value",
            "SAPB1_USERNAME": "your-value",
            "SAPB1_PASSWORD": "your-value"
          }
        }
      }
    }

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Claude를 끄고 다시 열기

  7. 해 보기

    SAP Business One (read-only)을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 SAP Business One (read-only)을 쓰고 있다고 하거나 답에 SAP Business One (read-only) 도구 이름이 나오면 연결된 거예요

추가 설정 4개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • SAPB1_ALLOW_SELF_SIGNED Service Layer가 자체 서명 인증서를 사용하는 경우에만 true로 설정하세요.
    영어 원문 보기Set to true only if your Service Layer uses a self-signed certificate
    · 기본값 false
  • SAPB1_MAX_ROWS 모든 도구가 반환할 수 있는 최대 행 수(기본값 50, 최대 상한 500)
    영어 원문 보기Maximum rows any tool may return (default 50, hard cap 500)
    · 기본값 50
  • SAPB1_SAVED_QUERIES_FILE run_saved_query에서 사용하는 저장된 쿼리 JSON 파일의 경로
    영어 원문 보기Path to the saved-queries JSON file used by run_saved_query
  • SAPB1_MOCK true로 설정하면 SAP 대신 내장된 데모 픽스처를 사용합니다.
    영어 원문 보기Set to true to use bundled demo fixtures instead of SAP
    · 기본값 false

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 SAP Business One (read-only)에 연결할 수 없어요

SAP Business One (read-only)는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · SAP Business One (read-only)에 연결되는 앱 쓰기

  • SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

B · 온라인 쇼핑몰 및 결제에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Claude Code에 MCP server SAP Business One (read-only)을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 SAP Business One (read-only)의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. SAP Business One (read-only)에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SAP Business One (read-only) 사이트 열기 ↗

  3. 설정 3개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • SAPB1_SERVICE_LAYER_URL Service Layer 기본 URL(예: https://your-b1-server:50000/b1s/v1)
      영어 원문 보기Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
    • SAPB1_COMPANY_DB 회사 데이터베이스(스키마) 이름
      영어 원문 보기Company database (schema) name
    • SAPB1_USERNAME 읽기 전용 권한이 있는 전용 B1 사용자
      영어 원문 보기Dedicated B1 user with read-only authorizations

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  5. 이 명령을 붙여 넣고 Enter

    claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcp

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Claude Code에서 /mcp 입력

    SAP Business One (read-only)이 목록에 있고 연결됨으로 보이면 돼요

  7. 해 보기

    SAP Business One (read-only)을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 SAP Business One (read-only)을 쓰고 있다고 하거나 답에 SAP Business One (read-only) 도구 이름이 나오면 연결된 거예요

추가 설정 4개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • SAPB1_ALLOW_SELF_SIGNED Service Layer가 자체 서명 인증서를 사용하는 경우에만 true로 설정하세요.
    영어 원문 보기Set to true only if your Service Layer uses a self-signed certificate
    · 기본값 false
  • SAPB1_MAX_ROWS 모든 도구가 반환할 수 있는 최대 행 수(기본값 50, 최대 상한 500)
    영어 원문 보기Maximum rows any tool may return (default 50, hard cap 500)
    · 기본값 50
  • SAPB1_SAVED_QUERIES_FILE run_saved_query에서 사용하는 저장된 쿼리 JSON 파일의 경로
    영어 원문 보기Path to the saved-queries JSON file used by run_saved_query
  • SAPB1_MOCK true로 설정하면 SAP 대신 내장된 데모 픽스처를 사용합니다.
    영어 원문 보기Set to true to use bundled demo fixtures instead of SAP
    · 기본값 false

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 Cursor에 MCP server SAP Business One (read-only)을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "sap-b1": { "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 SAP Business One (read-only)의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. SAP Business One (read-only)에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SAP Business One (read-only) 사이트 열기 ↗

  3. 설정 3개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • SAPB1_SERVICE_LAYER_URL Service Layer 기본 URL(예: https://your-b1-server:50000/b1s/v1)
      영어 원문 보기Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
    • SAPB1_COMPANY_DB 회사 데이터베이스(스키마) 이름
      영어 원문 보기Company database (schema) name
    • SAPB1_USERNAME 읽기 전용 권한이 있는 전용 B1 사용자
      영어 원문 보기Dedicated B1 user with read-only authorizations

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    SAP Business One (read-only) 설정에서 SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. Cursor에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    SAP Business One (read-only)을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 SAP Business One (read-only)을 쓰고 있다고 하거나 답에 SAP Business One (read-only) 도구 이름이 나오면 연결된 거예요

추가 설정 4개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • SAPB1_ALLOW_SELF_SIGNED Service Layer가 자체 서명 인증서를 사용하는 경우에만 true로 설정하세요.
    영어 원문 보기Set to true only if your Service Layer uses a self-signed certificate
    · 기본값 false
  • SAPB1_MAX_ROWS 모든 도구가 반환할 수 있는 최대 행 수(기본값 50, 최대 상한 500)
    영어 원문 보기Maximum rows any tool may return (default 50, hard cap 500)
    · 기본값 50
  • SAPB1_SAVED_QUERIES_FILE run_saved_query에서 사용하는 저장된 쿼리 JSON 파일의 경로
    영어 원문 보기Path to the saved-queries JSON file used by run_saved_query
  • SAPB1_MOCK true로 설정하면 SAP 대신 내장된 데모 픽스처를 사용합니다.
    영어 원문 보기Set to true to use bundled demo fixtures instead of SAP
    · 기본값 false

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

SAP Business One (read-only) 키가 필요해요 (제작자 사이트에서 만들기) · 설정 3개 입력 필요 (SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

AI에게 설치 맡기기

이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.

이 컴퓨터의 VS Code에 MCP server SAP Business One (read-only)을 설치해 주세요. 순서대로: 1) node -v로 Node.js가 있는지 확인. 없으면 https://nodejs.org/en/download에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "sap-b1": { "type": "stdio", "command": "npx", "args": [ "-y", "@kodenova/sap-b1-mcp" ], "env": { "SAPB1_SERVICE_LAYER_URL": "your-value", "SAPB1_COMPANY_DB": "your-value", "SAPB1_USERNAME": "your-value", "SAPB1_PASSWORD": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 SAP Business One (read-only)의 도구가 실제로 보이는지 확인하세요.

이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.

  1. Node.js 설치 (아직 없다면)

    이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter

    node -v
    • 버전 번호(예: v26.13.1)가 나오면 설치된 것입니다. 이 단계는 건너뛰세요
    • "command not found"(Windows는 "is not recognized")가 나오면 아직 설치하지 않았거나, 방금 설치해서 터미널을 닫았다가 다시 열어야 합니다
    터미널 여는 법

    Mac: ⌘ + Space를 누르고 Terminal 입력 후 Enter

    Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"

    아직 설치하지 않았다면: 공식 다운로드 페이지에서 LTS 버전과 클릭형 설치 파일을 고르세요: Mac은 .pkg · Windows는 .msi. 더블클릭 후 끝까지 진행하면 됩니다. curl 명령은 필요 없습니다

    Node.js 다운로드 페이지 열기 ↗

    설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: node -v

    한 번 설치하면 Node.js가 필요한 모든 도구에서 쓸 수 있습니다

  2. SAP Business One (read-only)에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    SAP Business One (read-only) 사이트 열기 ↗

  3. 설정 3개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • SAPB1_SERVICE_LAYER_URL Service Layer 기본 URL(예: https://your-b1-server:50000/b1s/v1)
      영어 원문 보기Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
    • SAPB1_COMPANY_DB 회사 데이터베이스(스키마) 이름
      영어 원문 보기Company database (schema) name
    • SAPB1_USERNAME 읽기 전용 권한이 있는 전용 B1 사용자
      영어 원문 보기Dedicated B1 user with read-only authorizations

    설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

  4. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  5. 키 입력

    SAP Business One (read-only) 설정에서 SAPB1_PASSWORD, SAPB1_SERVICE_LAYER_URL, SAPB1_COMPANY_DB, SAPB1_USERNAME가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  6. VS Code에서 AI 채팅을 Agent 모드로 열기

  7. 해 보기

    SAP Business One (read-only)을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 SAP Business One (read-only)을 쓰고 있다고 하거나 답에 SAP Business One (read-only) 도구 이름이 나오면 연결된 거예요

추가 설정 4개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • SAPB1_ALLOW_SELF_SIGNED Service Layer가 자체 서명 인증서를 사용하는 경우에만 true로 설정하세요.
    영어 원문 보기Set to true only if your Service Layer uses a self-signed certificate
    · 기본값 false
  • SAPB1_MAX_ROWS 모든 도구가 반환할 수 있는 최대 행 수(기본값 50, 최대 상한 500)
    영어 원문 보기Maximum rows any tool may return (default 50, hard cap 500)
    · 기본값 50
  • SAPB1_SAVED_QUERIES_FILE run_saved_query에서 사용하는 저장된 쿼리 JSON 파일의 경로
    영어 원문 보기Path to the saved-queries JSON file used by run_saved_query
  • SAPB1_MOCK true로 설정하면 SAP 대신 내장된 데모 픽스처를 사용합니다.
    영어 원문 보기Set to true to use bundled demo fixtures instead of SAP
    · 기본값 false

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? SAP Business One (read-only)을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add --scope user sap-b1 --env SAPB1_SERVICE_LAYER_URL=your-value --env SAPB1_COMPANY_DB=your-value --env SAPB1_USERNAME=your-value --env SAPB1_PASSWORD=your-value -- npx -y @kodenova/sap-b1-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "sap-b1": {
      "command": "npx",
      "args": [
        "-y",
        "@kodenova/sap-b1-mcp"
      ],
      "env": {
        "SAPB1_SERVICE_LAYER_URL": "your-value",
        "SAPB1_COMPANY_DB": "your-value",
        "SAPB1_USERNAME": "your-value",
        "SAPB1_PASSWORD": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "sap-b1": {
      "command": "npx",
      "args": [
        "-y",
        "@kodenova/sap-b1-mcp"
      ],
      "env": {
        "SAPB1_SERVICE_LAYER_URL": "your-value",
        "SAPB1_COMPANY_DB": "your-value",
        "SAPB1_USERNAME": "your-value",
        "SAPB1_PASSWORD": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "sap-b1": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@kodenova/sap-b1-mcp"
      ],
      "env": {
        "SAPB1_SERVICE_LAYER_URL": "your-value",
        "SAPB1_COMPANY_DB": "your-value",
        "SAPB1_USERNAME": "your-value",
        "SAPB1_PASSWORD": "your-value"
      }
    }
  }
}

직접 입력할 값

  • SAPB1_SERVICE_LAYER_URL 필수 env
    Service Layer 기본 URL(예: https://your-b1-server:50000/b1s/v1)
    영어 원문 보기Service Layer base URL, e.g. https://your-b1-server:50000/b1s/v1
  • SAPB1_COMPANY_DB 필수 env
    회사 데이터베이스(스키마) 이름
    영어 원문 보기Company database (schema) name
  • SAPB1_USERNAME 필수 env
    읽기 전용 권한이 있는 전용 B1 사용자
    영어 원문 보기Dedicated B1 user with read-only authorizations
  • SAPB1_PASSWORD 비밀 필수 env
    해당 B1 사용자의 비밀번호
    영어 원문 보기Password of that B1 user
  • SAPB1_ALLOW_SELF_SIGNED env
    Service Layer가 자체 서명 인증서를 사용하는 경우에만 true로 설정하세요.
    영어 원문 보기Set to true only if your Service Layer uses a self-signed certificate
  • SAPB1_MAX_ROWS env
    모든 도구가 반환할 수 있는 최대 행 수(기본값 50, 최대 상한 500)
    영어 원문 보기Maximum rows any tool may return (default 50, hard cap 500)
  • SAPB1_SAVED_QUERIES_FILE env
    run_saved_query에서 사용하는 저장된 쿼리 JSON 파일의 경로
    영어 원문 보기Path to the saved-queries JSON file used by run_saved_query
  • SAPB1_MOCK env
    true로 설정하면 SAP 대신 내장된 데모 픽스처를 사용합니다.
    영어 원문 보기Set to true to use bundled demo fixtures instead of SAP

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
라이선스i
라이선스 표시 없음
연결 방식
내 컴퓨터에서 실행
최신 버전i
0.1.0
레지스트리 공개i
2026년 11월 18일
코드 마지막 변경i
2026년 11월 18일
제작자
kodenova
패키지
npm: @kodenova/sap-b1-mcp
웹사이트
kodenova.com
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 20일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 kodenova 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 그저께

  • ! 주의

    라이선스 있음

    GitHub가 라이선스 종류를 알아내지 못했어요. 파일을 열어 확인하세요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

공개된 취약점 (OSV.dev)

OSV.dev에 @kodenova/sap-b1-mcp@0.1.0 항목이 없습니다

이 버전의 패키지 자체만 확인하며 모든 의존성은 아닙니다 · 확인 2026년 11월 18일

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/kodenova-sap-b1-mcp.svg)](https://mcp.popnx.com/en/servers/kodenova-sap-b1-mcp)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

온라인 쇼핑몰 및 결제 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 2985개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 2985개 중 87%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 2985개 중 59%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

SAP Business One (read-only), 안전한가요?

해당하는 기본 점검 3개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: SAPB1_PASSWORD

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 그저께 변경됐고, 최신 버전(0.1.0)은 그저께 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Stripe MCP, flightclaw, Trade It, Marketplace Ad Pros: Amazon Ads & Seller Central, idealo MCP Server

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Stripe MCP

MCP server integrating with Stripe - tools for customers, products, payments, and more.

제작자: stripe널리 사용됨★ 2.1천13개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · stripe.com

flightclaw

Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.

제작자: flightclaw성장 중★ 872개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · flightclaw.com

Trade It

Connect brokerage accounts to AI assistants: holdings, orders, asset lookup, and approved trading.

제작자: trade-it-inc성장 중★ 6235일 전 업데이트

클라우드에서 실행✓ 서비스 회사 · tradeit.app

idealo MCP Server

Search products, compare prices and discover deals across 6 European markets with your AI assistant.

제작자: idealo초기★ 286개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · mcp.idealo.com
비슷한 항목과 비교
이 항목
SAP Business One (read-only)
Stripe MCPflightclawTrade ItMarketplace Ad Pros: Amazon Ads & Seller Centralidealo MCP Server
실행 위치컴퓨터에 설치 필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요
키 필요예아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요예아니요아니요아니요아니요
기본 점검2/34/44/45/54/44/4
라이선스NOASSERTIONMITMITCC0-1.0MITMIT
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

sap-b1-mcp: read-only SAP Business One MCP server

An open-source Model Context Protocol server that lets AI assistants (Claude, ChatGPT via a bridge, Cursor, VS Code and other MCP clients) read data from one SAP Business One company through the Service Layer REST API.

It is a deliberately small, auditable starter:

  • Read-only by design. There are no tools that create, change or delete anything, and the HTTP client refuses any request other than GET, Login, Logout and running a pre-created SQLQueries entry.
  • No free SQL and no free filters. Every tool has a typed input schema, a row limit and a field whitelist. Custom reports go through run_saved_query, which only runs queries an administrator registered in a config file.
  • Credentials stay private. They come from environment variables, are never logged, and are redacted from every error message.
  • Runs without SAP. SAPB1_MOCK=1 serves bundled demo fixtures, so you can try it and run the tests on any machine.

SAP and SAP Business One are trademarks or registered trademarks of SAP SE in Germany and other countries. This project is independent and is not affiliated with, sponsored by or endorsed by SAP SE.

Tools

ToolWhat it returnsKey inputsRow limit
get_business_partnerOne customer, supplier or lead by exact CardCodecardCode, optional fields1
search_business_partnersPartners whose code or name contains textquery, type (customer / supplier / lead), limit, fieldslimit (≤ SAPB1_MAX_ROWS)
get_itemOne item master record by exact ItemCodeitemCode, optional fields1
search_itemsItems whose code or name contains textquery, inStockOnly, limit, fieldslimit
get_open_sales_ordersOpen sales orders, newest firstoptional cardCode, limit, fieldslimit
get_customer_balanceAccount balance, open orders, open deliveries, credit limit and available creditcardCode1
get_open_invoicesOpen A/R invoices with unpaid amount and days overdue, plus a totaloptional cardCode, overdueOnly, limitlimit
get_stock_by_warehouseIn stock, committed, ordered and available per warehouse for one itemitemCode, optional warehouseCode, includeEmptyall warehouses of one item
run_saved_queryResult of a query pre-registered by an administratorname, params, limitmin(limit, query maxRows)

Every tool is annotated readOnlyHint: true, destructiveHint: false.

Field whitelists

The fields input only accepts names from these lists, so the model cannot pull other columns:

  • Business partners: CardCode, CardName, CardType, GroupCode, Phone1, EmailAddress, City, Country, Currency, FederalTaxID, Valid, Frozen
  • Balance: CardCode, CardName, Currency, CurrentAccountBalance, OpenOrdersBalance, OpenDeliveryNotesBalance, CreditLimit
  • Items: ItemCode, ItemName, ItemsGroupCode, BarCode, InventoryItem, SalesItem, PurchaseItem, InventoryUOM, QuantityOnStock, QuantityOrderedFromVendors, QuantityOrderedByCustomers, Valid, Frozen
  • Documents (orders, invoices): DocEntry, DocNum, CardCode, CardName, NumAtCard, DocDate, DocDueDate, DocTotal, DocCurrency, PaidToDate, DocumentStatus

Edit the lists in src/server.ts to fit your company.

Quick start (no SAP needed)

npx -y @kodenova/sap-b1-mcp        # with SAPB1_MOCK=1 in the environment

Or from source:

git clone https://github.com/kodenova/sap-b1-mcp.git

cd sap-b1-mcp npm install npm run build npm test # runs in mock mode, no SAP needed SAPB1_MOCK=1 node dist/index.js # stdio MCP server on demo data

Requires Node.js 18.17 or later.

Environment variables

VariableRequiredDescription
SAPB1_SERVICE_LAYER_URLyesService Layer base URL, e.g. https://b1server:50000/b1s/v1
SAPB1_COMPANY_DByesCompany database / schema name
SAPB1_USERNAMEyesDedicated read-only B1 user (see Security)
SAPB1_PASSWORDyesPassword of that user. Never logged, redacted from errors
SAPB1_ALLOW_SELF_SIGNEDnotrue to accept a self-signed TLS certificate. Off by default
SAPB1_ALLOW_HTTPnotrue to allow a plain http:// URL. Only for a local test system
SAPB1_MAX_ROWSnoMaximum rows any tool may return. Default 50, hard cap 500
SAPB1_TIMEOUT_MSnoPer-request timeout. Default 30000
SAPB1_SAVED_QUERIES_FILEnoPath to your saved-queries JSON (see below)
SAPB1_LOG_LEVELnodebug, info (default), warn, error, silent. Logs go to stderr
SAPB1_MOCKnotrue / 1 to use the bundled fixtures instead of SAP

See .env.example.

Client setup

Claude Desktop

Edit claude_desktop_config.json (Settings, Developer, Edit Config):

{

"mcpServers": { "sap-b1": { "command": "npx", "args": ["-y", "@kodenova/sap-b1-mcp"], "env": { "SAPB1_SERVICE_LAYER_URL": "https://b1server:50000/b1s/v1", "SAPB1_COMPANY_DB": "SBODEMOUS", "SAPB1_USERNAME": "mcp_readonly", "SAPB1_PASSWORD": "your-password", "SAPB1_MAX_ROWS": "50" } } } }

To try it without SAP, replace the env block with { "SAPB1_MOCK": "1" }. On Windows, if npx is not found, use "command": "cmd" and "args": ["/c", "npx", "-y", "@kodenova/sap-b1-mcp"].

Claude Code
claude mcp add sap-b1 \

-e SAPB1_SERVICE_LAYER_URL=https://b1server:50000/b1s/v1 \ -e SAPB1_COMPANY_DB=SBODEMOUS \ -e SAPB1_USERNAME=mcp_readonly \ -e SAPB1_PASSWORD=your-password \ -- npx -y @kodenova/sap-b1-mcp

VS Code (GitHub Copilot agent mode)

.vscode/mcp.json, with the password prompted instead of stored:

{

"inputs": [ { "type": "promptString", "id": "sapb1-password", "description": "SAP B1 password", "password": true } ], "servers": { "sap-b1": { "type": "stdio", "command": "npx", "args": ["-y", "@kodenova/sap-b1-mcp"], "env": { "SAPB1_SERVICE_LAYER_URL": "https://b1server:50000/b1s/v1", "SAPB1_COMPANY_DB": "SBODEMOUS", "SAPB1_USERNAME": "mcp_readonly", "SAPB1_PASSWORD": "${input:sapb1-password}" } } } }

Cursor, Windsurf and other stdio clients

Use the same command, args and env as the Claude Desktop example in the client's MCP config file (for Cursor: ~/.cursor/mcp.json or .cursor/mcp.json).

ChatGPT and other remote-only clients

ChatGPT connects to remote MCP servers over HTTPS; it does not launch local stdio processes. This package is a stdio server, so for ChatGPT you need to host it behind an MCP stdio-to-HTTP bridge on a server you control, with HTTPS and authentication in front of it. Do not expose an unauthenticated endpoint that holds your SAP credentials. If you want a hosted, authenticated HTTP version, see the footer.

Saved queries (run_saved_query)

The model cannot send SQL or OData filters. It can only pick a query by name from a JSON file you control and pass the typed parameters that query declares. Copy config/saved-queries.example.json to config/saved-queries.json and point SAPB1_SAVED_QUERIES_FILE at it.

Two kinds are supported:

{

"queries": { "customers_over_balance": { "kind": "odata", "description": "Customers whose account balance is above a threshold", "resource": "BusinessPartners", "select": ["CardCode", "CardName", "CurrentAccountBalance"], "filter": { "and": [ { "field": "CardType", "op": "eq", "value": "cCustomer" }, { "field": "CurrentAccountBalance", "op": "gt", "value": { "param": "minBalance" } } ]}, "orderBy": "CurrentAccountBalance desc", "maxRows": 100, "params": { "minBalance": { "type": "number", "default": 0 } } }, "sales_by_month": { "kind": "sqlquery", "description": "Net A/R sales per month for a year", "sqlCode": "KN_SALES_BY_MONTH", "params": { "year": { "type": "integer", "required": true } } } } }

  • odata queries run against a Service Layer entity set with a fixed $select and a structured filter. Parameter values are type-checked (string, number, integer, date, boolean) and escaped; field names are validated.
  • sqlquery queries run a SQLQueries entry that your administrator already created in Service Layer (POST SQLQueries('code')/List with a ParamList). Service Layer only accepts SELECT statements there. This server cannot create or change SQLQueries entries.

Security

  • No write path. The client-side guard (assertReadOnly in src/serviceLayer.ts) blocks PATCH, PUT, DELETE and every POST except Login, Logout and SQLQueries('…')/List, before any request is sent. Tests cover this.
  • Use a dedicated least-privilege B1 user. Create a separate user (for example mcp_readonly) for this server. Do not use manager or a superuser. In *Administration → System Initialization → Authorizations → General Authorizations*, set:
  • *Read Only* for Business Partner Master Data, Item Master Data, Sales A/R (Orders, A/R Invoices) and Inventory reports you want exposed
  • *No Authorization* for everything else, including Administration, Banking, Financials and all purchasing or posting screens you do not need

The server is read-only on its own; the B1 authorizations are your second, independent layer. Service Layer logins need a suitable B1 user license, so check the licensing with your SAP partner.

  • Credentials. Read only from environment variables. Never written to logs. Password, B1SESSION and ROUTEID values are redacted from every error and log line. Prefer your client's secret prompt (as in the VS Code example) over storing the password in a config file.
  • TLS. Certificate verification is on by default. SAPB1_ALLOW_SELF_SIGNED=true turns it off for the Service Layer host only and logs a warning. Plain http:// is refused unless SAPB1_ALLOW_HTTP=true.
  • Bounded output. Every list tool has a row limit (default 20, max SAPB1_MAX_ROWS, hard cap 500) and a field whitelist, so a prompt cannot dump whole tables.
  • Prompt injection. Data returned from SAP (names, remarks) is passed to the model as data. Because the tools cannot write, a malicious record cannot make the model change your ERP through this server. Still, review what other tools you connect alongside it.
  • Logs go to stderr, never stdout (stdout is the MCP protocol channel).

Service Layer version notes

  • Built for the Service Layer v1 endpoint (/b1s/v1), which uses OData v3-style JSON (odata.nextLink, {"error":{"message":{"value":…}}}). The client also reads the v2 (/b1s/v2, OData v4) @odata.nextLink and error format, but filters with dates are written in v1 syntax, so v1 is the supported endpoint for 0.1.0.
  • Paging: Service Layer returns 20 rows per page by default. The server sends Prefer: odata.maxpagesize=N and follows odata.nextLink until the row limit is reached.
  • Sessions: login is POST /Login with CompanyDB, UserName and Password; the B1SESSION (and ROUTEID when load-balanced) cookies are reused. When the session times out (30 minutes by default), the server logs in again once and retries. It logs out on shutdown.
  • contains() and startswith() are used for search. On SAP HANA, string comparison is case-sensitive, so search_items with widget will not match Widget.
  • SQLQueries (used by sqlquery saved queries) exists only in newer Service Layer releases. Check that SQLQueries appears in your $metadata before using that kind.
  • Field names follow the standard Service Layer metadata (BusinessPartners, Items, Orders, Invoices). If your release or localization differs, adjust the wh

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요