@fswap/mcp-outline 0.1.0 → 0.1.2
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 +7 -7
- package/dist/index.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Runs locally over stdio. No install step — clients launch it with `npx`.
|
|
|
10
10
|
2. Run the interactive setup once:
|
|
11
11
|
|
|
12
12
|
```bash
|
|
13
|
-
npx -y @fswap/mcp-outline setup
|
|
13
|
+
npx -y @fswap/mcp-outline@latest setup
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
It asks for your Outline URL and token, verifies them against `auth.info`, and stores them in your OS config directory (mode `0600`).
|
|
@@ -24,7 +24,7 @@ Runs locally over stdio. No install step — clients launch it with `npx`.
|
|
|
24
24
|
"mcpServers": {
|
|
25
25
|
"outline": {
|
|
26
26
|
"command": "npx",
|
|
27
|
-
"args": ["-y", "@fswap/mcp-outline"]
|
|
27
|
+
"args": ["-y", "@fswap/mcp-outline@latest"]
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -35,13 +35,13 @@ Runs locally over stdio. No install step — clients launch it with `npx`.
|
|
|
35
35
|
```toml
|
|
36
36
|
[mcp_servers.outline]
|
|
37
37
|
command = "npx"
|
|
38
|
-
args = ["-y", "@fswap/mcp-outline"]
|
|
38
|
+
args = ["-y", "@fswap/mcp-outline@latest"]
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
**Claude Code**:
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
claude mcp add outline -- npx -y @fswap/mcp-outline
|
|
44
|
+
claude mcp add outline -- npx -y @fswap/mcp-outline@latest
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### Without `setup` (environment variables)
|
|
@@ -53,7 +53,7 @@ Environment variables take precedence over the config file, so you can skip `set
|
|
|
53
53
|
"mcpServers": {
|
|
54
54
|
"outline": {
|
|
55
55
|
"command": "npx",
|
|
56
|
-
"args": ["-y", "@fswap/mcp-outline"],
|
|
56
|
+
"args": ["-y", "@fswap/mcp-outline@latest"],
|
|
57
57
|
"env": {
|
|
58
58
|
"OUTLINE_URL": "https://app.getoutline.com",
|
|
59
59
|
"OUTLINE_API_TOKEN": "ol_api_..."
|
|
@@ -68,7 +68,7 @@ Codex equivalent:
|
|
|
68
68
|
```toml
|
|
69
69
|
[mcp_servers.outline]
|
|
70
70
|
command = "npx"
|
|
71
|
-
args = ["-y", "@fswap/mcp-outline"]
|
|
71
|
+
args = ["-y", "@fswap/mcp-outline@latest"]
|
|
72
72
|
[mcp_servers.outline.env]
|
|
73
73
|
OUTLINE_URL = "https://app.getoutline.com"
|
|
74
74
|
OUTLINE_API_TOKEN = "ol_api_..."
|
|
@@ -117,7 +117,7 @@ Never write to stdout from server code — it is the protocol channel. Use `cons
|
|
|
117
117
|
## Reset
|
|
118
118
|
|
|
119
119
|
```bash
|
|
120
|
-
npx -y @fswap/mcp-outline setup --reset
|
|
120
|
+
npx -y @fswap/mcp-outline@latest setup --reset
|
|
121
121
|
```
|
|
122
122
|
|
|
123
123
|
## License
|
package/dist/index.js
CHANGED
|
@@ -377,7 +377,7 @@ function registerDocumentTools(server, outline, { allowDelete = false } = {}) {
|
|
|
377
377
|
function jsonSnippet(missing) {
|
|
378
378
|
const server = {
|
|
379
379
|
command: "npx",
|
|
380
|
-
args: ["-y", PACKAGE_NAME]
|
|
380
|
+
args: ["-y", `${PACKAGE_NAME}@latest`]
|
|
381
381
|
};
|
|
382
382
|
if (Object.keys(missing).length > 0) server.env = missing;
|
|
383
383
|
return JSON.stringify({ mcpServers: { [SERVER_KEY]: server } }, null, 2);
|
|
@@ -386,7 +386,7 @@ function tomlSnippet(missing) {
|
|
|
386
386
|
const lines = [
|
|
387
387
|
`[mcp_servers.${SERVER_KEY}]`,
|
|
388
388
|
"command = \"npx\"",
|
|
389
|
-
`args = ["-y", "${PACKAGE_NAME}"]`
|
|
389
|
+
`args = ["-y", "${PACKAGE_NAME}@latest"]`
|
|
390
390
|
];
|
|
391
391
|
if (Object.keys(missing).length > 0) {
|
|
392
392
|
lines.push(`[mcp_servers.${SERVER_KEY}.env]`);
|
|
@@ -396,7 +396,7 @@ function tomlSnippet(missing) {
|
|
|
396
396
|
}
|
|
397
397
|
function claudeCodeSnippet(missing) {
|
|
398
398
|
const env = Object.entries(missing).map(([k, v]) => `-e ${k}=${v} `).join("");
|
|
399
|
-
return `claude mcp add ${SERVER_KEY} ${env}-- npx -y ${PACKAGE_NAME}`;
|
|
399
|
+
return `claude mcp add ${SERVER_KEY} ${env}-- npx -y ${PACKAGE_NAME}@latest`;
|
|
400
400
|
}
|
|
401
401
|
function clientSnippets(missing = {}) {
|
|
402
402
|
return [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fswap/mcp-outline",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "MCP server for Outline (getoutline.com) — search, read, create and update wiki documents from Claude",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
12
|
"engines": {
|
|
13
|
-
"node": ">=
|
|
13
|
+
"node": ">=20.12.0"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "tsdown",
|