프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

jPOS MCP Server

제작자: mohisyed버전 0.1.1i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.mohisyed/jpos-mcp-server

설치

개요

제작자가 쓴 설명(영어 원문)

MCP server for jPOS and ISO 8583. Deterministic payment protocol tools for AI agents.

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 온라인 쇼핑몰 및 결제

설치

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

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 레지스트리에 입력해야 할 키가 나와 있지 않아요.

필요한 것

  • PyPIPython의 uv 설치(uvx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "jpos": {
      "command": "uvx",
      "args": [
        "jpos-mcp-server"
      ]
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add jpos -- uvx jpos-mcp-server

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "jpos": {
      "command": "uvx",
      "args": [
        "jpos-mcp-server"
      ]
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "jpos": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "jpos-mcp-server"
      ]
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

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

할 수 있는 일

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

기본 점검i

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

  • ✓ 통과

    제작자와 저장소 일치

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

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

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

  • – 해당 없음

    OAuth로 로그인

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

  • … 아직 점검 안 함

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

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

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

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

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

자주 묻는 질문

jPOS MCP Server, 안전한가요?

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

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

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

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

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

아직 관리되고 있나요?

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

어떤 앱에서 쓸 수 있나요?

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

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

같은 카테고리에는: Spree Commerce: open-source B2B and marketplace ecommerce, Stripe MCP, MCP Cn Commerce

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

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

Stripe MCP

제작자: stripe

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

클라우드에서 실행★ 2,043MIT12개월 전 업데이트
설치

MCP Cn Commerce

제작자: TonyWang-hub

8 read-only MCP platform entries; support is operation-specific; merchant live acceptance pending

내 컴퓨터에서 실행★ 96MIT28일 전 업데이트
설치

제작자의 README

README 열기

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

jPOS MCP Server

mcp-name: io.github.mohisyed/jpos-mcp-server

The first open-source MCP server for jPOS and ISO 8583.

*Claude validating a real ISO 8583 financial transaction request using deterministic tools. No guessing — every answer comes from verified data.*

An MCP server that gives AI agents (Claude, Cursor, VS Code Copilot) deterministic, verified access to ISO 8583 field specs, MTI decoding, jPOS packager XML generation, deploy descriptor validation, message building, and jPOS documentation search.

No more guessing packager class names. No more scrolling a 300-page PDF. Call a tool, get the right answer.


Table of Contents

  • Quickstart
  • Tools
  • Architecture
  • Testing
  • Knowledge Base (RAG)
  • Docker
  • Claude Desktop Setup
  • MCP Inspector
  • Security
  • Troubleshooting
  • Roadmap
  • Contributing

Quickstart

Prerequisites: Python 3.11+ and uv package manager.

# 1. Clone and install

git clone https://github.com/mohisyed/JPOS-MCP.git cd JPOS-MCP uv sync

2. (Optional) Set up the knowledge base for semantic search

mkdir -p knowledge/sources curl -o knowledge/sources/proguide.pdf https://jpos.org/doc/proguide-draft.pdf uv run python knowledge/ingest.py

3. Add to Claude Desktop (see Claude Desktop Setup below)

All 6 tools work immediately after step 1. Step 2 enables the search_jpos RAG tool with real documentation.


Tools

ToolNamespaceWhat It DoesExample Input
lookup_fieldisoReturn full ISO 8583 field spec (name, format, jPOS class, max length)field_number: 35
decode_mtiisoDecode MTI into version, class, function, origin + expected responsemti: "0200"
generate_packagerjposGenerate complete GenericPackager XML from plain English"Visa auth fields 2,3,4,7,11,35,41,42 BCD"
validate_descriptorjposLint a Q2 deploy descriptor (channel, QMUX, TM rules)xml_content: " ..."
build_messagemsgValidate ISO 8583 field dict (mandatory fields, lengths, PAN safety){"0":"0200", "2":"4111..."}
search_jposdocsSemantic search over jPOS Programmer's Guide (RAG)"How to configure QMUX"
Why deterministic tools instead of LLM inference?

LLMs can guess that field 35 uses IFA_LLVAR, but they sometimes hallucinate class names like IFA_LLTRACK2 (doesn't exist). Our tools read from data/iso_fields.json — a verified lookup table — so the answer is always correct. The AI decides *which* tool to call; our code provides the *facts*.


Architecture

┌─────────────────────────────────────────────────────────────────┐

│ AI AGENT CLIENTS │ │ Claude Desktop · Claude API · Cursor · VS Code Copilot │ └──────────────────────────┬──────────────────────────────────────┘ │ MCP Protocol (JSON-RPC 2.0) stdio (local) / Streamable HTTP (Docker) │ ┌──────────────────────────▼──────────────────────────────────────┐ │ jpos-mcp-server (Python / FastMCP v3.1.1) │ │ │ │ main.py │ │ ├── iso_server [iso] lookup_field, decode_mti │ │ ├── jpos_server [jpos] generate_packager, validate_descriptor│ │ ├── msg_server [msg] build_message │ │ └── rag_server [docs] search_jpos │ │ │ │ ┌──────────────┐ ┌─────────────────────────────────────────┐ │ │ │ DATA LAYER │ │ KNOWLEDGE LAYER │ │ │ │ iso_fields │ │ ChromaDB + sentence-transformers │ │ │ │ mti_table │ │ Chunked jPOS Programmer's Guide │ │ │ │ mandatory │ │ + project docs (ISO 8583 deep dive) │ │ │ └──────────────┘ └─────────────────────────────────────────┘ │ │ core/ — timeout guardrails, PAN detection, safe logging │ └──────────────────────────────────────────────────────────────────┘

Sub-server composition

The server is split into 4 domain-specific sub-servers mounted via FastMCP.mount(). Each sub-server is independently testable — a bug in the RAG pipeline doesn't prevent ISO field lookups from working. Adding a new domain is one file + one mount() call in main.py.

Timeout guardrails

Every tool is wrapped with @with_timeout() using asyncio.wait_for(). If a tool hangs (e.g., ChromaDB cold start), it returns a structured error dict instead of blocking the entire MCP server. Timeout tiers:

TierTimeoutTools
Fast2slookup_field, decode_mti
Medium5sbuild_message, validate_descriptor
Slow10sgenerate_packager
RAG15ssearch_jpos

Testing

Why we test

Payment systems have zero tolerance for wrong answers. A bad packager class name (IFA_LLVAR vs IFB_LLHEX) causes cryptic byte-level parsing errors that take hours to debug. Our tests verify that every tool returns correct, deterministic results across all input types.

Running tests
# Install dev dependencies (pytest, ruff, black, coverage)

uv sync --dev

Run all 114 tests (unit + MCP integration + E2E workflows)

uv run pytest tests/ -v

Run a single test file

uv run pytest tests/test_iso.py -v

Run a single test function

uv run pytest tests/test_iso.py::test_decode_mti_request -v

Run with coverage report (target: 80%+, current: 91%)

uv run pytest tests/ --cov=servers --cov=core --cov-report=term-missing

Lint (must pass with zero errors)

uv run ruff check .

Format

uv run black .

Test structure (114 tests, 3 layers)
FileLayerWhat it covers
test_iso.pyunitlookup_field, decode_mti — valid/invalid fields, MTI categories
test_jpos_tools.pyunitgenerate_packager (BCD/ASCII), validate_descriptor (QMUX, channel-adaptor, txnmgr, malformed XML)
test_message.pyunitbuild_message — valid messages, missing fields, length violations, PAN rejection
test_rag.pyunitQuery expansion, mock collection responses, empty collection handling
test_timeout.pyunit@with_timeout — guardrail fires, fast passes, exceptions caught
test_validators.pyunitluhn_check, contains_likely_real_pan — Luhn edge cases, separators, test PAN whitelist
test_logging.pyunitPaymentSafeFormatter redaction, stderr handler config
test_mcp_integration.pyintegrationTool registration, JSON Schema generation, end-to-end MCP protocol calls
test_e2e.pyE2E workflowMulti-step workflows: Visa auth packager build, reversal debugging, deploy descriptor validation, security boundary, RAG via MCP, system health, error handling
Writing new tests

When adding a tool, cover three categories:

  1. Happy path — valid input returns expected output
  2. Invalid input — bad types, out-of-range values, malformed data return structured errors
  3. Edge cases — boundary values, empty inputs, PCI-sensitive data

All tools are async def, so use @pytest.mark.asyncio:

@pytest.mark.asyncio

async def test_my_new_tool(): result = await my_tool("valid input") assert result["expected_key"] == "expected_value"


Knowledge Base (RAG)

The search_jpos tool uses two-stage hybrid retrieval over jPOS documentation: a bi-encoder (mpnet) for fast candidate retrieval, followed by a cross-encoder reranker for high-precision ordering.

How it works
  1. Ingestion — PDFs and markdown files are cleaned (boilerplate, TOC dot-leaders, page headers stripped) and split into 200-word chunks with 40-word overlap. Low-signal chunks are filtered out at ingest time.
  2. Embedding — Each chunk is encoded into a 768-dimensional vector using all-mpnet-base-v2 and stored in ChromaDB.
  3. Query expansion — Short or jargon-heavy queries (e.g. "STAN", "IFB_LLHEX") get domain context added before embedding so the model has enough signal to disambiguate.
  4. Stage 1 retrieval — Top 25 candidates fetched via cosine similarity.
  5. Stage 2 rerank — Cross-encoder (ms-marco-MiniLM-L-6-v2) scores each (query, chunk) pair by attending across both inputs. This is significantly more accurate than cosine alone.
  6. Display score — Combination of cross-encoder + cosine + rank-position bonus, returned as the top 5 chunks.

The cross-encoder loads lazily on first call (~1s). Falls back to keyword-overlap reranking if the model can't load (offline environments).

Setting up the knowledge base
# Download the jPOS Programmer's Guide (5.3MB PDF)

mkdir -p knowledge/sources curl -o knowledge/sources/proguide.pdf https://jpos.org/doc/proguide-draft.pdf

Run ingestion (first run downloads ~80MB mpnet + ~80MB cross-encoder)

uv run python knowledge/ingest.py

The ingest script processes:

  • PDFs from knowledge/sources/*.pdf — page-by-page chunking with cleanup
  • Markdown from docs/*.md — section-aware chunking (splits on ## headings)
  • Markdown from knowledge/sources/*.md — for any additional docs you add

Ingestion is idempotent — running it again skips existing chunks and only adds new ones.

Default knowledge base after a full ingest: ~786 chunks across the jPOS Programmer's Guide, ISO 8583-1:2003 spec, Wikipedia reference, jPOS tutorial pages, and project docs.

Adding your own documents

Drop any .pdf or .md files into knowledge/sources/ and re-run:

uv run python knowledge/ingest.py

Good candidates:

  • ISO 8583 reference guides
  • Your organization's interchange spec documentation
  • jPOS tutorial pages (save as markdown)
  • GenericPackager XML examples with annotations
Search quality

Scores are calibrated for the cross-encoder + mpnet pipeline:

ScoreQualityMeaning
0.55+StrongDirect answer in the chunk
0.40–0.55GoodRelevant context, may need synthesis
0.25–0.40PartialTangentially related
<0.25(filtered)Below noise floor — not returned

Benchmark across 25 representative queries: 0.886 average score, 100% strong results.


Docker

Build and run
# Build and start (HTTP transport)

docker compose -f docker/docker-compose.yml up -d --build

View logs

docker compose -f docker/docker-compose.yml logs -f

Re-ingest docs after adding new sources

docker compose -f docker/docker-compose.yml exec jpos-mcp uv run python knowledge/ingest.py

Check health

docker compose -f docker/docker-compose.yml exec jpos-mcp curl -sf http://localhost:8000/health

Docker architecture
  • Base image: python:3.11-slim
  • Embedding model pre-downloaded at build time (avoids 30-60s cold start)
  • Non-root user (appuser:1001) for security
  • Persistent volume for ChromaDB data (survives container restarts)
  • Healthcheck every 30s on /health
Claude Desktop with Docker
{

"mcpServers": { "jpos-expert": { "url": "http://localhost:8000/mcp" } } }


Claude Desktop Setup

macOS

Edit `~/Library/Application Support/Cla

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

PopNx에게 묻기