@cachly-dev/mcp-server 0.10.116 โ 0.10.117
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 +6 -1
- package/dist/src/index.js +2 -19
- package/dist/src/index.js.map +1 -1
- package/dist/src/tools.d.ts +0 -196
- package/dist/src/tools.js +0 -178
- package/dist/src/tools.js.map +1 -1
- package/dist/src/toolspecs.d.ts +1 -1
- package/dist/src/toolspecs.js +1 -1
- package/glama.json +1 -1
- package/package.json +13 -3
- package/server.json +3 -3
- package/dist/src/handlers/tco.d.ts +0 -16
- package/dist/src/handlers/tco.js +0 -304
- package/dist/src/handlers/tco.js.map +0 -1
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<img src="https://img.shields.io/badge/GDPR-EU%20servers-green" alt="GDPR: EU servers" />
|
|
23
23
|
</a>
|
|
24
24
|
|
|
25
|
-
<img src="https://img.shields.io/badge/140%20MCP%20tools-violet" alt="
|
|
25
|
+
<img src="https://img.shields.io/badge/140%20MCP%20tools-violet" alt="126 MCP tools" />
|
|
26
26
|
|
|
27
27
|
<img src="https://img.shields.io/badge/License-Apache--2.0-yellow" alt="License: Apache-2.0" />
|
|
28
28
|
</p>
|
|
@@ -293,6 +293,11 @@ MCP tool โ bulk-ingests past outcomes the same way `brain_from_git` ingests co
|
|
|
293
293
|
|
|
294
294
|
## MCP Tools (140 total)
|
|
295
295
|
|
|
296
|
+
The full tool catalog is generated from `sdk/mcp/src/tools.ts`. Cross-surface
|
|
297
|
+
coverage is tracked in [`../../docs/generated/surface-parity.md`](../../docs/generated/surface-parity.md),
|
|
298
|
+
and pinned OpenAPI/OpenAI/Anthropic/LangChain projections live in
|
|
299
|
+
[`../../docs/generated/tool-specs/`](../../docs/generated/tool-specs/).
|
|
300
|
+
|
|
296
301
|
### ๐ง Session & Memory (most used)
|
|
297
302
|
|
|
298
303
|
| Tool | What it does |
|
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { jwtExpiryMs, checkJwt, handleApiError, diagnoseAuth, planAuthHeal, readClientCredentialsFromEnv, buildClientCredentialsBody, clientCredentialsTokenUrl } from './auth.js';
|
|
3
|
-
import { handleTcoTool } from './handlers/tco.js';
|
|
4
3
|
import { notify } from './notifier.js';
|
|
5
4
|
import { fileURLToPath } from 'node:url';
|
|
6
5
|
import { createRequire } from 'node:module';
|
|
@@ -37,24 +36,12 @@ const _isMain = process.argv[1] != null &&
|
|
|
37
36
|
* โโ Auth & Status โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
38
37
|
* โข get_api_status โ check API health + JWT auth info (Keycloak)
|
|
39
38
|
*
|
|
40
|
-
* โโ Travel Chaos Organizer (TCO) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
41
|
-
* โข tco_list_trips โ list all trips
|
|
42
|
-
* โข tco_create_trip โ create a new trip
|
|
43
|
-
* โข tco_get_timeline โ get timeline items for a trip
|
|
44
|
-
* โข tco_delete_trip โ delete a trip
|
|
45
|
-
* โข tco_inbox_list โ list Chaos Inbox items
|
|
46
|
-
* โข tco_inbox_assign โ assign inbox item to a trip
|
|
47
|
-
* โข tco_inbox_reject โ reject/discard an inbox item
|
|
48
|
-
* โข tco_parse_url โ fetch a URL and parse with Ollama
|
|
49
|
-
* โข tco_import_email โ import raw email text
|
|
50
|
-
* (Requires TCO_API_URL env var; auth forwarded from CACHLY_JWT โ same Keycloak realm)
|
|
51
39
|
*
|
|
52
40
|
* Configuration (env vars):
|
|
53
41
|
* CACHLY_API_URL โ default https://api.cachly.dev
|
|
54
42
|
* CACHLY_JWT โ your JWT (Keycloak access token)
|
|
55
43
|
* CACHLY_EMBED_PROVIDER โ embedding backend: openai (default), gemini, mistral, cohere, ollama, cachly (server fallback)
|
|
56
44
|
* CACHLY_EMBED_MODEL โ override embedding model (optional)
|
|
57
|
-
* TCO_API_URL โ Travel Chaos Organizer backend URL (optional, enables tco_* tools)
|
|
58
45
|
*/
|
|
59
46
|
import { Server } from '@modelcontextprotocol/sdk/server/index.js';
|
|
60
47
|
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
@@ -882,7 +869,7 @@ async function handleTool(name, args) {
|
|
|
882
869
|
'',
|
|
883
870
|
'After sign-in: call **any tool again** โ your Brain activates instantly.',
|
|
884
871
|
'',
|
|
885
|
-
'โจ Free forever ยท No credit card ยท
|
|
872
|
+
'โจ Free forever ยท No credit card ยท 126 MCP tools ยท GDPR ยท EU servers',
|
|
886
873
|
].join('\n');
|
|
887
874
|
}
|
|
888
875
|
// Device flow unavailable (network issue) โ fall back to manual setup
|
|
@@ -1071,10 +1058,6 @@ async function handleTool(name, args) {
|
|
|
1071
1058
|
}
|
|
1072
1059
|
return fedbrainResult;
|
|
1073
1060
|
}
|
|
1074
|
-
// Delegate Travel Chaos Organizer tools (requires TCO_API_URL env var)
|
|
1075
|
-
const tcoResult = await handleTcoTool(name, args, JWT ?? '');
|
|
1076
|
-
if (tcoResult !== null)
|
|
1077
|
-
return tcoResult;
|
|
1078
1061
|
switch (name) {
|
|
1079
1062
|
// โโ Instance management โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
1080
1063
|
case 'get_api_status': {
|
|
@@ -2341,7 +2324,7 @@ if (!process.argv[2] && process.stdout.isTTY) {
|
|
|
2341
2324
|
console.log(' \x1b[36m npx @cachly-dev/mcp-server@latest upgrade\x1b[0m โ Check for updates');
|
|
2342
2325
|
console.log('');
|
|
2343
2326
|
console.log(' \x1b[90mWorks with: Claude Code ยท Cursor ยท Windsurf ยท GitHub Copilot ยท Cline ยท Zed\x1b[0m');
|
|
2344
|
-
console.log(' \x1b[90mFree forever ยท GDPR ยท German servers ยท
|
|
2327
|
+
console.log(' \x1b[90mFree forever ยท GDPR ยท German servers ยท 126 MCP tools\x1b[0m');
|
|
2345
2328
|
console.log('');
|
|
2346
2329
|
process.exit(0);
|
|
2347
2330
|
}
|