ncloud-mcp-server 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +50 -7
  2. package/README_EN.md +50 -7
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [English](./README_EN.md)
4
4
 
5
+ [![npm version](https://img.shields.io/npm/v/ncloud-mcp-server.svg)](https://www.npmjs.com/package/ncloud-mcp-server)
5
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
7
  [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green.svg)](https://nodejs.org/)
7
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org/)
@@ -29,18 +30,30 @@ Ncloud의 **60개 이상 서비스**, **1,000개 이상 API 도구**를 MCP 프
29
30
  | **Content Delivery** | Global Edge |
30
31
  | **Auto Scaling** | Launch Configuration, Auto Scaling Group, Scaling Policy |
31
32
 
33
+ ## 사전 요구사항
34
+
35
+ - Node.js 20 이상
36
+ - Ncloud API 인증키 ([포털에서 발급](https://www.ncloud.com/mypage/manage/authkey))
37
+
32
38
  ## 참고 사항
33
39
 
34
40
  - 이 MCP 서버는 **Ncloud 민간존(Public)** 기준으로 구현되었습니다. 금융존/공공존 환경에서는 API 엔드포인트가 다를 수 있습니다.
35
41
  - API 스펙은 [Ncloud API 공식 문서](https://api.ncloud-docs.com/docs/home)를 기반으로 작성되었습니다.
36
42
  - 한국(KR) 리전 위주로 테스트되었습니다. 다른 리전에서는 일부 API의 동작이 다를 수 있습니다.
37
43
 
38
- ## 사전 요구사항
44
+ ## 설치
39
45
 
40
- - Node.js 20 이상
41
- - Ncloud API 인증키 ([포털에서 발급](https://www.ncloud.com/mypage/manage/authkey))
46
+ ### npx (권장 — 설치 불필요)
42
47
 
43
- ## 설치
48
+ 별도 설치 없이 `npx`로 바로 실행할 수 있습니다:
49
+
50
+ ```bash
51
+ npx -y ncloud-mcp-server
52
+ ```
53
+
54
+ MCP 클라이언트 설정 방법은 아래 [MCP 클라이언트 설정](#mcp-클라이언트-설정) 섹션을 참고하세요.
55
+
56
+ ### 소스에서 빌드
44
57
 
45
58
  ```bash
46
59
  # 저장소 클론
@@ -65,10 +78,28 @@ npm run build
65
78
 
66
79
  ## MCP 클라이언트 설정
67
80
 
68
- ### Kiro / Claude Desktop / Cursor
81
+ ### npx 사용 (권장)
69
82
 
70
83
  `mcp.json` (또는 해당 클라이언트의 MCP 설정 파일)에 추가:
71
84
 
85
+ ```json
86
+ {
87
+ "mcpServers": {
88
+ "ncloud": {
89
+ "command": "npx",
90
+ "args": ["-y", "ncloud-mcp-server"],
91
+ "env": {
92
+ "NCLOUD_ACCESS_KEY": "your-access-key",
93
+ "NCLOUD_SECRET_KEY": "your-secret-key",
94
+ "NCLOUD_REGION": "KR"
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ```
100
+
101
+ ### 소스 빌드 사용
102
+
72
103
  ```json
73
104
  {
74
105
  "mcpServers": {
@@ -106,8 +137,20 @@ MCP 클라이언트에서 자연어로 Ncloud 인프라를 관리할 수 있습
106
137
  | 한국 | `KR` |
107
138
  | 일본 | `JPN` |
108
139
  | 싱가포르 | `SGN` |
109
- | 미국 서부 | `USWN` |
110
- | 독일 | `DEN` |
140
+
141
+ > **참고:** 미국 서부(`USWN`), 독일(`DEN`) 리전은 Classic 환경만 지원되어 VPC 기반인 본 MCP 서버에서는 사용이 제한됩니다.
142
+
143
+ ## 문제 해결
144
+
145
+ | 증상 | 원인 | 해결 방법 |
146
+ |------|------|-----------|
147
+ | 서버 시작 시 즉시 종료 | 환경 변수 미설정 | `NCLOUD_ACCESS_KEY`, `NCLOUD_SECRET_KEY` 환경 변수가 설정되어 있는지 확인 |
148
+ | `인증 실패` (HTTP 401) | API 인증키 오류 | [포털](https://www.ncloud.com/mypage/manage/authkey)에서 키 상태가 **활성**인지 확인. 키 값에 공백이나 줄바꿈이 포함되지 않았는지 확인 |
149
+ | `접근 거부` (HTTP 403) | 서비스 권한 부족 | 서비스 이용 신청 여부 확인. Sub Account 사용 시 해당 서비스에 대한 API 권한 부여 필요 |
150
+ | `유효하지 않은 리전입니다` | 잘못된 리전 코드 | 지원 리전(KR, JPN, SGN) 확인. `ncloud_set_region` 도구로 변경 가능 |
151
+ | `서비스 일시 불가` (HTTP 503) | API 엔드포인트 연결 불가 | 네트워크 상태 확인. 방화벽/프록시 환경에서는 `ncloud.apigw.ntruss.com` 아웃바운드 허용 필요 |
152
+ | `요청 시간 초과` (HTTP 504) | API 응답 지연 | 잠시 후 재시도. 지속 시 Ncloud 상태 페이지 확인 |
153
+ | `요청 제한 초과` (HTTP 429) | API Rate Limit 도달 | 요청 간격을 두고 재시도 |
111
154
 
112
155
  ## 프로젝트 구조
113
156
 
package/README_EN.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  [한국어](./README.md)
4
4
 
5
+ [![npm version](https://img.shields.io/npm/v/ncloud-mcp-server.svg)](https://www.npmjs.com/package/ncloud-mcp-server)
5
6
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
7
  [![Node.js](https://img.shields.io/badge/Node.js-20%2B-green.svg)](https://nodejs.org/)
7
8
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue.svg)](https://www.typescriptlang.org/)
@@ -29,18 +30,30 @@ Provides **1,000+ API tools** across **60+ Ncloud services** via MCP protocol.
29
30
  | **Content Delivery** | Global Edge |
30
31
  | **Auto Scaling** | Launch Configuration, Auto Scaling Group, Scaling Policy |
31
32
 
33
+ ## Prerequisites
34
+
35
+ - Node.js 20+
36
+ - Ncloud API credentials ([Get from portal](https://www.ncloud.com/mypage/manage/authkey))
37
+
32
38
  ## Notes
33
39
 
34
40
  - This MCP server is built for the **Ncloud Public (민간존)** environment. API endpoints may differ for Financial or Government zones.
35
41
  - API specifications are based on the [Ncloud Official API Documentation](https://api.ncloud-docs.com/docs/home).
36
42
  - Primarily tested in the Korea (KR) region. Some APIs may behave differently in other regions.
37
43
 
38
- ## Prerequisites
44
+ ## Installation
39
45
 
40
- - Node.js 20+
41
- - Ncloud API credentials ([Get from portal](https://www.ncloud.com/mypage/manage/authkey))
46
+ ### npx (Recommended — no install required)
42
47
 
43
- ## Installation
48
+ Use directly without installation:
49
+
50
+ ```bash
51
+ npx -y ncloud-mcp-server
52
+ ```
53
+
54
+ See the [MCP Client Configuration](#mcp-client-configuration) section below for setup details.
55
+
56
+ ### Build from source
44
57
 
45
58
  ```bash
46
59
  # Clone the repository
@@ -65,10 +78,28 @@ npm run build
65
78
 
66
79
  ## MCP Client Configuration
67
80
 
68
- ### Kiro / Claude Desktop / Cursor
81
+ ### Using npx (Recommended)
69
82
 
70
83
  Add to your `mcp.json` (or equivalent MCP config file):
71
84
 
85
+ ```json
86
+ {
87
+ "mcpServers": {
88
+ "ncloud": {
89
+ "command": "npx",
90
+ "args": ["-y", "ncloud-mcp-server"],
91
+ "env": {
92
+ "NCLOUD_ACCESS_KEY": "your-access-key",
93
+ "NCLOUD_SECRET_KEY": "your-secret-key",
94
+ "NCLOUD_REGION": "KR"
95
+ }
96
+ }
97
+ }
98
+ }
99
+ ```
100
+
101
+ ### Using source build
102
+
72
103
  ```json
73
104
  {
74
105
  "mcpServers": {
@@ -106,8 +137,20 @@ Manage Ncloud infrastructure using natural language through your MCP client:
106
137
  | Korea | `KR` |
107
138
  | Japan | `JPN` |
108
139
  | Singapore | `SGN` |
109
- | US West | `USWN` |
110
- | Germany | `DEN` |
140
+
141
+ > **Note:** US West (`USWN`) and Germany (`DEN`) regions only support the Classic environment and are not compatible with this VPC-based MCP server.
142
+
143
+ ## Troubleshooting
144
+
145
+ | Symptom | Cause | Solution |
146
+ |---------|-------|----------|
147
+ | Server exits immediately on start | Environment variables not set | Ensure `NCLOUD_ACCESS_KEY` and `NCLOUD_SECRET_KEY` are configured |
148
+ | `인증 실패` (HTTP 401) | Invalid API credentials | Verify key status is **active** on the [portal](https://www.ncloud.com/mypage/manage/authkey). Check for extra whitespace or newlines in key values |
149
+ | `접근 거부` (HTTP 403) | Insufficient permissions | Confirm service subscription. For Sub Accounts, grant API permissions for the target service |
150
+ | `유효하지 않은 리전입니다` | Invalid region code | Use supported regions (KR, JPN, SGN). Change via `ncloud_set_region` tool |
151
+ | `서비스 일시 불가` (HTTP 503) | Cannot reach API endpoint | Check network connectivity. Allow outbound access to `ncloud.apigw.ntruss.com` in firewall/proxy environments |
152
+ | `요청 시간 초과` (HTTP 504) | API response timeout | Retry after a moment. If persistent, check Ncloud status page |
153
+ | `요청 제한 초과` (HTTP 429) | API rate limit reached | Wait and retry with intervals between requests |
111
154
 
112
155
  ## Project Structure
113
156
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ncloud-mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "description": "MCP server for managing Naver Cloud Platform (Ncloud) infrastructure",
6
6
  "author": "sjk4425",