@fazer-ai/mcp-obsidian 1.0.11 → 1.0.12

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 +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7169,21 +7169,19 @@ class StdioServerTransport {
7169
7169
 
7170
7170
  // package.json
7171
7171
  var name = "@fazer-ai/mcp-obsidian";
7172
- var version = "1.0.11";
7172
+ var version = "1.0.12";
7173
7173
 
7174
7174
  // src/index.ts
7175
7175
  var server = new McpServer({ name, version }, {
7176
- instructions: "This is a MCP server for Obsidian. It is a simple server that can be used to run commands and get responses from the client running Local REST API community plugin.",
7177
- capabilities: {
7178
- resources: {},
7179
- prompts: {},
7180
- tools: {}
7181
- }
7176
+ instructions: "This is a MCP server for Obsidian. It is a simple server that can be used to run commands and get responses from the client running Local REST API community plugin."
7182
7177
  });
7183
7178
  registerTools(server);
7184
7179
  async function main() {
7185
7180
  const transport = new StdioServerTransport;
7186
7181
  await server.connect(transport);
7182
+ transport.onerror = (error) => {
7183
+ console.error("Transport error:", error);
7184
+ };
7187
7185
  console.error(`Running ${name}@${version} MCP Server on stdio`);
7188
7186
  }
7189
7187
  main().catch((error) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fazer-ai/mcp-obsidian",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "module": "src/index.ts",
5
5
  "main": "dist/index.js",
6
6
  "bin": "dist/index.js",