@brain-protocol/mcp 0.7.8 → 0.7.9
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 +19 -2
- package/package.json +11 -3
- package/server.json +50 -0
- package/smithery.yaml +32 -0
package/README.md
CHANGED
|
@@ -125,9 +125,26 @@ To clear stored credentials:
|
|
|
125
125
|
npx @brain-protocol/mcp --logout
|
|
126
126
|
```
|
|
127
127
|
|
|
128
|
-
### Cloud Mode
|
|
128
|
+
### Cloud Mode — OAuth 2.1 (zero config, no API key)
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
Connect to `brain.api.vauban.tech` with `mcp-remote` — OAuth handles auth automatically via GitHub:
|
|
131
|
+
|
|
132
|
+
```json
|
|
133
|
+
{
|
|
134
|
+
"mcpServers": {
|
|
135
|
+
"brain": {
|
|
136
|
+
"command": "npx",
|
|
137
|
+
"args": ["mcp-remote", "https://brain.api.vauban.tech/mcp"]
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
First connection opens GitHub OAuth in your browser. Token is stored locally — subsequent connections are automatic. No API key needed.
|
|
144
|
+
|
|
145
|
+
### Cloud Mode — API Key
|
|
146
|
+
|
|
147
|
+
For CI/CD pipelines or headless environments, use an API key:
|
|
131
148
|
|
|
132
149
|
```json
|
|
133
150
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brain-protocol/mcp",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.9",
|
|
4
4
|
"mcpName": "io.github.seritalien/brain-protocol",
|
|
5
5
|
"description": "Verifiable Memory-as-a-Service for AI Agents — MCP server with local SQLite or cloud mode",
|
|
6
6
|
"type": "module",
|
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
"files": [
|
|
14
14
|
"dist",
|
|
15
15
|
"README.md",
|
|
16
|
-
"LICENSE"
|
|
16
|
+
"LICENSE",
|
|
17
|
+
"server.json",
|
|
18
|
+
"smithery.yaml"
|
|
17
19
|
],
|
|
18
20
|
"dependencies": {
|
|
19
21
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
@@ -39,11 +41,17 @@
|
|
|
39
41
|
},
|
|
40
42
|
"keywords": [
|
|
41
43
|
"mcp",
|
|
44
|
+
"model-context-protocol",
|
|
42
45
|
"brain-protocol",
|
|
43
46
|
"knowledge-management",
|
|
47
|
+
"knowledge-graph",
|
|
44
48
|
"ai-agents",
|
|
49
|
+
"ai-memory",
|
|
45
50
|
"sqlite",
|
|
46
|
-
"verifiable-memory"
|
|
51
|
+
"verifiable-memory",
|
|
52
|
+
"starknet",
|
|
53
|
+
"oauth2",
|
|
54
|
+
"mcp-server"
|
|
47
55
|
],
|
|
48
56
|
"scripts": {
|
|
49
57
|
"build": "tsc && chmod +x dist/index.js",
|
package/server.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.seritalien/brain-protocol",
|
|
4
|
+
"description": "Verifiable Memory for AI Agents — 25 tools: knowledge graph, FTS, semantic search, Starknet proofs, decisions, curation. Local SQLite (zero config) or cloud mode.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/seritalien/brain-protocol",
|
|
7
|
+
"source": "github",
|
|
8
|
+
"subfolder": "packages/brain-mcp"
|
|
9
|
+
},
|
|
10
|
+
"version": "0.7.9",
|
|
11
|
+
"packages": [
|
|
12
|
+
{
|
|
13
|
+
"registryType": "npm",
|
|
14
|
+
"identifier": "@brain-protocol/mcp",
|
|
15
|
+
"version": "0.7.9",
|
|
16
|
+
"transport": {
|
|
17
|
+
"type": "stdio"
|
|
18
|
+
},
|
|
19
|
+
"environmentVariables": [
|
|
20
|
+
{
|
|
21
|
+
"name": "BRAIN_API_URL",
|
|
22
|
+
"description": "Cloud mode API URL (e.g., https://brain.api.vauban.tech). When unset, uses local SQLite.",
|
|
23
|
+
"isRequired": false,
|
|
24
|
+
"format": "string",
|
|
25
|
+
"isSecret": false
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "BRAIN_API_KEY",
|
|
29
|
+
"description": "API key for cloud mode authentication (sent as X-API-Key header)",
|
|
30
|
+
"isRequired": false,
|
|
31
|
+
"format": "string",
|
|
32
|
+
"isSecret": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "BRAIN_DB_PATH",
|
|
36
|
+
"description": "Override path for the local SQLite database file",
|
|
37
|
+
"isRequired": false,
|
|
38
|
+
"format": "filepath",
|
|
39
|
+
"isSecret": false
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"remotes": [
|
|
45
|
+
{
|
|
46
|
+
"type": "streamable-http",
|
|
47
|
+
"url": "https://brain.api.vauban.tech/mcp"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
package/smithery.yaml
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Smithery.ai configuration for @brain-protocol/mcp
|
|
2
|
+
# https://smithery.ai/server/@brain-protocol/mcp
|
|
3
|
+
startCommand:
|
|
4
|
+
type: stdio
|
|
5
|
+
configSchema:
|
|
6
|
+
type: object
|
|
7
|
+
properties:
|
|
8
|
+
brainApiUrl:
|
|
9
|
+
type: string
|
|
10
|
+
description: "Cloud mode API URL. When unset, uses local SQLite (zero config)."
|
|
11
|
+
default: ""
|
|
12
|
+
brainApiKey:
|
|
13
|
+
type: string
|
|
14
|
+
description: "API key for cloud mode (X-API-Key header). Not needed for local mode."
|
|
15
|
+
default: ""
|
|
16
|
+
brainDbPath:
|
|
17
|
+
type: string
|
|
18
|
+
description: "Override path for the local SQLite database file."
|
|
19
|
+
default: ""
|
|
20
|
+
required: []
|
|
21
|
+
commandFunction: |-
|
|
22
|
+
(config) => {
|
|
23
|
+
const env = {};
|
|
24
|
+
if (config.brainApiUrl) env.BRAIN_API_URL = config.brainApiUrl;
|
|
25
|
+
if (config.brainApiKey) env.BRAIN_API_KEY = config.brainApiKey;
|
|
26
|
+
if (config.brainDbPath) env.BRAIN_DB_PATH = config.brainDbPath;
|
|
27
|
+
return {
|
|
28
|
+
command: "npx",
|
|
29
|
+
args: ["@brain-protocol/mcp@0.7.8"],
|
|
30
|
+
env
|
|
31
|
+
};
|
|
32
|
+
}
|