@rynko/mcp-server 1.0.8 → 1.0.10

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-2026 Rynko
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -94,6 +94,13 @@ Close and reopen Claude Desktop. You should see "rynko" in your available MCP se
94
94
  | `parse_data_file` | Parse Excel or CSV data to JSON |
95
95
  | `map_variables` | Auto-map data columns to template variables |
96
96
 
97
+ ### Asset Tools
98
+
99
+ | Tool | Description |
100
+ |------|-------------|
101
+ | `list_assets` | List image assets in your library |
102
+ | `upload_asset` | Upload an image (base64 or URL) to your asset library |
103
+
97
104
  ### Generation Tools
98
105
 
99
106
  | Tool | Description |
@@ -119,25 +126,91 @@ Close and reopen Claude Desktop. You should see "rynko" in your available MCP se
119
126
 
120
127
  ## Example Usage
121
128
 
122
- Once configured, you can have natural conversations with Claude:
123
-
124
- > **You:** Create an invoice template with company logo, client details, and line items table.
125
- >
126
- > **Claude:** I'll create that for you. Let me check your workspaces first...
127
- >
128
- > *[Creates template using Rynko tools]*
129
-
130
- > **You:** Generate an invoice for Acme Corp with 3 line items totaling $1,500.
131
- >
132
- > **Claude:** I'll generate that invoice now...
133
- >
134
- > *[Generates PDF using your template]*
135
-
136
- > **You:** Generate a professional invoice without watermark for my client presentation.
137
- >
138
- > **Claude:** I'll generate a watermark-free invoice using your premium credits...
139
- >
140
- > *[Generates PDF with use_credits: true]*
129
+ Once configured, you can have natural conversations with Claude. Here are detailed examples of how to use each tool:
130
+
131
+ ### Example 1: List Templates and Generate a Document
132
+
133
+ **User Prompt:**
134
+ > "Show me all the templates in my workspace and generate an invoice for Acme Corp"
135
+
136
+ **Expected Behavior:**
137
+ 1. Claude calls `list_workspaces` to find your workspaces
138
+ 2. Claude calls `list_templates` with your workspace ID
139
+ 3. Claude displays available templates
140
+ 4. Claude calls `get_template` to get the invoice template's variable schema
141
+ 5. Claude calls `generate_document` with the template ID and variables:
142
+ ```json
143
+ {
144
+ "workspace_id": "ws_xxx",
145
+ "template_id": "invoice-template",
146
+ "variables": {
147
+ "customerName": "Acme Corp",
148
+ "invoiceNumber": "INV-2024-001",
149
+ "items": [{"name": "Consulting", "quantity": 10, "price": 150}],
150
+ "total": 1500
151
+ },
152
+ "format": "pdf"
153
+ }
154
+ ```
155
+ 6. Claude returns the download URL for the generated PDF
156
+
157
+ ### Example 2: Preview Before Generating (Free)
158
+
159
+ **User Prompt:**
160
+ > "I want to test my new report template before using credits. Preview it with sample data."
161
+
162
+ **Expected Behavior:**
163
+ 1. Claude calls `list_templates` to find the report template
164
+ 2. Claude calls `get_template` to understand required variables
165
+ 3. Claude calls `preview_template` with sample data:
166
+ ```json
167
+ {
168
+ "workspace_id": "ws_xxx",
169
+ "template_id": "monthly-report",
170
+ "variables": {
171
+ "reportTitle": "Q4 Sales Report",
172
+ "reportDate": "2024-12-31",
173
+ "metrics": [{"name": "Revenue", "value": "$125,000"}]
174
+ },
175
+ "format": "pdf",
176
+ "version": "draft"
177
+ }
178
+ ```
179
+ 4. Claude provides a preview URL (valid for 5 minutes, no credits used)
180
+ 5. User reviews the preview and confirms it looks correct
181
+
182
+ ### Example 3: Create a New Template from Scratch
183
+
184
+ **User Prompt:**
185
+ > "Create a professional certificate template with recipient name, course title, completion date, and a signature line"
186
+
187
+ **Expected Behavior:**
188
+ 1. Claude calls `get_schema_reference` to understand the template schema format
189
+ 2. Claude calls `list_workspaces` to find where to create the template
190
+ 3. Claude calls `create_draft_template` with the full schema:
191
+ ```json
192
+ {
193
+ "workspace_id": "ws_xxx",
194
+ "name": "Course Certificate",
195
+ "description": "Professional certificate for course completion",
196
+ "format": "pdf",
197
+ "schema": {
198
+ "pages": [{
199
+ "id": "page-1",
200
+ "components": [
201
+ {"id": "title", "type": "heading", "props": {"level": 1, "text": "Certificate of Completion"}},
202
+ {"id": "recipient", "type": "rich-text", "props": {}, "content": "This certifies that <strong>{{recipientName}}</strong>..."}
203
+ ]
204
+ }]
205
+ },
206
+ "variables": [
207
+ {"name": "recipientName", "type": "string", "label": "Recipient Name"},
208
+ {"name": "courseTitle", "type": "string", "label": "Course Title"},
209
+ {"name": "completionDate", "type": "date", "label": "Completion Date"}
210
+ ]
211
+ }
212
+ ```
213
+ 4. Claude confirms the draft was created and provides a link to the visual designer for final adjustments
141
214
 
142
215
  ## Environment Variables
143
216
 
@@ -225,6 +298,28 @@ To submit to the Claude Desktop Extensions directory:
225
298
  - 3+ usage examples
226
299
  - Safety annotations (data access, network access)
227
300
 
301
+ ## Privacy Policy
302
+
303
+ This extension connects to Rynko's API to manage templates and generate documents. By using this extension, you agree to Rynko's Privacy Policy.
304
+
305
+ **Data Collection & Usage:**
306
+ - **Authentication**: Your Personal Access Token is stored securely using the operating system's credential manager (Keychain on macOS, Credential Manager on Windows)
307
+ - **Template Data**: Template schemas and variables are transmitted to Rynko's servers for document generation
308
+ - **Document Variables**: Data you provide for document generation is processed on Rynko's servers to render documents
309
+ - **Generated Documents**: Documents are stored temporarily (configurable retention period) and accessible via secure, time-limited URLs
310
+
311
+ **Data Sharing:**
312
+ - We do not sell or share your data with third parties
313
+ - Data is processed solely for the purpose of generating your documents
314
+
315
+ **Data Retention:**
316
+ - Generated documents are retained based on your subscription tier's retention policy
317
+ - You can delete documents at any time from your Rynko dashboard
318
+
319
+ **Full Privacy Policy:** [https://www.rynko.dev/privacy](https://www.rynko.dev/privacy)
320
+
321
+ **Contact:** For privacy-related inquiries, contact privacy@rynko.dev
322
+
228
323
  ## License
229
324
 
230
325
  MIT
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ const client = new RynkoClient(RYNKO_USER_TOKEN, RYNKO_API_URL);
52
52
  // Create MCP server
53
53
  const server = new Server({
54
54
  name: 'rynko-mcp',
55
- version: '1.0.8',
55
+ version: '1.0.9',
56
56
  }, {
57
57
  capabilities: {
58
58
  tools: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rynko/mcp-server",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "type": "module",
5
5
  "description": "Rynko MCP server for Claude Desktop - manage templates and generate documents through natural conversation",
6
6
  "main": "dist/index.js",