@floomhq/floom-mcp-sync 1.0.5 → 1.0.6
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 +5 -5
- package/dist/server.js +8 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Tiny MCP server for Floom skills. This package is part of the Floom Version 1 sy
|
|
|
6
6
|
npx -y @floomhq/floom-mcp-sync
|
|
7
7
|
```
|
|
8
8
|
|
|
9
|
-
On startup it reads `~/.floom/config.json`, fetches published, saved, and
|
|
9
|
+
On startup it reads `~/.floom/config.json`, fetches published, saved, and followed library skills, and writes missing files to the configured local skills directory. Account-backed sync requires `npx -y @floomhq/floom login`. Public and unlisted shared-link installs still work through `floom_install_skill` without an account. The background sync behavior is a Version 1 preview path.
|
|
10
10
|
|
|
11
11
|
Targets:
|
|
12
12
|
|
|
@@ -28,15 +28,15 @@ Tools:
|
|
|
28
28
|
- `floom_search_skills(query, library?, type?, limit?)` searches `/api/v1/search` and returns compact skill hits with slug, title, description, library placement, folder, and install URL.
|
|
29
29
|
- `type`: `knowledge`, `instruction`, `workflow`, or `skill`
|
|
30
30
|
- `limit`: 1-50
|
|
31
|
-
- `floom_install_skill(slug)` fetches `/s/<slug>.md` and writes it locally.
|
|
32
|
-
- `floom_publish_skill(name, content, description?, visibility?, asset_type?, installs_as?, version?)` publishes Markdown through `/api/skills
|
|
31
|
+
- `floom_install_skill(slug)` fetches `/s/<slug>.md` and writes it locally. Public and unlisted skills do not require an account.
|
|
32
|
+
- `floom_publish_skill(name, content, description?, visibility?, asset_type?, installs_as?, version?)` publishes Markdown through `/api/skills` for the signed-in Floom account.
|
|
33
33
|
- `asset_type`: `knowledge`, `instruction`, `workflow`, or `skill` (default `skill`)
|
|
34
34
|
- `installs_as`: `claude_skill`, `memory`, `rule`, `codex_instruction`, `opencode_instruction`, `cursor_rule`, or `other` (default `claude_skill`)
|
|
35
35
|
- `version`: optional label like `1.0.0` or `v1-preview`
|
|
36
36
|
|
|
37
37
|
- `floom_list_libraries()` lists public Floom libraries.
|
|
38
|
-
- `floom_subscribe_library(slug)`
|
|
39
|
-
- `floom_unsubscribe_library(slug)`
|
|
38
|
+
- `floom_subscribe_library(slug)` follows a library for the signed-in user so the library syncs locally.
|
|
39
|
+
- `floom_unsubscribe_library(slug)` unfollows that library.
|
|
40
40
|
- `floom_move_skill(slug, folder, tags?)` sets the signed-in user's local folder/tags override.
|
|
41
41
|
|
|
42
42
|
Team workspaces, share invites, and role-based library access are planned for a later Floom version.
|
package/dist/server.js
CHANGED
|
@@ -7,7 +7,7 @@ import { publishSkill } from "./tools/publish.js";
|
|
|
7
7
|
import { listLibraries, moveSkill, subscribeLibrary, unsubscribeLibrary, } from "./tools/libraries.js";
|
|
8
8
|
import { searchSkills } from "./tools/search.js";
|
|
9
9
|
import { agentTarget, skillsDir } from "./lib/paths.js";
|
|
10
|
-
const SERVER_VERSION = "1.0.
|
|
10
|
+
const SERVER_VERSION = "1.0.6";
|
|
11
11
|
const DEFAULT_INTERVAL_MS = 60_000;
|
|
12
12
|
const MIN_INTERVAL_MS = 10_000;
|
|
13
13
|
const VERSION_RE = /^[A-Za-z0-9][A-Za-z0-9._+-]{0,63}$/;
|
|
@@ -34,7 +34,9 @@ Usage
|
|
|
34
34
|
|
|
35
35
|
Behavior
|
|
36
36
|
Starts a stdio MCP server.
|
|
37
|
-
Syncs published, saved, and
|
|
37
|
+
Syncs published, saved, and followed library skills into the configured local skills directory.
|
|
38
|
+
Requires a signed-in Floom CLI account for account-backed sync.
|
|
39
|
+
Public and unlisted shared-link installs still work through floom_install_skill without an account.
|
|
38
40
|
Polls for updates while the MCP process is running.
|
|
39
41
|
|
|
40
42
|
Options
|
|
@@ -116,7 +118,7 @@ function toolList() {
|
|
|
116
118
|
},
|
|
117
119
|
{
|
|
118
120
|
name: "floom_install_skill",
|
|
119
|
-
description: "Fetch a Floom skill by slug and install it into the configured local skills directory.",
|
|
121
|
+
description: "Fetch a Floom skill by slug and install it into the configured local skills directory. Public and unlisted links do not require an account.",
|
|
120
122
|
inputSchema: {
|
|
121
123
|
type: "object",
|
|
122
124
|
properties: {
|
|
@@ -128,7 +130,7 @@ function toolList() {
|
|
|
128
130
|
},
|
|
129
131
|
{
|
|
130
132
|
name: "floom_publish_skill",
|
|
131
|
-
description: "Publish Markdown content to Floom as a skill.",
|
|
133
|
+
description: "Publish Markdown content to the signed-in Floom account as a skill. Requires CLI login/config.",
|
|
132
134
|
inputSchema: {
|
|
133
135
|
type: "object",
|
|
134
136
|
properties: {
|
|
@@ -155,7 +157,7 @@ function toolList() {
|
|
|
155
157
|
},
|
|
156
158
|
{
|
|
157
159
|
name: "floom_subscribe_library",
|
|
158
|
-
description: "
|
|
160
|
+
description: "Follow a Floom library for the signed-in user so its skills sync locally.",
|
|
159
161
|
inputSchema: {
|
|
160
162
|
type: "object",
|
|
161
163
|
properties: {
|
|
@@ -167,7 +169,7 @@ function toolList() {
|
|
|
167
169
|
},
|
|
168
170
|
{
|
|
169
171
|
name: "floom_unsubscribe_library",
|
|
170
|
-
description: "
|
|
172
|
+
description: "Unfollow a Floom library for the signed-in user.",
|
|
171
173
|
inputSchema: {
|
|
172
174
|
type: "object",
|
|
173
175
|
properties: {
|