Skip to content

Commit 7b6aad2

Browse files
committed
Add instructions on how to test with Claude Desktop
1 parent ff4f8c0 commit 7b6aad2

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,27 @@ npx @modelcontextprotocol/inspector dist/index.js
2626

2727
Enter absolute path to database in `Arguments` in MCP Inspector.
2828
`Connect` and go to `Tools` to start using the server.
29+
30+
## Testing with Claude Desktop
31+
32+
Add the following to `claude_desktop_config.json`:
33+
34+
```json
35+
{
36+
"mcpServers": {
37+
"sqlite": {
38+
"command": "/absolute/path/to/node",
39+
"args": [
40+
"/absolute/path/to/index.js",
41+
"/absolute/path/to/database.db"
42+
]
43+
}
44+
}
45+
}
46+
```
47+
48+
Examples:
49+
50+
- `/absolute/path/to/node`: `/Users/johnny/.nvm/versions/node/v20.18.1/bin/node`
51+
- `/absolute/path/to/index.js`: `/Users/johnny/projects/mcp-server-sqlite-npx/dist/index.js`
52+
- `/absolute/path/to/database.db`: `/Users/johnny/projects/database.db`

0 commit comments

Comments
 (0)