@iflow-mcp/dearcloud09-logseq-mcp 1.0.0
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/CLAUDE.md +22 -0
- package/LICENSE +135 -0
- package/README.ko.md +345 -0
- package/README.md +302 -0
- package/add-today-dairy.js +165 -0
- package/com.logseq.daily-automation.plist.example +41 -0
- package/dist/graph.d.ts +97 -0
- package/dist/graph.js +627 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +626 -0
- package/dist/types.d.ts +57 -0
- package/dist/types.js +4 -0
- package/dist/weather-scraper.d.ts +22 -0
- package/dist/weather-scraper.js +202 -0
- package/language.json +1 -0
- package/package.json +1 -0
- package/package_name +1 -0
- package/push_info.json +5 -0
- package/run-daily-automation.sh +19 -0
- package/run-daily-automation.sh.example +27 -0
- package/src/graph.ts +710 -0
- package/src/index.ts +697 -0
- package/src/types.ts +66 -0
- package/src/weather-scraper.ts +249 -0
- package/tsconfig.json +17 -0
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Logseq MCP Server
|
|
2
|
+
|
|
3
|
+
Logseq graph와 상호작용하는 MCP 서버.
|
|
4
|
+
|
|
5
|
+
## 구조
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
src/
|
|
9
|
+
index.ts # MCP 서버 엔트리포인트
|
|
10
|
+
types.ts # 타입 정의
|
|
11
|
+
graph.ts # Graph 파일 시스템 작업
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## 명령어
|
|
15
|
+
|
|
16
|
+
- `npm run build` - TypeScript 빌드
|
|
17
|
+
- `npm run dev` - 개발 모드 실행
|
|
18
|
+
- `npm start` - 프로덕션 실행
|
|
19
|
+
|
|
20
|
+
## 설정
|
|
21
|
+
|
|
22
|
+
환경변수 `LOGSEQ_GRAPH_PATH`로 graph 경로 지정 (필수)
|
package/LICENSE
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# Polyform Noncommercial License 1.0.0
|
|
2
|
+
|
|
3
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
4
|
+
|
|
5
|
+
## Acceptance
|
|
6
|
+
|
|
7
|
+
In order to get any license under these terms, you must agree
|
|
8
|
+
to them as both strict obligations and conditions to all
|
|
9
|
+
your licenses.
|
|
10
|
+
|
|
11
|
+
## Copyright License
|
|
12
|
+
|
|
13
|
+
The licensor grants you a copyright license for the
|
|
14
|
+
software to do everything you might do with the software
|
|
15
|
+
that would otherwise infringe the licensor's copyright
|
|
16
|
+
in it for any permitted purpose. However, you may
|
|
17
|
+
only distribute the software according to [Distribution
|
|
18
|
+
License](#distribution-license) and make changes or new works
|
|
19
|
+
based on the software according to [Changes and New Works
|
|
20
|
+
License](#changes-and-new-works-license).
|
|
21
|
+
|
|
22
|
+
## Distribution License
|
|
23
|
+
|
|
24
|
+
The licensor grants you an additional copyright license
|
|
25
|
+
to distribute copies of the software. Your license
|
|
26
|
+
to distribute covers distributing the software with
|
|
27
|
+
changes and new works permitted by [Changes and New Works
|
|
28
|
+
License](#changes-and-new-works-license).
|
|
29
|
+
|
|
30
|
+
## Notices
|
|
31
|
+
|
|
32
|
+
You must ensure that anyone who gets a copy of any part of
|
|
33
|
+
the software from you also gets a copy of these terms or the
|
|
34
|
+
URL for them above, as well as copies of any plain-text lines
|
|
35
|
+
beginning with `Required Notice:` that the licensor provided
|
|
36
|
+
with the software. For example:
|
|
37
|
+
|
|
38
|
+
> Required Notice: Copyright dearcloud09 (https://github.com/dearcloud09)
|
|
39
|
+
|
|
40
|
+
## Changes and New Works License
|
|
41
|
+
|
|
42
|
+
The licensor grants you an additional copyright license to
|
|
43
|
+
make changes and new works based on the software for any
|
|
44
|
+
permitted purpose.
|
|
45
|
+
|
|
46
|
+
## Patent License
|
|
47
|
+
|
|
48
|
+
The licensor grants you a patent license for the software that
|
|
49
|
+
covers patent claims the licensor can license, or becomes able
|
|
50
|
+
to license, that you would infringe by using the software.
|
|
51
|
+
|
|
52
|
+
## Noncommercial Purposes
|
|
53
|
+
|
|
54
|
+
Any noncommercial purpose is a permitted purpose.
|
|
55
|
+
|
|
56
|
+
## Personal Uses
|
|
57
|
+
|
|
58
|
+
Personal use for research, experiment, and testing for
|
|
59
|
+
the benefit of public knowledge, personal study, private
|
|
60
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
61
|
+
observance, without any anticipated commercial application,
|
|
62
|
+
is use for a permitted purpose.
|
|
63
|
+
|
|
64
|
+
## Noncommercial Organizations
|
|
65
|
+
|
|
66
|
+
Use by any charitable organization, educational institution,
|
|
67
|
+
public research organization, public safety or health
|
|
68
|
+
organization, environmental protection organization,
|
|
69
|
+
or government institution is use for a permitted purpose
|
|
70
|
+
regardless of the source of funding or obligations resulting
|
|
71
|
+
from the funding.
|
|
72
|
+
|
|
73
|
+
## Fair Use
|
|
74
|
+
|
|
75
|
+
You may have "fair use" rights for the software under the
|
|
76
|
+
law. These terms do not limit them.
|
|
77
|
+
|
|
78
|
+
## No Other Rights
|
|
79
|
+
|
|
80
|
+
These terms do not allow you to sublicense or transfer any of
|
|
81
|
+
your licenses to anyone else, or prevent the licensor from
|
|
82
|
+
granting licenses to anyone else. These terms do not imply
|
|
83
|
+
any other licenses.
|
|
84
|
+
|
|
85
|
+
## Patent Defense
|
|
86
|
+
|
|
87
|
+
If you make any written claim that the software infringes or
|
|
88
|
+
contributes to infringement of any patent, your patent license
|
|
89
|
+
for the software granted under these terms ends immediately. If
|
|
90
|
+
your company makes such a claim, your patent license ends
|
|
91
|
+
immediately for work on behalf of your company.
|
|
92
|
+
|
|
93
|
+
## Violations
|
|
94
|
+
|
|
95
|
+
The first time you are notified in writing that you have
|
|
96
|
+
violated any of these terms, or done anything with the software
|
|
97
|
+
not covered by your licenses, your licenses can nonetheless
|
|
98
|
+
continue if you come into full compliance with these terms,
|
|
99
|
+
and take practical steps to correct past violations, within
|
|
100
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
101
|
+
end immediately.
|
|
102
|
+
|
|
103
|
+
## No Liability
|
|
104
|
+
|
|
105
|
+
***As far as the law allows, the software comes as is, without
|
|
106
|
+
any warranty or condition, and the licensor will not be liable
|
|
107
|
+
to you for any damages arising out of these terms or the use
|
|
108
|
+
or nature of the software, under any kind of legal claim.***
|
|
109
|
+
|
|
110
|
+
## Definitions
|
|
111
|
+
|
|
112
|
+
The **licensor** is the individual or entity offering these
|
|
113
|
+
terms, and the **software** is the software the licensor makes
|
|
114
|
+
available under these terms.
|
|
115
|
+
|
|
116
|
+
**You** refers to the individual or entity agreeing to these
|
|
117
|
+
terms.
|
|
118
|
+
|
|
119
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
120
|
+
or other kind of organization that you work for, plus all
|
|
121
|
+
organizations that have control over, are under the control of,
|
|
122
|
+
or are under common control with that organization. **Control**
|
|
123
|
+
means ownership of substantially all the assets of an entity,
|
|
124
|
+
or the power to direct its management and policies by vote,
|
|
125
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
126
|
+
|
|
127
|
+
**Your licenses** are all the licenses granted to you for the
|
|
128
|
+
software under these terms.
|
|
129
|
+
|
|
130
|
+
**Use** means anything you do with the software requiring one
|
|
131
|
+
of your licenses.
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
Required Notice: Copyright 2026 dearcloud09 (https://github.com/dearcloud09)
|
package/README.ko.md
ADDED
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
# Logseq MCP Server
|
|
2
|
+
|
|
3
|
+
[](https://polyformproject.org/licenses/noncommercial/1.0.0)
|
|
4
|
+
[](https://nodejs.org/)
|
|
5
|
+
[](https://modelcontextprotocol.io/)
|
|
6
|
+
|
|
7
|
+
> **AI가 당신의 Logseq 그래프를 직접 읽고 쓸 수 있게 해주는 MCP 서버**
|
|
8
|
+
|
|
9
|
+
[English README](README.md)
|
|
10
|
+
|
|
11
|
+
Claude와 대화하면서 "오늘 저널에 이거 추가해줘", "지난주에 뭐했는지 찾아봐", "이 페이지랑 연결된 거 다 보여줘"가 가능해집니다.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Why This?
|
|
16
|
+
|
|
17
|
+
**문제**: Logseq는 훌륭한 PKM 도구지만, AI 어시스턴트와 연동하려면 매번 복사-붙여넣기가 필요합니다.
|
|
18
|
+
|
|
19
|
+
**해결**: 이 MCP 서버를 사용하면:
|
|
20
|
+
- Claude가 **직접** 저널에 기록 (복사-붙여넣기 불필요)
|
|
21
|
+
- 과거 기록을 **검색하고 요약** (맥락 유지)
|
|
22
|
+
- 페이지 간 **연결 관계 탐색** (백링크, 그래프)
|
|
23
|
+
- 템플릿 기반 **저널 자동 생성**
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
You: "오늘 회의 내용 저널에 정리해줘"
|
|
27
|
+
Claude: [logseq-mcp로 직접 저널에 기록]
|
|
28
|
+
"저널에 추가했습니다. 다른 정리할 내용 있으세요?"
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Is This For You?
|
|
34
|
+
|
|
35
|
+
### Good fit if you...
|
|
36
|
+
|
|
37
|
+
- Logseq를 **주력 PKM**으로 사용 중
|
|
38
|
+
- Claude Code나 Claude Desktop을 **일상적으로 사용**
|
|
39
|
+
- AI에게 노트 관리를 **위임**하고 싶음
|
|
40
|
+
- **로컬 파일 기반** Logseq 사용 (Logseq Sync 아님)
|
|
41
|
+
|
|
42
|
+
### Not for you if...
|
|
43
|
+
|
|
44
|
+
- **Logseq Sync** 사용 중 (로컬 파일 접근 필요)
|
|
45
|
+
- **Obsidian** 사용자 (다른 MCP 서버 필요)
|
|
46
|
+
- 노트에 민감 정보가 많고 **AI 접근이 불편**함
|
|
47
|
+
- 마크다운 외 **org-mode** 사용 (현재 미지원)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## Demo
|
|
52
|
+
|
|
53
|
+
<!-- TODO: 실제 사용 GIF 추가 -->
|
|
54
|
+
```
|
|
55
|
+
You: "지난주 저널에서 TODO 항목 다 찾아줘"
|
|
56
|
+
Claude: [search_pages 실행]
|
|
57
|
+
|
|
58
|
+
You: "이 중에서 완료 안 된 거 오늘 저널로 옮겨줘"
|
|
59
|
+
Claude: [read_page → append_to_page 실행]
|
|
60
|
+
|
|
61
|
+
You: "Goals 페이지 연결된 페이지들 보여줘"
|
|
62
|
+
Claude: [get_backlinks 실행]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Features
|
|
68
|
+
|
|
69
|
+
| 기능 | 설명 |
|
|
70
|
+
|------|------|
|
|
71
|
+
| **Page CRUD** | 페이지 생성, 읽기, 수정, 삭제 + 프로퍼티 지원 |
|
|
72
|
+
| **Search** | 전체 검색 + 태그/폴더 필터링 |
|
|
73
|
+
| **Graph Navigation** | 링크, 백링크, 페이지 관계 탐색 |
|
|
74
|
+
| **Journal** | 오늘/특정 날짜 저널 접근 + 템플릿 지원 |
|
|
75
|
+
| **Article** | 대화 정리, 웹 아티클, 읽은 글을 저널에 기록 |
|
|
76
|
+
| **Daily Automation** | 날씨 정보 + 일기 템플릿 자동 생성 (launchd) |
|
|
77
|
+
| **Resources** | 그래프 페이지를 MCP 리소스로 노출 |
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Quick Start
|
|
82
|
+
|
|
83
|
+
### 1. 설치
|
|
84
|
+
|
|
85
|
+
```bash
|
|
86
|
+
git clone https://github.com/dearcloud09/logseq-mcp.git
|
|
87
|
+
cd logseq-mcp
|
|
88
|
+
npm install
|
|
89
|
+
npm run build
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### 2. 설정
|
|
93
|
+
|
|
94
|
+
**Claude Code** (`~/.claude/settings.json`):
|
|
95
|
+
|
|
96
|
+
```json
|
|
97
|
+
{
|
|
98
|
+
"mcpServers": {
|
|
99
|
+
"logseq": {
|
|
100
|
+
"command": "node",
|
|
101
|
+
"args": ["/path/to/logseq-mcp/dist/index.js"],
|
|
102
|
+
"env": {
|
|
103
|
+
"LOGSEQ_GRAPH_PATH": "/path/to/your/logseq/graph",
|
|
104
|
+
"WEATHER_LOCATION": "서울"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
> `WEATHER_LOCATION`: 날씨 정보를 가져올 지역 (기본값: 서울)
|
|
112
|
+
|
|
113
|
+
**Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`):
|
|
114
|
+
|
|
115
|
+
```json
|
|
116
|
+
{
|
|
117
|
+
"mcpServers": {
|
|
118
|
+
"logseq": {
|
|
119
|
+
"command": "node",
|
|
120
|
+
"args": ["/path/to/logseq-mcp/dist/index.js"],
|
|
121
|
+
"env": {
|
|
122
|
+
"LOGSEQ_GRAPH_PATH": "/path/to/your/logseq/graph",
|
|
123
|
+
"WEATHER_LOCATION": "서울"
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### 3. 확인
|
|
131
|
+
|
|
132
|
+
Claude에게 물어보세요: "내 Logseq 페이지 목록 보여줘"
|
|
133
|
+
|
|
134
|
+
---
|
|
135
|
+
|
|
136
|
+
## Available Tools
|
|
137
|
+
|
|
138
|
+
| Tool | Description |
|
|
139
|
+
|------|-------------|
|
|
140
|
+
| `list_pages` | 전체 페이지 목록 + 메타데이터 (태그, 링크, 백링크) |
|
|
141
|
+
| `read_page` | 페이지 내용 및 메타데이터 조회 |
|
|
142
|
+
| `create_page` | 새 페이지 생성 (프로퍼티 지원) |
|
|
143
|
+
| `update_page` | 페이지 내용 수정 |
|
|
144
|
+
| `delete_page` | 페이지 삭제 |
|
|
145
|
+
| `append_to_page` | 기존 페이지에 내용 추가 |
|
|
146
|
+
| `search_pages` | 내용/제목 검색 + 태그/폴더 필터 |
|
|
147
|
+
| `get_backlinks` | 특정 페이지를 참조하는 페이지들 |
|
|
148
|
+
| `get_graph` | 페이지 연결 그래프 데이터 |
|
|
149
|
+
| `get_journal` | 오늘/특정 날짜 저널 조회 |
|
|
150
|
+
| `create_journal` | 저널 생성 (템플릿 지원) |
|
|
151
|
+
| `add_article` | 아티클을 저널에 추가 (제목, 요약, 태그, URL, 하이라이트) |
|
|
152
|
+
| `add_book` | 책을 저널에 추가 → `[[문화]]` 하위에 기록 (제목, 창작자, 태그, 메모) |
|
|
153
|
+
| `add_movie` | 영화를 저널에 추가 → `[[문화]]` 하위에 기록 (제목, 창작자, 메모) |
|
|
154
|
+
| `add_exhibition` | 전시회를 저널에 추가 → `[[문화]]` 하위에 기록 (제목, 장소, 창작자, 메모) |
|
|
155
|
+
|
|
156
|
+
---
|
|
157
|
+
|
|
158
|
+
## Usage Examples
|
|
159
|
+
|
|
160
|
+
```
|
|
161
|
+
"오늘 저널 보여줘"
|
|
162
|
+
"'프로젝트 A' 페이지에 이 내용 추가해줘: ..."
|
|
163
|
+
"#meeting 태그 달린 페이지 다 찾아줘"
|
|
164
|
+
"Goals 페이지랑 연결된 페이지들 뭐가 있어?"
|
|
165
|
+
"지난주 저널에서 TODO 검색해줘"
|
|
166
|
+
"새 페이지 만들어줘: 제목은 'Reading List'"
|
|
167
|
+
"우리 대화 내용 아티클로 정리해서 저널에 저장해줘"
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## Logseq Graph Structure
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
your-graph/
|
|
176
|
+
journals/ # 저널 (2024_01_15.md 형식)
|
|
177
|
+
pages/ # 일반 페이지
|
|
178
|
+
logseq/ # Logseq 설정
|
|
179
|
+
whiteboards/ # 화이트보드
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Security
|
|
185
|
+
|
|
186
|
+
Graph 외부 파일 접근 차단, 입력 검증, DoS 방지 등 보안 강화 적용됨.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Troubleshooting
|
|
191
|
+
|
|
192
|
+
### "LOGSEQ_GRAPH_PATH environment variable is required"
|
|
193
|
+
|
|
194
|
+
`LOGSEQ_GRAPH_PATH` 환경변수가 설정되지 않았습니다. 설정 파일에서 경로를 확인하세요.
|
|
195
|
+
|
|
196
|
+
### MCP 서버가 Claude에서 인식되지 않음
|
|
197
|
+
|
|
198
|
+
1. Claude Code/Desktop 재시작
|
|
199
|
+
2. 경로가 절대 경로인지 확인 (`/Users/...` 형식)
|
|
200
|
+
3. `npm run build` 실행 확인
|
|
201
|
+
|
|
202
|
+
### 페이지가 보이지 않음
|
|
203
|
+
|
|
204
|
+
- `journals/`, `pages/` 폴더에 `.md` 파일이 있는지 확인
|
|
205
|
+
- Logseq Sync가 아닌 **로컬 그래프**인지 확인
|
|
206
|
+
|
|
207
|
+
### org-mode 파일이 안 읽힘
|
|
208
|
+
|
|
209
|
+
현재 **Markdown만 지원**합니다. org-mode 지원은 추후 예정.
|
|
210
|
+
|
|
211
|
+
---
|
|
212
|
+
|
|
213
|
+
## Daily Automation (Optional)
|
|
214
|
+
|
|
215
|
+
매일 아침 자동으로 저널에 날씨 + 일기 템플릿을 추가하는 기능:
|
|
216
|
+
|
|
217
|
+
### 설정 방법
|
|
218
|
+
|
|
219
|
+
1. plist 파일 복사 및 경로 수정:
|
|
220
|
+
```bash
|
|
221
|
+
cp com.logseq.daily-automation.plist.example ~/Library/LaunchAgents/com.logseq.daily-automation.plist
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
2. 복사한 파일에서 `/path/to/` 부분을 실제 경로로 수정
|
|
225
|
+
|
|
226
|
+
3. launchd 등록:
|
|
227
|
+
```bash
|
|
228
|
+
launchctl load ~/Library/LaunchAgents/com.logseq.daily-automation.plist
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### 수동 실행 테스트
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
./run-daily-automation.sh
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
생성되는 템플릿:
|
|
238
|
+
```markdown
|
|
239
|
+
- [[일기]]
|
|
240
|
+
- [[날씨]]
|
|
241
|
+
- 맑음
|
|
242
|
+
- 최저 기온 1도, 최고 기온 10도
|
|
243
|
+
- ...
|
|
244
|
+
- [[오늘의 일기]]
|
|
245
|
+
- [[행복도]]
|
|
246
|
+
- [[오늘의 행복]]
|
|
247
|
+
- [[오늘의 컨디션]]
|
|
248
|
+
- [[수면]]
|
|
249
|
+
- 취침:
|
|
250
|
+
- 기상:
|
|
251
|
+
- 질: /5
|
|
252
|
+
- [[오늘의 생각]]
|
|
253
|
+
- [[Tasks]]
|
|
254
|
+
- TODO
|
|
255
|
+
- [[오늘 잘 해낸 일]]
|
|
256
|
+
- [[TIL]]
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
### 문화 콘텐츠 기록 구조
|
|
260
|
+
|
|
261
|
+
`add_book`, `add_movie`, `add_exhibition` 도구는 통합된 `[[문화]]` 구조를 사용:
|
|
262
|
+
|
|
263
|
+
```markdown
|
|
264
|
+
- [[문화]]
|
|
265
|
+
- #책
|
|
266
|
+
- 제목 : 총균쇠
|
|
267
|
+
- 창작자 : 재레드 다이아몬드
|
|
268
|
+
- 메모 : ...
|
|
269
|
+
|
|
270
|
+
- [[문화]]
|
|
271
|
+
- #영화
|
|
272
|
+
- 제목 : 인셉션
|
|
273
|
+
- 창작자 : 크리스토퍼 놀란
|
|
274
|
+
- 메모 : ...
|
|
275
|
+
|
|
276
|
+
- [[문화]]
|
|
277
|
+
- #전시회
|
|
278
|
+
- 제목 : 이건희 컬렉션
|
|
279
|
+
- 장소 : 국립중앙박물관
|
|
280
|
+
- 창작자 : 다수
|
|
281
|
+
- 메모 : ...
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
Logseq 쿼리 예시:
|
|
285
|
+
```clojure
|
|
286
|
+
{{query [[문화]]}} ;; 모든 문화 콘텐츠
|
|
287
|
+
{{query (and [[문화]] #책)}} ;; 책만
|
|
288
|
+
```
|
|
289
|
+
|
|
290
|
+
---
|
|
291
|
+
|
|
292
|
+
## Development
|
|
293
|
+
|
|
294
|
+
```bash
|
|
295
|
+
# 개발 모드 (hot reload)
|
|
296
|
+
npm run dev
|
|
297
|
+
|
|
298
|
+
# TypeScript 빌드
|
|
299
|
+
npm run build
|
|
300
|
+
|
|
301
|
+
# 프로덕션 실행
|
|
302
|
+
npm start
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
### Project Structure
|
|
306
|
+
|
|
307
|
+
```
|
|
308
|
+
src/
|
|
309
|
+
index.ts # MCP 서버 엔트리포인트, 도구 핸들러
|
|
310
|
+
types.ts # TypeScript 타입 정의
|
|
311
|
+
graph.ts # 그래프 파일시스템 작업
|
|
312
|
+
```
|
|
313
|
+
|
|
314
|
+
---
|
|
315
|
+
|
|
316
|
+
## Contributing
|
|
317
|
+
|
|
318
|
+
이슈와 PR 환영합니다!
|
|
319
|
+
|
|
320
|
+
1. Fork this repo
|
|
321
|
+
2. Create feature branch (`git checkout -b feature/amazing`)
|
|
322
|
+
3. Commit changes (`git commit -m 'Add amazing feature'`)
|
|
323
|
+
4. Push to branch (`git push origin feature/amazing`)
|
|
324
|
+
5. Open a Pull Request
|
|
325
|
+
|
|
326
|
+
### Ideas for contribution
|
|
327
|
+
|
|
328
|
+
- [ ] org-mode 지원
|
|
329
|
+
- [ ] Logseq 프로퍼티 검색
|
|
330
|
+
- [ ] 화이트보드 지원
|
|
331
|
+
- [ ] 더 나은 그래프 시각화 데이터
|
|
332
|
+
|
|
333
|
+
---
|
|
334
|
+
|
|
335
|
+
## License
|
|
336
|
+
|
|
337
|
+
[Polyform Noncommercial 1.0.0](LICENSE) - 개인 및 비상업적 사용 무료.
|
|
338
|
+
|
|
339
|
+
---
|
|
340
|
+
|
|
341
|
+
## Related
|
|
342
|
+
|
|
343
|
+
- [Model Context Protocol](https://modelcontextprotocol.io/)
|
|
344
|
+
- [Logseq](https://logseq.com/)
|
|
345
|
+
- [Claude Code](https://claude.com/claude-code)
|