@fazer-ai/mcp-obsidian 1.0.6 → 1.0.8
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/dist/{stdio.js → index.js} +3 -3
- package/package.json +4 -10
- package/dist/sse.js +0 -30446
|
@@ -4333,7 +4333,7 @@ function registerTools(server) {
|
|
|
4333
4333
|
content: [{ type: "text", text: "OK" }]
|
|
4334
4334
|
};
|
|
4335
4335
|
});
|
|
4336
|
-
server.tool("open_file", "Opens a file, optionally in a new leaf.", { filename: z.string(), newLeaf: z.boolean()
|
|
4336
|
+
server.tool("open_file", "Opens a file, optionally in a new leaf.", { filename: z.string(), newLeaf: z.boolean() }, async (args) => {
|
|
4337
4337
|
await obsidian.openFile(args);
|
|
4338
4338
|
return {
|
|
4339
4339
|
content: [{ type: "text", text: "OK" }]
|
|
@@ -7169,9 +7169,9 @@ class StdioServerTransport {
|
|
|
7169
7169
|
|
|
7170
7170
|
// package.json
|
|
7171
7171
|
var name = "@fazer-ai/mcp-obsidian";
|
|
7172
|
-
var version = "1.0.
|
|
7172
|
+
var version = "1.0.8";
|
|
7173
7173
|
|
|
7174
|
-
// src/
|
|
7174
|
+
// src/index.ts
|
|
7175
7175
|
var server = new McpServer({ name, version });
|
|
7176
7176
|
registerTools(server);
|
|
7177
7177
|
async function main() {
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fazer-ai/mcp-obsidian",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"module": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"bin": "dist/index.js",
|
|
6
7
|
"type": "module",
|
|
7
8
|
"files": [
|
|
8
9
|
"dist"
|
|
9
10
|
],
|
|
10
|
-
"bin": {
|
|
11
|
-
"@fazer-ai/mcp-obsidian": "dist/stdio.js",
|
|
12
|
-
"@fazer-ai/mcp-obsidian-stdio": "dist/stdio.js",
|
|
13
|
-
"@fazer-ai/mcp-obsidian-sse": "dist/sse.js"
|
|
14
|
-
},
|
|
15
11
|
"license": "MIT",
|
|
16
12
|
"repository": {
|
|
17
13
|
"type": "git",
|
|
@@ -22,7 +18,7 @@
|
|
|
22
18
|
},
|
|
23
19
|
"scripts": {
|
|
24
20
|
"dev": "bun run --watch src/index.ts",
|
|
25
|
-
"build": "bun build src/
|
|
21
|
+
"build": "bun build src/index.ts --target node --outdir=dist",
|
|
26
22
|
"lint": "bun biome check",
|
|
27
23
|
"format": "bun biome check --write",
|
|
28
24
|
"prepublishOnly": "bun run build"
|
|
@@ -36,8 +32,6 @@
|
|
|
36
32
|
"typescript": "^5"
|
|
37
33
|
},
|
|
38
34
|
"dependencies": {
|
|
39
|
-
"@modelcontextprotocol/sdk": "^1.10.2"
|
|
40
|
-
"express": "^5.1.0",
|
|
41
|
-
"log-timestamp": "^0.3.0"
|
|
35
|
+
"@modelcontextprotocol/sdk": "^1.10.2"
|
|
42
36
|
}
|
|
43
37
|
}
|