pabal-web-mcp 0.1.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.
package/README.md ADDED
@@ -0,0 +1,133 @@
1
+ # pabal-web-mcp
2
+
3
+ MCP (Model Context Protocol) server for ASO (App Store Optimization) data management with shared types and utilities.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install pabal-web-mcp
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ### Importing Types
14
+
15
+ ```typescript
16
+ import type {
17
+ // ASO Types
18
+ AsoData,
19
+ AppStoreAsoData,
20
+ GooglePlayAsoData,
21
+
22
+ // Product Types
23
+ ProductConfig,
24
+ ProductLocale,
25
+ LandingPage,
26
+ LandingHero,
27
+ LandingScreenshots,
28
+ LandingFeatures,
29
+ LandingReviews,
30
+ LandingCta,
31
+ } from "pabal-web-mcp";
32
+ ```
33
+
34
+ ### Importing Utilities
35
+
36
+ ```typescript
37
+ import {
38
+ // ASO Converter
39
+ loadAsoFromConfig,
40
+
41
+ // Locale Constants
42
+ DEFAULT_LOCALE,
43
+ UNIFIED_LOCALES,
44
+
45
+ // Locale Converters
46
+ unifiedToAppStore,
47
+ unifiedToGooglePlay,
48
+ appStoreToUnified,
49
+ googlePlayToUnified,
50
+ } from "pabal-web-mcp";
51
+ ```
52
+
53
+ ### Example: Loading ASO Data
54
+
55
+ ```typescript
56
+ import { loadAsoFromConfig } from "pabal-web-mcp";
57
+
58
+ const asoData = loadAsoFromConfig("my-app");
59
+ console.log(asoData.appStore?.name);
60
+ console.log(asoData.googlePlay?.title);
61
+ ```
62
+
63
+ ## MCP Server
64
+
65
+ This package includes an MCP server for managing ASO data through Claude or other MCP-compatible clients.
66
+
67
+ ### Available Tools
68
+
69
+ | Tool | Description |
70
+ |------|-------------|
71
+ | `aso-to-public` | Convert ASO data to public config format |
72
+ | `public-to-aso` | Convert public config to ASO data format |
73
+ | `improve-public` | Improve product locale content with AI suggestions |
74
+ | `init-project` | Initialize a new product project structure |
75
+
76
+ ### Running the MCP Server
77
+
78
+ ```bash
79
+ npx pabal-web-mcp
80
+ ```
81
+
82
+ Or add to your Claude Desktop config:
83
+
84
+ ```json
85
+ {
86
+ "mcpServers": {
87
+ "pabal-web-mcp": {
88
+ "command": "npx",
89
+ "args": ["pabal-web-mcp"]
90
+ }
91
+ }
92
+ }
93
+ ```
94
+
95
+ ## Types Reference
96
+
97
+ ### ASO Types
98
+
99
+ - `AsoData` - Combined ASO data for both stores
100
+ - `AppStoreAsoData` - App Store specific ASO data
101
+ - `GooglePlayAsoData` - Google Play specific ASO data
102
+ - `AppStoreMultilingualAsoData` - Multilingual App Store data
103
+ - `GooglePlayMultilingualAsoData` - Multilingual Google Play data
104
+
105
+ ### Product Types
106
+
107
+ - `ProductConfig` - Product configuration
108
+ - `ProductLocale` - Localized product content
109
+ - `LandingPage` - Landing page structure
110
+ - `AppPageData` - Complete app page data
111
+
112
+ ### Locale Types
113
+
114
+ - `UnifiedLocale` - Unified locale code (e.g., "en-US", "ko-KR")
115
+
116
+ ## Supported Locales
117
+
118
+ | Unified | App Store | Google Play |
119
+ |---------|-----------|-------------|
120
+ | en-US | en-US | en-US |
121
+ | ko-KR | ko | ko-KR |
122
+ | ja-JP | ja | ja-JP |
123
+ | zh-CN | zh-Hans | zh-CN |
124
+ | zh-TW | zh-Hant | zh-TW |
125
+ | de-DE | de-DE | de-DE |
126
+ | fr-FR | fr-FR | fr-FR |
127
+ | es-ES | es-ES | es-ES |
128
+ | pt-BR | pt-BR | pt-BR |
129
+ | ... | ... | ... |
130
+
131
+ ## License
132
+
133
+ MIT
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node