copilot-money-mcp 1.2.1 → 1.2.3
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 +46 -19
- package/dist/cli.js +12488 -9286
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -65,6 +65,30 @@ Then add to your Claude Desktop configuration (`~/Library/Application Support/Cl
|
|
|
65
65
|
}
|
|
66
66
|
```
|
|
67
67
|
|
|
68
|
+
### Installation for Cursor
|
|
69
|
+
|
|
70
|
+
1. Install the package globally:
|
|
71
|
+
```bash
|
|
72
|
+
npm install -g copilot-money-mcp
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
2. Open Cursor Settings (`Cmd + ,`)
|
|
76
|
+
|
|
77
|
+
3. Search for "MCP" or go to **Features > MCP Servers**
|
|
78
|
+
|
|
79
|
+
4. Add the server configuration:
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"mcpServers": {
|
|
83
|
+
"copilot-money": {
|
|
84
|
+
"command": "copilot-money-mcp"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
5. Done
|
|
91
|
+
|
|
68
92
|
### Manual Installation for Development
|
|
69
93
|
|
|
70
94
|
```bash
|
|
@@ -73,13 +97,13 @@ git clone https://github.com/ignaciohermosillacornejo/copilot-money-mcp.git
|
|
|
73
97
|
cd copilot-money-mcp
|
|
74
98
|
|
|
75
99
|
# Install dependencies
|
|
76
|
-
|
|
100
|
+
bun install
|
|
77
101
|
|
|
78
102
|
# Build the project
|
|
79
|
-
|
|
103
|
+
bun run build
|
|
80
104
|
|
|
81
105
|
# Run tests
|
|
82
|
-
|
|
106
|
+
bun test
|
|
83
107
|
```
|
|
84
108
|
|
|
85
109
|
## First-Time Setup
|
|
@@ -184,27 +208,30 @@ See tool schemas in Claude Desktop or use the MCP Inspector for complete paramet
|
|
|
184
208
|
|
|
185
209
|
```bash
|
|
186
210
|
# Install dependencies
|
|
187
|
-
|
|
211
|
+
bun install
|
|
188
212
|
|
|
189
213
|
# Run tests
|
|
190
|
-
|
|
214
|
+
bun test
|
|
191
215
|
|
|
192
216
|
# Build for production
|
|
193
|
-
|
|
217
|
+
bun run build
|
|
194
218
|
|
|
195
219
|
# Build .mcpb bundle
|
|
196
|
-
|
|
220
|
+
bun run pack:mcpb
|
|
197
221
|
|
|
198
222
|
# Type checking
|
|
199
|
-
|
|
223
|
+
bun run typecheck
|
|
200
224
|
|
|
201
225
|
# Linting
|
|
202
|
-
|
|
203
|
-
|
|
226
|
+
bun run lint
|
|
227
|
+
bun run lint:fix
|
|
204
228
|
|
|
205
229
|
# Formatting
|
|
206
|
-
|
|
207
|
-
|
|
230
|
+
bun run format
|
|
231
|
+
bun run format:check
|
|
232
|
+
|
|
233
|
+
# Run all checks (typecheck + lint + format + test)
|
|
234
|
+
bun run check
|
|
208
235
|
```
|
|
209
236
|
|
|
210
237
|
### Project Structure
|
|
@@ -240,25 +267,25 @@ copilot-money-mcp/
|
|
|
240
267
|
- **Language:** TypeScript 5.3+
|
|
241
268
|
- **Validation:** Zod schemas
|
|
242
269
|
- **Database:** LevelDB (classic-level) + Protocol Buffers
|
|
243
|
-
- **Testing:** Bun test runner (
|
|
270
|
+
- **Testing:** Bun test runner (772 tests, 100% passing)
|
|
244
271
|
- **MCP SDK:** @modelcontextprotocol/sdk v1.2
|
|
245
272
|
|
|
246
273
|
## Testing
|
|
247
274
|
|
|
248
275
|
```bash
|
|
249
276
|
# Run all tests
|
|
250
|
-
|
|
277
|
+
bun test
|
|
251
278
|
|
|
252
279
|
# Watch mode
|
|
253
|
-
|
|
280
|
+
bun test --watch
|
|
254
281
|
|
|
255
|
-
#
|
|
256
|
-
|
|
282
|
+
# Run specific test file
|
|
283
|
+
bun test tests/tools/tools.test.ts
|
|
257
284
|
```
|
|
258
285
|
|
|
259
286
|
**Test Coverage:**
|
|
260
|
-
- ✅
|
|
261
|
-
- ✅
|
|
287
|
+
- ✅ 772 tests passing
|
|
288
|
+
- ✅ 1920+ assertions
|
|
262
289
|
- ✅ Core decoder tests
|
|
263
290
|
- ✅ Database abstraction tests
|
|
264
291
|
- ✅ Tool implementation tests
|