@usewhisper/mcp-server 0.4.0 → 0.5.0
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 +182 -154
- package/dist/autosubscribe-6EDKPBE2.js +4068 -4068
- package/dist/autosubscribe-GHO6YR5A.js +4068 -4068
- package/dist/autosubscribe-ISDETQIB.js +435 -435
- package/dist/chunk-3WGYBAYR.js +8387 -8387
- package/dist/chunk-52VJYCZ7.js +455 -455
- package/dist/chunk-5KBZQHDL.js +189 -189
- package/dist/chunk-5KIJNY6Z.js +370 -370
- package/dist/chunk-7SN3CKDK.js +1076 -1076
- package/dist/chunk-B3VWOHUA.js +271 -271
- package/dist/chunk-C57DHKTL.js +459 -459
- package/dist/chunk-EI5CE3EY.js +616 -616
- package/dist/chunk-FTWUJBAH.js +386 -386
- package/dist/chunk-H3HSKH2P.js +4841 -4841
- package/dist/chunk-JO3ORBZD.js +616 -616
- package/dist/chunk-L6DXSM2U.js +456 -456
- package/dist/chunk-LMEYV4JD.js +368 -368
- package/dist/chunk-MEFLJ4PV.js +8385 -8385
- package/dist/chunk-OBLI4FE4.js +275 -275
- package/dist/chunk-PPGYJJED.js +271 -271
- package/dist/chunk-QGM4M3NI.js +37 -37
- package/dist/chunk-T7KMSTWP.js +399 -399
- package/dist/chunk-TWEIYHI6.js +399 -399
- package/dist/chunk-UYWE7HSU.js +368 -368
- package/dist/chunk-X2DL2GWT.js +32 -32
- package/dist/chunk-X7HNNNJJ.js +1079 -1079
- package/dist/consolidation-2GCKI4RE.js +220 -220
- package/dist/consolidation-4JOPW6BG.js +220 -220
- package/dist/consolidation-FOVQTWNQ.js +222 -222
- package/dist/consolidation-IFQ52E44.js +209 -209
- package/dist/context-sharing-4ITCNKG4.js +307 -307
- package/dist/context-sharing-6CCFIAKL.js +275 -275
- package/dist/context-sharing-GYKLXHZA.js +307 -307
- package/dist/context-sharing-PH64JTXS.js +308 -308
- package/dist/context-sharing-Y6LTZZOF.js +307 -307
- package/dist/cost-optimization-6OIKRSBV.js +195 -195
- package/dist/cost-optimization-7DVSTL6R.js +307 -307
- package/dist/cost-optimization-BH5NAX33.js +286 -286
- package/dist/cost-optimization-F3L5BS5F.js +303 -303
- package/dist/ingest-2LPTWUUM.js +16 -16
- package/dist/ingest-7T5FAZNC.js +15 -15
- package/dist/ingest-EBNIE7XB.js +15 -15
- package/dist/ingest-FSHT5BCS.js +15 -15
- package/dist/ingest-QE2BTV72.js +14 -14
- package/dist/oracle-3RLQF3DP.js +259 -259
- package/dist/oracle-FKRTQUUG.js +282 -282
- package/dist/oracle-J47QCSEW.js +263 -263
- package/dist/oracle-MDP5MZRC.js +256 -256
- package/dist/search-BLVHWLWC.js +14 -14
- package/dist/search-CZ5NYL5B.js +12 -12
- package/dist/search-EG6TYWWW.js +13 -13
- package/dist/search-I22QQA7T.js +13 -13
- package/dist/search-T7H5G6DW.js +13 -13
- package/dist/server.d.ts +2 -2
- package/dist/server.js +1595 -96
- package/dist/server.js.map +1 -1
- package/package.json +51 -51
package/README.md
CHANGED
|
@@ -2,169 +2,197 @@
|
|
|
2
2
|
|
|
3
3
|
Model Context Protocol server for [Whisper Context API](https://usewhisper.dev) - Connect Claude Desktop to your knowledge base.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
## What is MCP?
|
|
8
|
-
|
|
9
|
-
The Model Context Protocol (MCP) allows Claude Desktop to connect directly to external knowledge sources and tools. This server gives Claude Desktop access to your Whisper Context projects, enabling seamless RAG-powered conversations with advanced memory and research capabilities.
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
npm install -g @usewhisper/mcp-server
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Setup
|
|
18
|
-
|
|
19
|
-
### 1. Get Your API Key
|
|
20
|
-
|
|
21
|
-
Get your Whisper API key from the [dashboard](https://usewhisper.dev/dashboard).
|
|
22
|
-
|
|
23
|
-
### 2. Configure Claude Desktop
|
|
24
|
-
|
|
25
|
-
Add to your Claude Desktop config file:
|
|
26
|
-
|
|
27
|
-
**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
28
|
-
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
29
|
-
|
|
30
|
-
```json
|
|
31
|
-
{
|
|
32
|
-
"mcpServers": {
|
|
33
|
-
"whisper-context": {
|
|
34
|
-
"command": "whisper-context-mcp",
|
|
35
|
-
"env": {
|
|
36
|
-
"WHISPER_API_KEY": "wctx_...",
|
|
37
|
-
"WHISPER_PROJECT": "my-project"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
```
|
|
43
|
-
|
|
44
|
-
**Optional environment variables:**
|
|
45
|
-
- `WHISPER_BASE_URL`: Custom API endpoint (defaults to `https://context.usewhisper.dev`)
|
|
46
|
-
|
|
47
|
-
### 3. Restart Claude Desktop
|
|
48
|
-
|
|
49
|
-
After configuration, restart Claude Desktop. The MCP server will appear in the bottom-right corner.
|
|
5
|
+
Whisper makes code agents refuse unsupported claims about your codebase by combining retrieval, claim verification, and evidence-locked answering.
|
|
50
6
|
|
|
7
|
+
**Version 0.2.0** - Now with 15 tools including SOTA Memory System, Oracle Research Mode, and Cost Optimization!
|
|
8
|
+
|
|
9
|
+
## What is MCP?
|
|
10
|
+
|
|
11
|
+
The Model Context Protocol (MCP) allows Claude Desktop to connect directly to external knowledge sources and tools. This server gives Claude Desktop access to your Whisper Context projects, enabling seamless RAG-powered conversations with advanced memory and research capabilities.
|
|
12
|
+
|
|
13
|
+
## Installation
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm install -g @usewhisper/mcp-server
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Setup
|
|
20
|
+
|
|
21
|
+
### 1. Get Your API Key
|
|
22
|
+
|
|
23
|
+
Get your Whisper API key from the [dashboard](https://usewhisper.dev/dashboard).
|
|
24
|
+
|
|
25
|
+
### 2. Configure Claude Desktop
|
|
26
|
+
|
|
27
|
+
Add to your Claude Desktop config file:
|
|
28
|
+
|
|
29
|
+
**MacOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
30
|
+
**Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
31
|
+
|
|
32
|
+
```json
|
|
33
|
+
{
|
|
34
|
+
"mcpServers": {
|
|
35
|
+
"whisper-context": {
|
|
36
|
+
"command": "whisper-context-mcp",
|
|
37
|
+
"env": {
|
|
38
|
+
"WHISPER_API_KEY": "wctx_...",
|
|
39
|
+
"WHISPER_PROJECT": "my-project"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**Optional environment variables:**
|
|
47
|
+
- `WHISPER_BASE_URL`: Custom API endpoint (defaults to `https://context.usewhisper.dev`)
|
|
48
|
+
|
|
49
|
+
### 3. Restart Claude Desktop
|
|
50
|
+
|
|
51
|
+
After configuration, restart Claude Desktop. The MCP server will appear in the bottom-right corner.
|
|
52
|
+
|
|
51
53
|
## Available Tools
|
|
52
54
|
|
|
53
55
|
Once connected, Claude Desktop gets access to these tools:
|
|
54
56
|
|
|
57
|
+
### Trust pipeline (recommended first)
|
|
58
|
+
|
|
59
|
+
1. `resolve_workspace`
|
|
60
|
+
2. `repo_index_status`
|
|
61
|
+
3. `get_relevant_context`
|
|
62
|
+
4. `claim_verifier`
|
|
63
|
+
5. `evidence_locked_answer`
|
|
64
|
+
|
|
55
65
|
### query_context
|
|
56
66
|
Search your knowledge base with hybrid vector+keyword search, memory inclusion, and knowledge graph traversal.
|
|
57
|
-
|
|
58
|
-
```
|
|
59
|
-
Query your docs project for "authentication flow"
|
|
60
|
-
```
|
|
61
|
-
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
Query your docs project for "authentication flow"
|
|
70
|
+
```
|
|
71
|
+
|
|
62
72
|
### add_memory
|
|
63
73
|
Store persistent memories (facts, preferences, decisions) across conversations.
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
Remember that I prefer TypeScript over JavaScript
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
### search_memories
|
|
70
|
-
Recall facts and preferences from previous interactions.
|
|
71
|
-
|
|
72
|
-
```
|
|
73
|
-
What programming languages do I prefer?
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### list_projects
|
|
77
|
-
List all available context projects.
|
|
78
|
-
|
|
79
|
-
### list_sources
|
|
80
|
-
See all data sources connected to a project (GitHub, Notion, Confluence, etc).
|
|
81
|
-
|
|
82
|
-
### add_context
|
|
83
|
-
Add text content directly to your knowledge base.
|
|
84
|
-
|
|
85
|
-
```
|
|
86
|
-
Add this API documentation to my docs project
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### track_conversation
|
|
90
|
-
Record conversation messages for context tracking.
|
|
91
|
-
|
|
74
|
+
|
|
75
|
+
```
|
|
76
|
+
Remember that I prefer TypeScript over JavaScript
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### search_memories
|
|
80
|
+
Recall facts and preferences from previous interactions.
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
What programming languages do I prefer?
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
### list_projects
|
|
87
|
+
List all available context projects.
|
|
88
|
+
|
|
89
|
+
### list_sources
|
|
90
|
+
See all data sources connected to a project (GitHub, Notion, Confluence, etc).
|
|
91
|
+
|
|
92
|
+
### add_context
|
|
93
|
+
Add text content directly to your knowledge base.
|
|
94
|
+
|
|
95
|
+
```
|
|
96
|
+
Add this API documentation to my docs project
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### track_conversation
|
|
100
|
+
Record conversation messages for context tracking.
|
|
101
|
+
|
|
92
102
|
### get_conversation
|
|
93
103
|
Retrieve conversation history for a session.
|
|
94
104
|
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
-
|
|
164
|
-
-
|
|
165
|
-
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
105
|
+
### get_relevant_context
|
|
106
|
+
Core retrieval contract with ranked evidence payloads (`path:line` ready).
|
|
107
|
+
|
|
108
|
+
### claim_verifier
|
|
109
|
+
Checks a claim and returns `supported | partial | unsupported` with evidence spans.
|
|
110
|
+
|
|
111
|
+
### evidence_locked_answer
|
|
112
|
+
Returns a cited answer only when thresholds are met; otherwise returns explicit abstain payload.
|
|
113
|
+
|
|
114
|
+
### forget
|
|
115
|
+
Deletes or invalidates memories with immutable audit metadata.
|
|
116
|
+
|
|
117
|
+
### export_context_bundle / import_context_bundle
|
|
118
|
+
Round-trip project/workspace context in a portable bundle with checksum verification.
|
|
119
|
+
|
|
120
|
+
### diff_context
|
|
121
|
+
Deterministic change view anchored by `session_id`, `timestamp`, or `commit`.
|
|
122
|
+
|
|
123
|
+
## Usage Examples
|
|
124
|
+
|
|
125
|
+
Once configured, you can chat with Claude Desktop naturally:
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
You: "Query my engineering-docs project for how to deploy to production"
|
|
129
|
+
Claude: [Uses query_context tool to search your docs]
|
|
130
|
+
|
|
131
|
+
You: "Remember that our staging environment is at staging.example.com"
|
|
132
|
+
Claude: [Uses add_memory to store this fact]
|
|
133
|
+
|
|
134
|
+
You: "What projects do I have?"
|
|
135
|
+
Claude: [Uses list_projects to show all your context projects]
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Features
|
|
139
|
+
|
|
140
|
+
- **Semantic Search**: Vector embeddings + BM25 hybrid search
|
|
141
|
+
- **Conversational Memory**: Persistent memories across sessions
|
|
142
|
+
- **Knowledge Graph**: Graph-based context traversal
|
|
143
|
+
- **Auto-sync Sources**: GitHub, Notion, Confluence, Slack, and 10+ more
|
|
144
|
+
- **Direct Ingestion**: Add content directly from conversations
|
|
145
|
+
- **Session Tracking**: Maintains conversation context
|
|
146
|
+
|
|
147
|
+
## Architecture
|
|
148
|
+
|
|
149
|
+
The MCP server connects to your Whisper Context API:
|
|
150
|
+
- **Whisper Context API** for semantic search, memory, and knowledge graph
|
|
151
|
+
- **Stdio Transport** for Claude Desktop communication
|
|
152
|
+
- **Zero dependencies** on database or infrastructure
|
|
153
|
+
|
|
154
|
+
## Environment Variables
|
|
155
|
+
|
|
156
|
+
| Variable | Required | Description |
|
|
157
|
+
|----------|----------|-------------|
|
|
158
|
+
| `WHISPER_API_KEY` | Yes | Your Whisper API key (get from dashboard) |
|
|
159
|
+
| `WHISPER_PROJECT` | Optional | Default project name/slug for all operations |
|
|
160
|
+
| `WHISPER_BASE_URL` | Optional | Custom API endpoint (defaults to https://context.usewhisper.dev) |
|
|
161
|
+
|
|
162
|
+
## Troubleshooting
|
|
163
|
+
|
|
164
|
+
### Server not appearing in Claude Desktop
|
|
165
|
+
|
|
166
|
+
1. Check the config file path is correct
|
|
167
|
+
2. Verify JSON syntax is valid
|
|
168
|
+
3. Restart Claude Desktop completely
|
|
169
|
+
4. Check Claude Desktop logs: `~/Library/Logs/Claude/` (Mac) or `%APPDATA%\Claude\logs\` (Windows)
|
|
170
|
+
|
|
171
|
+
### Connection errors
|
|
172
|
+
|
|
173
|
+
- Verify your `WHISPER_API_KEY` is valid (starts with `wctx_`)
|
|
174
|
+
- Check that you have network connectivity to the API
|
|
175
|
+
- Ensure your API key has the necessary permissions
|
|
176
|
+
|
|
177
|
+
### "Project not found" errors
|
|
178
|
+
|
|
179
|
+
- Make sure your project name/slug is correct
|
|
180
|
+
- Set `WHISPER_PROJECT` in config for a default project
|
|
181
|
+
- Use `list_projects` tool to see all available projects
|
|
182
|
+
|
|
183
|
+
### No results from queries
|
|
184
|
+
|
|
185
|
+
- Make sure your project has data sources connected or documents ingested
|
|
186
|
+
- Verify the project name/slug matches exactly
|
|
187
|
+
- Check that sources have been synced successfully in the dashboard
|
|
188
|
+
|
|
189
|
+
## Links
|
|
190
|
+
|
|
191
|
+
- [Documentation](https://docs.usewhisper.dev/mcp)
|
|
192
|
+
- [MCP Protocol](https://modelcontextprotocol.io)
|
|
193
|
+
- [GitHub](https://github.com/usewhisper/whisper)
|
|
194
|
+
- [Website](https://usewhisper.dev)
|
|
195
|
+
|
|
196
|
+
## License
|
|
197
|
+
|
|
198
|
+
MIT
|