@ainote/mcp 1.0.1 → 1.0.2
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-ko.md +35 -3
- package/README.md +28 -0
- package/index.js +2 -2
- package/package.json +1 -1
package/README-ko.md
CHANGED
|
@@ -103,16 +103,48 @@ Claude Desktop을 AI Note 작업 관리 시스템에 연결하는 MCP(Model Cont
|
|
|
103
103
|
|
|
104
104
|
## 설치
|
|
105
105
|
|
|
106
|
-
### 설치
|
|
106
|
+
### 옵션 1: npm에서 설치 (권장)
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
```bash
|
|
109
|
+
npm install -g @ainote/mcp
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
### 옵션 2: 소스코드로부터 설치
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
git clone https://github.com/ainote-dev/ainote-mcp.git
|
|
116
|
+
cd ainote-mcp-server
|
|
117
|
+
npm install
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## 업데이트
|
|
121
|
+
|
|
122
|
+
### npm에서 업데이트 (권장)
|
|
123
|
+
|
|
124
|
+
npm을 통해 설치한 경우 최신 버전으로 업데이트:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
npm update -g @ainote/mcp
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
특정 버전을 설치하려면:
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
npm install -g @ainote/mcp@1.0.2
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### 소스코드에서 업데이트
|
|
137
|
+
|
|
138
|
+
소스코드로 설치한 경우:
|
|
109
139
|
|
|
110
140
|
```bash
|
|
111
|
-
git clone https://github.com/your-username/ainote-mcp-server.git
|
|
112
141
|
cd ainote-mcp-server
|
|
142
|
+
git pull origin main
|
|
113
143
|
npm install
|
|
114
144
|
```
|
|
115
145
|
|
|
146
|
+
업데이트 후에는 **Claude Desktop을 재시작**하여 새 버전을 로드하세요.
|
|
147
|
+
|
|
116
148
|
## 설정
|
|
117
149
|
|
|
118
150
|
### 1. 환경 변수 설정
|
package/README.md
CHANGED
|
@@ -51,6 +51,34 @@ cd ainote-mcp-server
|
|
|
51
51
|
npm install
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
## Update
|
|
55
|
+
|
|
56
|
+
### Update from npm (Recommended)
|
|
57
|
+
|
|
58
|
+
To update to the latest version when installed via npm:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
npm update -g @ainote/mcp
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Or to install a specific version:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
npm install -g @ainote/mcp@1.0.2
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Update from source
|
|
71
|
+
|
|
72
|
+
If you installed from source:
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
cd ainote-mcp-server
|
|
76
|
+
git pull origin main
|
|
77
|
+
npm install
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
After updating, **restart Claude Desktop** to load the new version.
|
|
81
|
+
|
|
54
82
|
## Configuration
|
|
55
83
|
|
|
56
84
|
To connect the MCP server with Claude Desktop, follow these steps.
|
package/index.js
CHANGED
|
@@ -5,13 +5,13 @@ import { CallToolRequestSchema, ListToolsRequestSchema } from '@modelcontextprot
|
|
|
5
5
|
import axios from 'axios';
|
|
6
6
|
|
|
7
7
|
const API_KEY = process.env.AINOTE_API_KEY;
|
|
8
|
-
const API_URL = process.env.AINOTE_API_URL || 'https://ainote
|
|
8
|
+
const API_URL = process.env.AINOTE_API_URL || 'https://api.ainote.dev';
|
|
9
9
|
|
|
10
10
|
// Create axios instance with default config
|
|
11
11
|
const api = axios.create({
|
|
12
12
|
baseURL: API_URL,
|
|
13
13
|
headers: {
|
|
14
|
-
'Authorization': API_KEY
|
|
14
|
+
'Authorization': `McpKey ${API_KEY}`,
|
|
15
15
|
'Content-Type': 'application/json'
|
|
16
16
|
}
|
|
17
17
|
});
|