@cachly-dev/mcp-server 0.9.9 → 0.9.10
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/dist/index.js +42 -17
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +44 -17
package/dist/index.js
CHANGED
|
@@ -2363,7 +2363,12 @@ const TOOLS = [
|
|
|
2363
2363
|
// ── Instance Management ──────────────────────────────────────────────────
|
|
2364
2364
|
{
|
|
2365
2365
|
name: 'list_instances',
|
|
2366
|
-
description: 'List all your cachly cache instances with their status and connection details.'
|
|
2366
|
+
description: 'List all your cachly cache instances with their status and connection details. ' +
|
|
2367
|
+
'Read-only. Returns an array of instance objects — each with id, name, tier, status, region, RAM, ' +
|
|
2368
|
+
'and redis:// connection string. Returns an empty array if no instances exist. ' +
|
|
2369
|
+
'No pagination: all instances are returned in one call (typical accounts have < 20). ' +
|
|
2370
|
+
'Use this first to discover instance UUIDs required by get_instance, cache_get, cache_set, ' +
|
|
2371
|
+
'and all other cache tools. Use get_instance to retrieve full metadata for a single instance.',
|
|
2367
2372
|
inputSchema: { type: 'object', properties: {}, required: [] },
|
|
2368
2373
|
},
|
|
2369
2374
|
{
|
|
@@ -2387,7 +2392,11 @@ const TOOLS = [
|
|
|
2387
2392
|
},
|
|
2388
2393
|
{
|
|
2389
2394
|
name: 'get_instance',
|
|
2390
|
-
description: 'Get
|
|
2395
|
+
description: 'Get full metadata for a specific cache instance: name, tier, status (provisioning / running / paused), ' +
|
|
2396
|
+
'region, RAM limit, Redis connection string, created_at, and expiry. Read-only. ' +
|
|
2397
|
+
'Returns an error if the instance_id is not found or belongs to another account. ' +
|
|
2398
|
+
'Call list_instances first to discover valid UUIDs. ' +
|
|
2399
|
+
'Use get_connection_string instead if you only need the redis:// URL for your app config.',
|
|
2391
2400
|
inputSchema: {
|
|
2392
2401
|
type: 'object',
|
|
2393
2402
|
properties: {
|
|
@@ -2517,11 +2526,15 @@ const TOOLS = [
|
|
|
2517
2526
|
{
|
|
2518
2527
|
name: 'cache_stats',
|
|
2519
2528
|
description: 'Get real-time stats for a cache instance: memory usage, hit/miss rate, commands/sec, ' +
|
|
2520
|
-
'connected clients, keyspace info, and uptime.'
|
|
2529
|
+
'connected clients, keyspace info, and uptime. Read-only — no side effects. ' +
|
|
2530
|
+
'The instance_id identifies the target instance (obtain from list_instances). ' +
|
|
2531
|
+
'Use this for monitoring, capacity planning, or debugging performance issues — ' +
|
|
2532
|
+
'not for reading cached values (use cache_get for that). ' +
|
|
2533
|
+
'Use cache_exists or cache_ttl if you only need key-level information.',
|
|
2521
2534
|
inputSchema: {
|
|
2522
2535
|
type: 'object',
|
|
2523
2536
|
properties: {
|
|
2524
|
-
instance_id: { type: 'string' },
|
|
2537
|
+
instance_id: { type: 'string', description: 'UUID of the cache instance (from list_instances)' },
|
|
2525
2538
|
},
|
|
2526
2539
|
required: ['instance_id'],
|
|
2527
2540
|
},
|
|
@@ -3339,8 +3352,12 @@ const TOOLS = [
|
|
|
3339
3352
|
{
|
|
3340
3353
|
name: 'import_public_brain',
|
|
3341
3354
|
description: 'Import community lessons from the Cachly Public Brain for a framework. ' +
|
|
3342
|
-
'
|
|
3343
|
-
'
|
|
3355
|
+
'Non-destructive: existing lessons with the same topic key are not overwritten. ' +
|
|
3356
|
+
'Returns the count of lessons imported and their topic slugs. ' +
|
|
3357
|
+
'Available frameworks: nextjs, fastapi, go, docker, kubernetes, react, typescript, python, rust, laravel, rails, spring. ' +
|
|
3358
|
+
'Use this to bootstrap a new brain with battle-tested community knowledge before your first session_start. ' +
|
|
3359
|
+
'Use publish_lesson to contribute your own lessons to the Public Brain; ' +
|
|
3360
|
+
'use learn_from_attempts for storing lessons from your own sessions.',
|
|
3344
3361
|
inputSchema: {
|
|
3345
3362
|
type: 'object',
|
|
3346
3363
|
properties: {
|
|
@@ -3545,12 +3562,16 @@ const TOOLS = [
|
|
|
3545
3562
|
},
|
|
3546
3563
|
{
|
|
3547
3564
|
name: 'causal_trace',
|
|
3548
|
-
description: 'Root Cause Analysis through memory
|
|
3549
|
-
'
|
|
3550
|
-
'
|
|
3565
|
+
description: 'Root Cause Analysis through memory: given a problem description, traces the causal chain ' +
|
|
3566
|
+
'from root cause through intermediate failures to the current symptom, then surfaces the ' +
|
|
3567
|
+
'exact solution that worked before. Read-only — does not modify any stored data. ' +
|
|
3568
|
+
'Requires prior learning: brain must have lessons stored via learn_from_attempts or brain_from_git. ' +
|
|
3569
|
+
'Returns an ordered chain of concepts with confidence scores plus the matching solution; ' +
|
|
3570
|
+
'returns an empty chain with a message if no causal path is found. ' +
|
|
3551
3571
|
'Example: causal_trace(problem="auth breaks after restart") → ' +
|
|
3552
|
-
'"Root: k8s:namespace-terminating → keycloak:jwks-race → Solution
|
|
3553
|
-
'
|
|
3572
|
+
'"Root: k8s:namespace-terminating → keycloak:jwks-race → Solution: PollUntilContextTimeout 3min". ' +
|
|
3573
|
+
'Use recall_best_solution for direct topic lookup, syndicate_search for community patterns, ' +
|
|
3574
|
+
'and causal_trace when you have a symptom and need the full root-cause chain.',
|
|
3554
3575
|
inputSchema: {
|
|
3555
3576
|
type: 'object',
|
|
3556
3577
|
properties: {
|
|
@@ -3581,12 +3602,16 @@ const TOOLS = [
|
|
|
3581
3602
|
},
|
|
3582
3603
|
{
|
|
3583
3604
|
name: 'autopilot',
|
|
3584
|
-
description: '
|
|
3585
|
-
'
|
|
3586
|
-
'
|
|
3587
|
-
'
|
|
3588
|
-
'
|
|
3589
|
-
'
|
|
3605
|
+
description: 'Generate a CLAUDE.md / copilot-instructions.md that makes any AI self-managing forever. ' +
|
|
3606
|
+
'Writes a configuration file to disk — will overwrite an existing file at the target path. ' +
|
|
3607
|
+
'No auth required beyond a valid instance_id. ' +
|
|
3608
|
+
'The generated file instructs Claude, Cursor, Copilot, Windsurf, or Gemini to automatically ' +
|
|
3609
|
+
'call session_start at window open, learn_from_attempts after every fix, and session_end ' +
|
|
3610
|
+
'before closing — without being asked. ' +
|
|
3611
|
+
'Returns the generated file content as a string and the path where it was written. ' +
|
|
3612
|
+
'Use style="minimal" for just the three hooks; style="full" for the complete ruleset with examples. ' +
|
|
3613
|
+
'One command. Every AI. Always on. ' +
|
|
3614
|
+
'Use setup_ai_memory instead if you want an interactive one-shot setup that also creates an instance.',
|
|
3590
3615
|
inputSchema: {
|
|
3591
3616
|
type: 'object',
|
|
3592
3617
|
properties: {
|