ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Mcportal

โดย yonghwan1106รุ่น 0.2.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.yonghwan1106/mcportal

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Quota-guarded MCP layer over Korean public data APIs (data.go.kr), compiled from OpenAPI specs

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • PyPIติดตั้ง uv ของ Python (มีคำสั่ง uvx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "mcportal": {
      "command": "uvx",
      "args": [
        "mcportal"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add mcportal -- uvx mcportal

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcportal": {
      "command": "uvx",
      "args": [
        "mcportal"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "mcportal": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcportal"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub yonghwan1106 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 4907 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 34% ของอีก 4907 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 4907 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Mcportal ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 4 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 16 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

MCPortal

The missing bridge between data.go.kr and the global MCP ecosystem. MCPortal normalizes Korean public-API specifications into standard OpenAPI 3.1, compiles them into MCP servers, and puts every outbound call behind a hard daily budget with backoff and caching. Fully open source, fully self-hosted.

한국어 문서: README.ko.md — this English README is the canonical document and the Korean file is a translation of it.

Accuracy disclaimer

data.go.kr publishes no "remaining quota" endpoint. MCPortal's usage ledger

therefore counts only the calls that went through MCPortal, which makes it

a best-effort estimate. Calls that the same serviceKey spends outside

MCPortal — another script, the portal console, a different tool — never reach

the ledger, so the ledger value is always a lower-bound approximation of real

consumption. The axis of trust is not that estimate but the **hard budget cap

(CALL_BUDGET)**. Even when the ledger is wrong, the hard guard physically

blocks calls beyond the daily cap, so the safety line against quota-related

account sanctions always comes from CALL_BUDGET.

The no-key boundary

Works without any API keyNeeds a data.go.kr service key
Replaying record/replay cassettesLive API calls
The full test suite (pytest), including the record-mode tests, which run on synthetic transportsLive response sampling
Standing up an MCP server from a committed spec plus its cassette (mcportal serve --replay) — from a repo checkout, or from a PyPI install pointed at one (note 1)Ad-hoc conversion of an API that has no cassette yet
Regenerating the compile demo (examples/compile_demo.py)Recording new cassettes
Regenerating and listing the preset bundles (mcportal compile / mcportal presets) — bundled in the wheel since 0.2.0 (note 1)Sampling a response schema that is still unresolved (mcportal sample)
Reading quota status (mcportal quota status)The key-dependent benchmark items K1–K3
Running the benchmark harness (the five key-free items in benchmarks/PROTOCOL.md)—

Every demo, development and CI path in MCPortal runs without a key. The record/replay layer replays cassettes that were recorded earlier, so the same response flow can be reproduced and the whole test suite can go green with no serviceKey present. Spec-to-MCP conversion has already happened at build time — the compiled artifacts are committed under specs/ — so clone the repository and even standing up an MCP server and answering tool calls needs no key: mcportal serve 15000115 --replay serves eight tools over stdio with no serviceKey anywhere in the environment.

That sentence says *clone* on purpose. Replay needs a cassette, and cassettes are recorded upstream responses that stay in the repository instead of going out in the wheel (note 1), so a bare pip install mcportal has nothing to replay until it is pointed at a checkout with --presets-root or MCPORTAL_PRESETS= . Cassettes exist for three of the four bundles — 15081808 has none in the repository either, because it was deliberately left out of sampling (see *Presets* below), so that one bundle is live-only.

What does need a key is narrow: live traffic to data.go.kr, and sampling or converting an API that has no cassette yet.

Note 1 — what the wheel carries, and what it does not.

Since 0.2.0, the published wheel carries the four preset bundles (16 bundle

files plus the two presets/ documents, measured on the built artifact), so a

plain pip install mcportal can run mcportal presets with no checkout.

Since 0.2.2 the wheel also carries the three sampled_schemas.json files

— 15000115, 15101612 and 15102108; 15081808 has none, because it was

deliberately left out of sampling. They ship because `mcportal compile

--check needs them: --check` does not diff files, it re-synthesizes

openapi.json from its source + curation + sampled layers, so without the

sampled layer an installed copy cannot reproduce the very openapi.json it

shipped. On 0.2.1 as published, compile --check from a plain install reports

3 of 4 drifted and exits 3 (measured 2026-08-15); on that version pass

--presets-root /presets. 0.2.2 restores it to 4 of 4 matched,

exit 0, from the install alone.

Those three files carry only the **field names and types inferred from the

responses** — zero response values — and that structure already ships inside

openapi.json, so nothing is exposed that the wheel did not already carry.

What the wheel still leaves out is the recorded upstream traffic itself:

`cassettes/` and `samples/` stay in the repository only, which is why

mcportal serve --replay is a checkout path. To use a different bundle set —

or to give a PyPI install the cassettes — point MCPortal at a checkout with

--presets-root or the environment variable MCPORTAL_PRESETS= .

When mcportal presets finds no bundle it prints the paths it searched.

Key-free reproduction walkthrough
# 1) Compile a spec from synthetic fixtures (zero network, zero credentials).

python examples/compile_demo.py

-> specs/demo/openapi.json + specs/demo/samples/*.json

Re-running produces byte-identical output; the determinism check is

built into the script.

2) Stand up an MCP server over stdio from a committed bundle (no key).

Needs the [mcp] extra. --replay reads presets/ /cassettes/ .json,

which exists for 15000115, 15101612 and 15102108; 15081808 has none.

mcportal serve 15000115 --replay

-> 8 tools over stdio, zero credentials. On a PyPI install add

--presets-root /presets (note 1).

#

The same thing without the CLI, against any spec plus any cassette:

python -c "from mcportal.mcp import build_server; \ build_server('specs/demo/openapi.json', mode='replay', \ cassette_path=' ')"

specs/demo/ commits the spec and the samples, not a cassette, so

must point at one you recorded yourself. That a server

really stands up and answers a tool call without a key is proven by the

last case in tests/test_mcp_wiring.py, which builds a synthetic cassette

in tmp_path. presets/ /openapi.json fits the same slot.

3) Regenerate the preset bundles from real published specs (no key).

Works from a checkout, and — since 0.2.2 started carrying the sampled

layer — from a plain pip install too (note 1). On 0.2.1 as published from

PyPI, or to point at a different bundle set, pass --presets-root

or set MCPORTAL_PRESETS= .

mcportal presets # list mcportal compile --check # byte-compare committed vs regenerated (exit 3 on drift)

4) The whole test suite (no live network, no key, no real data).

pytest -q

Install

pip install mcportal            # core runtime (single dependency: httpx)

pip install "mcportal[mcp]" # + the MCP conversion layer (fastmcp)

Dependency policy: the core runtime depends on httpx and nothing else. The spec-normalizing compiler (mcportal.compiler) uses only the standard library and httpx. fastmcp is required solely by mcportal.mcp and ships as the optional [mcp] extra — without it, import mcportal and the entire test suite still work, and calling into the MCP layer raises a Korean ImportError that explains how to install it. The [mcp] extra also declares anyio, because the sync-to-async bridge imports anyio.to_thread directly; httpx pulls anyio in transitively, but a direct import deserves a direct declaration so that pins and lockfiles constrain it.

import mcportal does not import mcportal.mcp — that is what keeps the import working without fastmcp installed. The MCP symbols are resolved lazily on first attribute access through a module __getattr__ (PEP 562), so from mcportal.mcp import build_server and mcportal.build_server refer to the same object. Either spelling is fine.

Single-key principle (no multi-key rotation)

MCPortal's data.go.kr profile does not support multi-key rotation. data.go.kr issues one key per development account and meters a daily call limit against it; cycling several keys to escape that limit risks violating the service's operating policy and inviting account sanctions. MCPortal respects the structure as it is and accepts a single key. When the limit is too low, the supported answer is data.go.kr's own path — registering a use case and applying for the operational tier — not more keys.

CLI

The CLI uses the standard library argparse only. Zero new runtime dependencies is a binding rule for this project, so even the terminal tables are laid out by hand (Hangul counted as double width, ASCII rules, safe on a Windows cp949 console).

mcportal quota status [--ledger PATH] [--budget N] [--day YYYY-MM-DD]

[--key-fp FP | --key-env VAR] [--json] mcportal compile [PRESET_ID ...] [--presets-root PATH] [--check] [--json] mcportal presets [--presets-root PATH] [--json] [--verbose] mcportal sample PRESET_ID ... --key-env VAR [--budget N] [--count N] [--ledger PATH] [--presets-root PATH] [--json] mcportal serve PRESET_ID [--replay | --key-env VAR] [--presets-root PATH] [--name TEXT]

SubcommandWhat it does
quota statusShows today's (KST) usage, budget, remainder and state per key fingerprint. The ledger is opened read-only (`mode=ro`) and never created. Budget resolution order is --budget > CALL_BUDGET > profile default, and the output states which path was taken
compileRegenerates preset bundles. Files whose content is unchanged are not rewritten. --check writes nothing and only byte-compares
presetsLists the bundles as a table; --verbose expands the curation notes
sampleLive sampling that fills in response schemas still marked unresolved, writing the inferred schema, the response bodies and a replayable cassette. It is the one subcommand that needs a key, and the key is taken only from the environment variable named by --key-env VAR, never as a literal argument
serveStands one bundle up as an MCP server over stdio. The default --replay needs no key; --key-env VAR goes live through the same quota guard. Requires the [mcp] extra. Documented against a repo checkout: --replay reads presets/ /cassettes/ .json, which the wheel does not carry (note 1), so from a PyPI install pass --presets-root /presets or set MCPORTAL_PRESETS= /presets. Three of the four bundles have a cassette — 15081808 has none in the repository either, so it serves live only. stdout is protocol-only; every human-readable line, banner included, goes to stderr

Exit codes: 0 success (including "no ledger", "no presets" and "nothing changed" — an empty state is not a failure) / 1 execution failure / 2 usage error / 3 drift found by compile --check / 130 user interrupt.

--json prints JSON alone on stdout (no human prose mixed in, so it is pipe-safe) and sends every error to stderr. A raw service key is never printed on any path — even --key-env reads the environment variable and computes the fingerprint locally. The ledger stores no raw key, so a fingerprint is the only thing the CLI ever had available to show.

Presets — three services, four datasets

presets/ holds bundles built from real published specifications on data.go.kr. Their purpose is to demonstrate, in data rather than in code, the fix for the failure mode of naive spec conversion, where every generated tool ends up described as "list query".

| ID | Service | Domain | Sour

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx