PortOne MCP Server
OfficialThis server integrates with PortOne (포트원), a Korean payment platform, to provide LLM-powered access to documentation, OpenAPI schemas, code examples, and console management features.
Documentation
List, read, and regex-search PortOne docs (developer center, help center)
Retrieve metadata and web URLs for documents
OpenAPI Schema
Access specific paths or get a full summary of the V1/V2 REST API schema (YAML format)
Code Examples
Backend examples by framework (Express, FastAPI, Flask, Spring-Kotlin)
Frontend examples by framework (HTML, React)
Filterable by PG provider and payment method
Store & Channel Management
List main and sub-stores linked to a PortOne account
View shared test channels (filterable by PG provider)
Get channels configured for a specific store
Add shared test channels to the main store
Payment History
Search payment records with filters for date range, PG provider, payment method, status, currency, and more
Reconciliation & Settlement
Query transaction reconciliation records with statuses (matched, mismatched, incomparable, uncollected) and mismatch reasons
View daily settlement summaries (amounts, fees, cancellations, post-corrections) per store/PG
View aggregated and daily settlement statistics by currency
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@PortOne MCP Servershow me my recent payment history"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
PortOne MCP Server
포트원 사용자를 위한 MCP (Model Context Protocol) 서버입니다. 포트원 개발자센터, 헬프센터 등 공식 문서 내용을 LLM(Large Language Model)에 제공해 정확한 정보를 바탕으로 사용자의 연동 및 질의를 돕도록 합니다.
이외에도 포트원 콘솔에서 제공하는 기능 중 일부를 수행할 수 있습니다.
채널 목록 조회
테스트 채널 추가
하위 상점 조회
결제 내역 조회
거래대사 건별 내역 조회 (정산/거래 대사, 불일치 상세 포함)
거래대사 정산 요약 조회
거래대사 정산 통계 조회
콘솔 기능 사용 시 브라우저를 통해 콘솔 로그인이 필요합니다.
DXT를 이용한 설치
DXT (Desktop Extensions)를 이용해 MCP 서버를 원클릭으로 설치할 수 있습니다.
GitHub Releases에서 최신
portone-mcp-server.dxt파일을 다운로드합니다.지원하는 AI 도구(Claude Desktop 등)에서 다운로드한
.dxt파일을 드래그 앤 드롭하거나 열기를 통해 설치합니다.설치 후 도구를 재시작하여 MCP 서버가 정상적으로 등록되었는지 확인합니다.
Claude Desktop에서 DXT 파일 사용 시 주의사항
현재 알려진 이슈로 인해 Claude Desktop에서 DXT 설치 후 MCP 서버가 정상적으로 작동하지 않을 수 있습니다.
이 경우 Node.js 22.6.0 이상을 설치하고 Claude Desktop 설정에서 "MCP용 내장 Node.js 사용" 옵션을 비활성화한 후 재시작하면 정상적으로 작동합니다.
Related MCP server: NicePay MCP Server
MCP 서버 등록하기
Node.js 22.6.0 이상이 설치되어 있어야 합니다.
사용하는 AI 도구의 MCP 설정에서 아래 내용을 추가합니다. (Cursor, Windsurf, Claude Desktop, etc...)
"mcpServers": { // 기존 설정 "portone-mcp-server": { "command": "npx", "args": [ "-y", "@portone/mcp-server@latest" ] } }도구를 재시작해 portone-mcp-server 및 해당 서버가 제공하는 도구들이 잘 등록되었는지 확인합니다.
제3자 AI 서비스를 사용할 경우, API 응답(조회된 데이터 등)이 AI 서비스 측으로 전달되어 저장되거나 해당 서비스의 정책에 따라 모델 학습에 사용될 수 있습니다.
MCP 서버는 API 응답에 포함된 개인정보가 외부로 전달되지 않도록, 우선적으로 해당 정보를 식별 및 제거하는 보호 조치를 마련하고 있습니다. 다만, 그 외의 정보는 AI 서비스의 운영 정책에 따라 일시적으로 저장되거나 처리될 수 있는 점을 유의해야 합니다.
서버 환경에서 사용하기 (액세스 토큰 주입)
브라우저 로그인이 불가능한 서버 환경에서는 PORTONE_ACCESS_TOKEN 환경 변수로
외부에서 발급한 콘솔 OAuth 액세스 토큰을 주입할 수 있습니다. 이 변수가 설정되면
브라우저를 통한 대화형 OAuth 로그인 플로우(로컬 콜백 서버, PKCE)를 건너뛰고,
주입된 토큰을 그대로 콘솔 기능 호출의 Authorization 헤더로 사용합니다.
"mcpServers": {
"portone-mcp-server": {
"command": "npx",
"args": ["-y", "@portone/mcp-server@latest"],
"env": {
"PORTONE_ACCESS_TOKEN": "<콘솔에서 발급한 액세스 토큰>"
}
}
}PORTONE_ACCESS_TOKEN: 콘솔 OAuth 액세스 토큰(필수). 설정 시 정적 토큰 모드로 동작합니다.PORTONE_TOKEN_TYPE: 토큰 타입(선택, 기본값Bearer).
정적 토큰 모드에서는 리프레시 토큰이 없으므로 토큰의 발급/갱신/만료 관리는 호출 측(서버)의 책임입니다. 만료된 토큰을 주입하면 콘솔 기능 호출이 실패합니다.
토큰은 프로세스별로 격리됩니다. 여러 사용자를 처리하는 서버라면 사용자마다 별도의 프로세스에 해당 사용자의 토큰을 주입해, 토큰이 공유되지 않도록 하세요.
PORTONE_ACCESS_TOKEN이 없으면 기존과 동일하게 브라우저 로그인 플로우로 동작합니다.
개발하기
요구사항
Node.js 22.6.0 이상
pnpm (권장) 또는 npm
저장소를 클론한 후 필요한 패키지 설치하기
pnpm installMCP 서버 실행 (개발 모드)
pnpm dev코드 린팅 및 포맷팅
pnpm lint pnpm format타입 체크
pnpm typecheck빌드 및 퍼블리싱
# 먼저 package.json의 version을 변경합니다. rm -rf dist pnpm install pnpm build pnpm publish로컬 환경의 MCP 서버 등록하기
"mcpServers": { "portone-mcp-server": { "command": "node", "args": [ "/your/absolute/path/to/portone-mcp-server/dist/index.js" ] } }문서 업데이트하기
요구사항:
로컬에 developers.portone.io, help.portone.io 저장소가 클론되어 있어야 합니다.
nvm (Node Version Manager) 및 노드 20, 23 버전이 설치되어 있어야 합니다.
corepack이 설치되어 있어야 합니다.
developers.portone.io 저장소에서 생성된 문서를 MCP 서버에 업데이트하려면 다음과 같이 실행합니다:
# 환경 변수를 사용하는 방법 export DEVELOPERS_PORTONE_IO_PATH="/path/to/developers.portone.io" export HELP_PORTONE_IO_PATH="/path/to/help.portone.io" pnpm update-docs # 또는 대화형으로 실행 pnpm update-docs # 프롬프트가 표시되면 developers.portone.io, help.portone.io 저장소 경로 입력이 스크립트는 다음을 수행합니다:
developers.portone.io, help.portone.io 저장소에서
pnpm docs-for-llms명령을 실행 (로컬에 설정된 브랜치 기준으로 문서 생성)MCP 서버의 docs 디렉토리를 새로 생성된 내용으로 교체
개발자센터, 헬프센터 외 일부 문서 다운로드 및 교체
Python 버전에서 마이그레이션
기존에 Python 버전(<0.13.0)의 MCP 서버를 사용하고 계셨다면 TypeScript 버전으로 마이그레이션하는 것을 권장합니다.
마이그레이션 방법
MCP 설정 변경
기존 파이썬 버전 설정:
"mcpServers": { "portone-mcp-server": { "command": "uvx", "args": ["portone-mcp-server@latest"] } }새로운 TypeScript 버전 설정:
"mcpServers": { "portone-mcp-server": { "command": "npx", "args": ["-y", "@portone/mcp-server@latest"] } }환경 변수 및 API 시크릿 설정은 동일하게 유지됩니다.
Node.js 설치: Node.js 22.6.0 이상이 필요합니다.
AI 도구 재시작: 설정 변경 후 사용 중인 AI 도구를 재시작합니다.
라이선스
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/portone-io/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server