@blocks-network/mcp-server 0.1.1 → 0.1.55
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 +14 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
MCP (Model Context Protocol) server that exposes Blocks Network consumer operations as tools for AI assistants.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
cd mcp
|
|
9
|
-
npm install
|
|
10
|
-
npm run build
|
|
11
|
-
```
|
|
5
|
+
Get API Key: https://app.blocks.ai/manage/api-keys
|
|
12
6
|
|
|
13
7
|
## Environment Variables
|
|
14
8
|
|
|
@@ -21,10 +15,14 @@ All other configuration (keys, endpoints) is resolved automatically from CDM.
|
|
|
21
15
|
|
|
22
16
|
## Installation
|
|
23
17
|
|
|
18
|
+
```bash
|
|
19
|
+
npm i @blocks-network/mcp-server
|
|
20
|
+
```
|
|
21
|
+
|
|
24
22
|
### Claude Code (CLI)
|
|
25
23
|
|
|
26
24
|
```bash
|
|
27
|
-
claude mcp add blocks-network --
|
|
25
|
+
claude mcp add blocks-network -- npx @blocks-network/mcp-server
|
|
28
26
|
```
|
|
29
27
|
|
|
30
28
|
Or add to your `.claude/settings.json`:
|
|
@@ -33,8 +31,8 @@ Or add to your `.claude/settings.json`:
|
|
|
33
31
|
{
|
|
34
32
|
"mcpServers": {
|
|
35
33
|
"blocks-network": {
|
|
36
|
-
"command": "
|
|
37
|
-
"args": ["
|
|
34
|
+
"command": "npx",
|
|
35
|
+
"args": ["@blocks-network/mcp-server"],
|
|
38
36
|
"env": {
|
|
39
37
|
"BLOCKS_API_KEY": "your-api-key"
|
|
40
38
|
}
|
|
@@ -51,8 +49,8 @@ Add to your `claude_desktop_config.json`:
|
|
|
51
49
|
{
|
|
52
50
|
"mcpServers": {
|
|
53
51
|
"blocks-network": {
|
|
54
|
-
"command": "
|
|
55
|
-
"args": ["
|
|
52
|
+
"command": "npx",
|
|
53
|
+
"args": ["@blocks-network/mcp-server"],
|
|
56
54
|
"env": {
|
|
57
55
|
"BLOCKS_API_KEY": "your-api-key"
|
|
58
56
|
}
|
|
@@ -73,8 +71,8 @@ Create an `mcp.json` file:
|
|
|
73
71
|
{
|
|
74
72
|
"mcpServers": {
|
|
75
73
|
"blocks-network": {
|
|
76
|
-
"command": "
|
|
77
|
-
"args": ["
|
|
74
|
+
"command": "npx",
|
|
75
|
+
"args": ["@blocks-network/mcp-server"],
|
|
78
76
|
"env": {
|
|
79
77
|
"BLOCKS_API_KEY": "your-api-key"
|
|
80
78
|
}
|
|
@@ -91,8 +89,8 @@ Add to your `~/.gemini/settings.json`:
|
|
|
91
89
|
{
|
|
92
90
|
"mcpServers": {
|
|
93
91
|
"blocks-network": {
|
|
94
|
-
"command": "
|
|
95
|
-
"args": ["
|
|
92
|
+
"command": "npx",
|
|
93
|
+
"args": ["@blocks-network/mcp-server"],
|
|
96
94
|
"env": {
|
|
97
95
|
"BLOCKS_API_KEY": "your-api-key"
|
|
98
96
|
}
|