@fswap/mcp-outline 0.1.2 → 0.1.4

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.
Files changed (2) hide show
  1. package/dist/index.js +8 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -431,8 +431,13 @@ function abort() {
431
431
  p.cancel("Setup aborted.");
432
432
  process.exit(1);
433
433
  }
434
+ /** Plain stdout, no box drawing, so the snippets can be selected and copied (or piped to a file). */
434
435
  function printSnippets(missing) {
435
- for (const s of clientSnippets(missing)) p.note(s.body, s.title);
436
+ for (const s of clientSnippets(missing)) {
437
+ console.log(`\n# ${s.title}\n`);
438
+ console.log(s.body);
439
+ }
440
+ console.log();
436
441
  }
437
442
  async function runSetup(args = []) {
438
443
  if (args.includes("--reset")) {
@@ -497,8 +502,9 @@ async function runSetup(args = []) {
497
502
  if (!url) missing[ENV_URL] = "https://app.getoutline.com";
498
503
  if (!token) missing[ENV_TOKEN] = "ol_api_...";
499
504
  if (Object.keys(missing).length > 0) p.log.warn(`Still needed: ${Object.keys(missing).join(", ")}. Add them to the env block below, or run setup again.`);
500
- printSnippets(missing);
501
505
  p.outro(`Saved to ${file}`);
506
+ console.log("Add one of these to your MCP client (plain text, safe to copy). Re-print any time with: setup --print");
507
+ printSnippets(missing);
502
508
  }
503
509
  var init_setup = __esmMin((() => {
504
510
  init_config();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fswap/mcp-outline",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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": {