@fazer-ai/mcp-obsidian 1.1.0 → 1.1.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.
- package/README.md +1 -2
- package/dist/index.js +2 -9
- package/package.json +10 -3
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# MCP server for Obsidian (TypeScript + Bun)
|
|
2
2
|
|
|
3
|
-

|
|
3
|
+
[](https://www.npmjs.com/package/@fazer-ai/mcp-obsidian)
|
|
4
4
|
|
|
5
5
|
> A Model-Context-Protocol (MCP) server that lets Claude (or any MCP-compatible LLM) interact with your Obsidian vault through the [**Local REST API**](https://github.com/coddingtonbear/obsidian-local-rest-api) community plugin – written in **TypeScript** and runnable with **bunx**.
|
|
6
6
|
|
|
@@ -91,7 +91,6 @@ There are two ways to pass the Obsidian API key to the server:
|
|
|
91
91
|
You can use the `.env.example` file as reference to create your own `.env` file.
|
|
92
92
|
|
|
93
93
|
```bash
|
|
94
|
-
PORT=3045 # TCP port the MCP server will listen on
|
|
95
94
|
OBSIDIAN_API_KEY= # Obtain this from the plugin settings in Obsidian
|
|
96
95
|
OBSIDIAN_PROTOCOL=http
|
|
97
96
|
OBSIDIAN_HOST=localhost
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
// src/config.ts
|
|
2
|
-
var {
|
|
3
|
-
PORT,
|
|
4
|
-
OBSIDIAN_API_KEY,
|
|
5
|
-
OBSIDIAN_PROTOCOL,
|
|
6
|
-
OBSIDIAN_HOST,
|
|
7
|
-
OBSIDIAN_PORT
|
|
8
|
-
} = process.env;
|
|
2
|
+
var { OBSIDIAN_API_KEY, OBSIDIAN_PROTOCOL, OBSIDIAN_HOST, OBSIDIAN_PORT } = process.env;
|
|
9
3
|
var config = {
|
|
10
|
-
port: PORT ? Number(PORT) : 3045,
|
|
11
4
|
obsidian: {
|
|
12
5
|
apiKey: OBSIDIAN_API_KEY || "",
|
|
13
6
|
protocol: OBSIDIAN_PROTOCOL || "http",
|
|
@@ -7172,7 +7165,7 @@ class StdioServerTransport {
|
|
|
7172
7165
|
|
|
7173
7166
|
// package.json
|
|
7174
7167
|
var name = "@fazer-ai/mcp-obsidian";
|
|
7175
|
-
var version = "1.1.
|
|
7168
|
+
var version = "1.1.1";
|
|
7176
7169
|
|
|
7177
7170
|
// src/index.ts
|
|
7178
7171
|
var server = new McpServer({ name, version }, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fazer-ai/mcp-obsidian",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"module": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": "dist/index.js",
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public"
|
|
18
18
|
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"mcp",
|
|
21
|
+
"mcp-obsidian",
|
|
22
|
+
"modelcontextprotocol",
|
|
23
|
+
"claude",
|
|
24
|
+
"obsidian",
|
|
25
|
+
"fazer-ai"
|
|
26
|
+
],
|
|
19
27
|
"scripts": {
|
|
20
28
|
"dev": "bun run --watch src/index.ts",
|
|
21
29
|
"build": "bun build src/index.ts --target node --outdir=dist",
|
|
@@ -25,8 +33,7 @@
|
|
|
25
33
|
},
|
|
26
34
|
"devDependencies": {
|
|
27
35
|
"@biomejs/biome": "1.9.4",
|
|
28
|
-
"@types/bun": "latest"
|
|
29
|
-
"@types/express": "^5.0.1"
|
|
36
|
+
"@types/bun": "latest"
|
|
30
37
|
},
|
|
31
38
|
"peerDependencies": {
|
|
32
39
|
"typescript": "^5"
|