Skip to content

Commit a1981e3

Browse files
committed
Document MCP config
1 parent 9a6b4f6 commit a1981e3

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,35 @@ To demo search output:
8484
python vc-database/vcdb.py --demo-search add numbers
8585
```
8686

87-
### 2) Run the JavaScript interpreter smoke test
87+
### 2) Start the MCP server
88+
89+
Requires the `mcp` Python package (`pip install mcp`). From the repo root:
90+
91+
```bash
92+
python vc-database/mcp_server.py
93+
```
94+
95+
This starts a stdio MCP server exposing the vectorizer to LLM agents. To connect it to an MCP client, add the following to your MCP server config:
96+
97+
```json
98+
{
99+
"vc-database": {
100+
"command": "python",
101+
"args": ["vc-database/mcp_server.py"],
102+
"env": {}
103+
}
104+
}
105+
```
106+
107+
### 3) Run the JavaScript interpreter smoke test
88108

89109
From the repo root:
90110

91111
```bash
92112
node vcs-js/smoke-test.js
93113
```
94114

95-
### 3) (Optional) Run the browser demo
115+
### 4) (Optional) Run the browser demo
96116

97117
Open `vcs-js/index.html` in a browser.
98118

0 commit comments

Comments
 (0)