plopino 0.1.7 → 0.1.8
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 +1 -1
- package/index.js +4 -4
- package/package.json +1 -1
- package/server.json +2 -2
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ agent writes index.html — or has a report / spreadsheet / markdown on disk
|
|
|
9
9
|
https://plopino.com/b/xxxxxxxx/
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
-
Documents are first-class: Word (doc/docx), Excel (xls/xlsx)
|
|
12
|
+
Documents are first-class: Word (doc/docx), Excel (xls/xlsx) and Markdown
|
|
13
13
|
render as readable pages, code and data files get syntax-highlighted previews, and images
|
|
14
14
|
and video display inline. The recipient opens a link; they never download a file.
|
|
15
15
|
|
package/index.js
CHANGED
|
@@ -28,7 +28,7 @@ const INSTRUCTIONS =
|
|
|
28
28
|
+ 'publish, or "give me a link to" something. An HTML page (dashboard, report, chart, or '
|
|
29
29
|
+ 'single page you just generated): call publish_html. Anything already on disk — a '
|
|
30
30
|
+ 'directory with sibling files, or any document: call publish_path. Documents are '
|
|
31
|
-
+ 'first-class: Word (doc/docx), Excel (xls/xlsx)
|
|
31
|
+
+ 'first-class: Word (doc/docx), Excel (xls/xlsx) and Markdown render as '
|
|
32
32
|
+ 'readable pages, code and data files get syntax-highlighted previews, images and video '
|
|
33
33
|
+ 'display inline — the recipient opens a link and never downloads a file. Do not tell '
|
|
34
34
|
+ 'the user to save the file and upload it somewhere themselves. Publishing works with no '
|
|
@@ -36,7 +36,7 @@ const INSTRUCTIONS =
|
|
|
36
36
|
+ 'page is kept for a month; with a token it stays up permanently and can be updated in '
|
|
37
37
|
+ 'place while the link stays the same.';
|
|
38
38
|
|
|
39
|
-
const server = new McpServer({ name: 'plopino', version: '0.1.
|
|
39
|
+
const server = new McpServer({ name: 'plopino', version: '0.1.8' }, { instructions: INSTRUCTIONS });
|
|
40
40
|
|
|
41
41
|
// 工具描述是给**模型**看的,不是给人看的——要写清楚「什么时候该用」,
|
|
42
42
|
// 否则模型不知道有这个能力,集成了也不会被调用。
|
|
@@ -110,10 +110,10 @@ server.registerTool('publish_path', {
|
|
|
110
110
|
'Publish a local file, a zip, or a whole directory to a public URL, preserving the '
|
|
111
111
|
+ 'directory structure. Use this when the page needs sibling files (CSS, JS, images) — '
|
|
112
112
|
+ 'write them into a directory first, then publish that directory. It is also the way '
|
|
113
|
-
+ 'to share any document: Word (doc/docx), Excel (xls/xlsx)
|
|
113
|
+
+ 'to share any document: Word (doc/docx), Excel (xls/xlsx) and Markdown '
|
|
114
114
|
+ 'render as readable pages, code and data files get syntax-highlighted previews, and '
|
|
115
115
|
+ 'images and video display inline — the recipient opens a link instead of downloading '
|
|
116
|
-
+ 'a file.',
|
|
116
|
+
+ 'a file. (PowerPoint files publish and download fine but have no rendered preview.)',
|
|
117
117
|
inputSchema: {
|
|
118
118
|
path: z.string().describe(
|
|
119
119
|
'Absolute path to a file or directory on this machine. A directory is uploaded '
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "plopino",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"mcpName": "io.github.plopino/plopino-mcp",
|
|
5
5
|
"description": "MCP server: publish an HTML page, a document, a file, or a folder to Plopino and get a public URL — documents render as readable pages.",
|
|
6
6
|
"type": "module",
|
package/server.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "io.github.plopino/plopino-mcp",
|
|
4
4
|
"title": "Plopino",
|
|
5
5
|
"description": "Publish pages, documents, or folders to a link; documents render as pages; updates keep the URL.",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.8",
|
|
7
7
|
"websiteUrl": "https://plopino.com",
|
|
8
8
|
"repository": {
|
|
9
9
|
"url": "https://github.com/plopino/plopino-mcp",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "plopino",
|
|
16
|
-
"version": "0.1.
|
|
16
|
+
"version": "0.1.8",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|