@anyproto/anytype-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.md +30 -47
- package/package.json +11 -8
package/README.md
CHANGED
|
@@ -12,9 +12,27 @@ It bridges the gap between AI and Anytype's powerful features by converting Anyt
|
|
|
12
12
|
- Properties & Tags
|
|
13
13
|
- Types & Templates
|
|
14
14
|
|
|
15
|
-
##
|
|
15
|
+
## Quick Start
|
|
16
16
|
|
|
17
|
-
### 1.
|
|
17
|
+
### 1. Get Your API Key
|
|
18
|
+
|
|
19
|
+
1. Open Anytype
|
|
20
|
+
2. Go to Settings
|
|
21
|
+
3. Navigate to API Keys
|
|
22
|
+
4. Create a new API key
|
|
23
|
+
|
|
24
|
+
<details>
|
|
25
|
+
<summary>Alternative: Get API key via CLI</summary>
|
|
26
|
+
|
|
27
|
+
You can also get your API key using the command line:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npx -y @anyproto/anytype-mcp get-key
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
</details>
|
|
34
|
+
|
|
35
|
+
### 2. Configure Your MCP Client
|
|
18
36
|
|
|
19
37
|
Add the following configuration to your MCP client settings:
|
|
20
38
|
|
|
@@ -32,21 +50,8 @@ Add the following configuration to your MCP client settings:
|
|
|
32
50
|
}
|
|
33
51
|
```
|
|
34
52
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
1. Use the command line:
|
|
38
|
-
|
|
39
|
-
```bash
|
|
40
|
-
npx -y @anyproto/anytype-mcp get-key
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
2. Or get it from the Anytype desktop client:
|
|
44
|
-
- Open Anytype
|
|
45
|
-
- Go to Settings
|
|
46
|
-
- Navigate to API Keys
|
|
47
|
-
- Create a new API key
|
|
48
|
-
|
|
49
|
-
### 2. Alternative: Global Installation
|
|
53
|
+
<details>
|
|
54
|
+
<summary>Alternative: Global Installation</summary>
|
|
50
55
|
|
|
51
56
|
If you prefer to install the package globally:
|
|
52
57
|
|
|
@@ -71,36 +76,6 @@ npm install -g @anyproto/anytype-mcp
|
|
|
71
76
|
}
|
|
72
77
|
```
|
|
73
78
|
|
|
74
|
-
<details>
|
|
75
|
-
<summary>Development: Installation from source</summary>
|
|
76
|
-
|
|
77
|
-
If you need to install from source:
|
|
78
|
-
|
|
79
|
-
1. Clone the repository:
|
|
80
|
-
|
|
81
|
-
```bash
|
|
82
|
-
git clone https://github.com/anyproto/anytype-mcp.git
|
|
83
|
-
cd anytype-mcp
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
2. Install dependencies:
|
|
87
|
-
|
|
88
|
-
```bash
|
|
89
|
-
npm install -D
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
3. Build the project:
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
npm run build
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
4. Link the package globally:
|
|
99
|
-
|
|
100
|
-
```bash
|
|
101
|
-
npm link
|
|
102
|
-
```
|
|
103
|
-
|
|
104
79
|
</details>
|
|
105
80
|
|
|
106
81
|
## Example Interactions
|
|
@@ -114,6 +89,8 @@ Here are some examples of how you can interact with your Anytype:
|
|
|
114
89
|
|
|
115
90
|
## Development
|
|
116
91
|
|
|
92
|
+
### Installation from Source
|
|
93
|
+
|
|
117
94
|
1. Clone the repository:
|
|
118
95
|
|
|
119
96
|
```bash
|
|
@@ -133,6 +110,12 @@ npm install -D
|
|
|
133
110
|
npm run build
|
|
134
111
|
```
|
|
135
112
|
|
|
113
|
+
4. Link the package globally (optional):
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
npm link
|
|
117
|
+
```
|
|
118
|
+
|
|
136
119
|
## Contribution
|
|
137
120
|
|
|
138
121
|
Thank you for your desire to develop Anytype together!
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"mcp",
|
|
7
7
|
"server"
|
|
8
8
|
],
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.2",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"type": "module",
|
|
12
12
|
"scripts": {
|
|
@@ -24,12 +24,6 @@
|
|
|
24
24
|
"bin": {
|
|
25
25
|
"anytype-mcp": "bin/cli.mjs"
|
|
26
26
|
},
|
|
27
|
-
"exports": {
|
|
28
|
-
".": {
|
|
29
|
-
"types": "./src/index.ts",
|
|
30
|
-
"import": "./src/index.ts"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
27
|
"dependencies": {
|
|
34
28
|
"@modelcontextprotocol/sdk": "^1.4.1",
|
|
35
29
|
"axios": "^1.7.9",
|
|
@@ -59,7 +53,16 @@
|
|
|
59
53
|
"typescript": "^5.7.3",
|
|
60
54
|
"vitest": "^2.1.8"
|
|
61
55
|
},
|
|
62
|
-
"description": "
|
|
56
|
+
"description": "Official MCP server for Anytype API",
|
|
57
|
+
"repository": {
|
|
58
|
+
"type": "git",
|
|
59
|
+
"url": "git@github.com:anyproto/anytype-mcp.git"
|
|
60
|
+
},
|
|
61
|
+
"author": "@anyproto",
|
|
62
|
+
"bugs": {
|
|
63
|
+
"url": "https://github.com/anyproto/anytype-mcp/issues"
|
|
64
|
+
},
|
|
65
|
+
"homepage": "https://github.com/anyproto/anytype-mcp#readme",
|
|
63
66
|
"files": [
|
|
64
67
|
"bin",
|
|
65
68
|
"dist",
|