mcp-ramp-server 1.0.0

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 +103 -0
  2. package/bin/ramp-mcp.js +31 -0
  3. package/package.json +36 -0
package/README.md ADDED
@@ -0,0 +1,103 @@
1
+ # @nexus-ai/mcp-ramp
2
+
3
+ Cross-Ramp SDK MCP Server - 게임자산 블록체인 토큰 변환 API 문서 검색
4
+
5
+ ## 설치
6
+
7
+ ```bash
8
+ npm install -g @nexus-ai/mcp-ramp
9
+ ```
10
+
11
+ ## Cursor IDE 설정
12
+
13
+ `~/.cursor/mcp.json` 파일에 추가:
14
+
15
+ ```json
16
+ {
17
+ "mcpServers": {
18
+ "ramp": {
19
+ "command": "npx",
20
+ "args": ["-y", "@nexus-ai/mcp-ramp"]
21
+ }
22
+ }
23
+ }
24
+ ```
25
+
26
+ 또는 글로벌 설치 후:
27
+
28
+ ```json
29
+ {
30
+ "mcpServers": {
31
+ "ramp": {
32
+ "command": "mcp-ramp"
33
+ }
34
+ }
35
+ }
36
+ ```
37
+
38
+ ## Claude Desktop 설정
39
+
40
+ `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) 또는
41
+ `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
42
+
43
+ ```json
44
+ {
45
+ "mcpServers": {
46
+ "ramp": {
47
+ "command": "npx",
48
+ "args": ["-y", "@nexus-ai/mcp-ramp"]
49
+ }
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## 사용 가능한 도구
55
+
56
+ ### Search_Ramp_Docs
57
+
58
+ Cross-Ramp SDK 문서 검색 도구.
59
+
60
+ **사용 예시:**
61
+
62
+ | 쿼리 | 설명 |
63
+ |------|------|
64
+ | `search Unity WebView` | Unity WebView 관련 코드 검색 |
65
+ | `guide web setup` | Web 플랫폼 초기 설정 가이드 |
66
+ | `guide unity auth` | Unity 인증 토큰 가이드 |
67
+ | `debug cors web` | CORS 에러 디버깅 |
68
+ | `concept mint` | Mint 개념 설명 |
69
+ | `concept burn` | Burn 개념 설명 |
70
+ | `quickstart unity typescript` | Unity TypeScript Quick Start |
71
+ | `sample typescript auth` | TypeScript 인증 샘플 코드 |
72
+ | `apiref webhook` | Webhook API 스펙 |
73
+ | `console-search token` | Console API에서 토큰 관련 검색 |
74
+
75
+ ## 핵심 개념
76
+
77
+ | 개념 | 설명 |
78
+ |------|------|
79
+ | **Mint** | 게임자산 → 블록체인 토큰 변환 |
80
+ | **Burn** | 블록체인 토큰 → 게임자산 변환 |
81
+ | **Catalog** | Cross-Ramp 교환 UI |
82
+
83
+ ## 지원 플랫폼
84
+
85
+ - **Web**: Next.js, React
86
+ - **Unity**: Unity WebView
87
+ - **Backend**: Go, C#, Node.js
88
+
89
+ ## 환경 URL
90
+
91
+ | 환경 | URL | Network |
92
+ |------|-----|---------|
93
+ | 테스트 | stg-ramp.crosstoken.io | testnet |
94
+ | 운영 | ramp.crosstoken.io | mainnet |
95
+
96
+ ## 참고 자료
97
+
98
+ - [cross-ramp-demos](https://github.com/to-nexus/cross-ramp-demos) - Web/Unity 데모
99
+ - [cross-ramp-integration-sample](https://github.com/to-nexus/cross-ramp-integration-sample) - Backend 샘플
100
+
101
+ ## 라이선스
102
+
103
+ MIT
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { spawn } = require('child_process');
4
+ const path = require('path');
5
+
6
+ const SSE_ENDPOINT = 'https://tonexus.app.n8n.cloud/mcp/ramp/sse';
7
+
8
+ // supergateway를 사용하여 SSE → stdio 변환
9
+ const child = spawn('npx', ['-y', 'supergateway', '--sse', SSE_ENDPOINT], {
10
+ stdio: 'inherit',
11
+ shell: process.platform === 'win32'
12
+ });
13
+
14
+ child.on('error', (err) => {
15
+ console.error('[ramp-mcp] Failed to start MCP server:', err.message);
16
+ console.error('[ramp-mcp] Make sure you have Node.js 18+ and npx available.');
17
+ process.exit(1);
18
+ });
19
+
20
+ child.on('close', (code) => {
21
+ process.exit(code || 0);
22
+ });
23
+
24
+ // Handle termination signals
25
+ process.on('SIGINT', () => {
26
+ child.kill('SIGINT');
27
+ });
28
+
29
+ process.on('SIGTERM', () => {
30
+ child.kill('SIGTERM');
31
+ });
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "mcp-ramp-server",
3
+ "version": "1.0.0",
4
+ "description": "Cross-Ramp SDK MCP Server - Mint/Burn 게임자산 블록체인 토큰 변환 API 문서 검색",
5
+ "author": "Nexus AI",
6
+ "license": "MIT",
7
+ "keywords": [
8
+ "mcp",
9
+ "model-context-protocol",
10
+ "cross-ramp",
11
+ "blockchain",
12
+ "gaming",
13
+ "nft",
14
+ "mint",
15
+ "burn",
16
+ "nexus-ai"
17
+ ],
18
+ "bin": {
19
+ "mcp-ramp": "./bin/ramp-mcp.js"
20
+ },
21
+ "files": [
22
+ "bin",
23
+ "README.md"
24
+ ],
25
+ "engines": {
26
+ "node": ">=18.0.0"
27
+ },
28
+ "repository": {
29
+ "type": "git",
30
+ "url": "https://github.com/nexus-ai/mcp-ramp"
31
+ },
32
+ "homepage": "https://github.com/nexus-ai/mcp-ramp#readme",
33
+ "bugs": {
34
+ "url": "https://github.com/nexus-ai/mcp-ramp/issues"
35
+ }
36
+ }