secondbrainos-mcp-server 1.4.0 → 1.4.1

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/build/index.js +4 -3
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -72,7 +72,8 @@ class SecondBrainOSServer {
72
72
  resources: {},
73
73
  tools: {},
74
74
  prompts: {}
75
- }
75
+ },
76
+ instructions: "SBOS provides tools for managing knowledge along with definitions for sub-agents and associated skills. For full server context, see the skills at ~/.claude/skills/secondbrainos/"
76
77
  });
77
78
  this.setupHandlers();
78
79
  this.setupErrorHandling();
@@ -671,11 +672,11 @@ class SecondBrainOSServer {
671
672
  // This method is kept for future error handling implementations
672
673
  }
673
674
  async run() {
675
+ // Write skill files before connecting so Claude Code sees them at session start
676
+ await this.writeSkillFiles().catch(err => console.error('Failed to write skill files:', err));
674
677
  const transport = new StdioServerTransport();
675
678
  await this.server.connect(transport);
676
679
  console.error("Second Brain OS MCP server running on stdio");
677
- // Write skill files in the background (non-blocking)
678
- this.writeSkillFiles().catch(err => console.error('Failed to write skill files:', err));
679
680
  }
680
681
  }
681
682
  SecondBrainOSServer.ALLOWED_EXTENSIONS = ['.txt', '.md'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "secondbrainos-mcp-server",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Second Brain OS MCP Server for Claude Desktop",
5
5
  "type": "module",
6
6
  "main": "build/index.js",