Back to Home
portone-io icon

mcp-server

by portone-io

Overview

An MCP (Model Context Protocol) server designed for PortOne users to provide official documentation, developer center, and help center content to Large Language Models (LLMs) for accurate information and to assist with integration and user queries, including some console functionalities like channel listing, test channel addition, sub-store lookup, and payment history lookup.

Installation

Run Command
npx -y @portone/mcp-server@latest

Security Notes

The `regexSearchPortoneDocs` tool (and `calculateBm25Scores` which it uses) directly constructs `RegExp` objects from user-provided `query` input (`new RegExp(query, 'gi')`) without apparent sanitization. This makes the server vulnerable to Regular Expression Denial of Service (ReDoS) attacks, where a maliciously crafted regex pattern could consume excessive CPU resources and make the server unresponsive. While no obvious hardcoded secrets or arbitrary code execution vulnerabilities are present, the ReDoS vulnerability is critical for a publicly accessible service or one integrated with an AI agent where input might be less constrained.

Similar Servers

Stats

Interest Score41
Security Score2
Cost ClassLow
Avg Tokens300
Stars24
Forks0
Last Update2025-12-02

Tags

MCPLLM integrationPortOne APIDocumentation retrievalPayment gatewayAPI tools