Files
obsidian-mcp-server/package.json
Bill Ballou b1701865ab feat(read_note): return line numbers by default
Change withLineNumbers default from false to true so AI assistants
can reference specific line numbers when discussing notes.

- Apply line numbers to both simple and parseFrontmatter paths
- Add totalLines to ParsedNote type
- Update schema description to document new default
- Update tests to expect line-numbered content by default

BREAKING CHANGE: read_note now returns line-numbered content by default.
Pass withLineNumbers: false to get raw content.
2026-01-31 22:07:58 -05:00

47 lines
1.1 KiB
JSON

{
"name": "mcp-server",
"version": "1.2.1",
"description": "MCP (Model Context Protocol) server plugin - exposes vault operations via HTTP",
"main": "main.js",
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"keywords": [
"obsidian",
"mcp",
"model-context-protocol",
"ai",
"llm"
],
"author": "William Ballou",
"license": "MIT",
"dependencies": {
"cors": "^2.8.5",
"express": "^4.18.2"
},
"devDependencies": {
"@types/body-parser": "^1.19.6",
"@types/cors": "^2.8.17",
"@types/express": "^4.17.21",
"@types/jest": "^30.0.0",
"@types/node": "^16.11.6",
"@types/supertest": "^6.0.3",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"builtin-modules": "3.3.0",
"electron": "^38.4.0",
"esbuild": "0.17.3",
"jest": "^30.2.0",
"obsidian": "latest",
"supertest": "^7.1.4",
"ts-jest": "^29.4.5",
"tslib": "2.4.0",
"typescript": "4.7.4"
}
}