This repository was archived by the owner on Sep 27, 2026. It is now read-only.
Repository navigation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi team,
I'm encountering a timeout issue when running Cipher as an MCP server in SSE mode and connecting it to RooCode in VS Code.
🧩 Environment Details
.envfile:memAgent/cipher.yml:⚙️ How I Start the MCP
I start Cipher in MCP mode using:
🧠 RooCode MCP Setup
Inside RooCode’s configuration:
{ "mcpServers": { "cipher-sse": { "url": "http://localhost:4000/sse", "disabled": false, "alwaysAllow": [], "timeout": 60, "disabledTools": [] } } }💬 Example Prompt Triggering Timeout
When I send a message like:
{ "message": "Store this important naming convention for the cipher project: We do not use short format folder names in our testing. For example, 'Lib' is wrong - we should use 'Library' instead. Always use full, descriptive folder names rather than abbreviated versions." }RooCode shows:
🪵 Log Output (Excerpt)
The relevant log snippet shows repeated embedding calls and eventually:
This suggests the agent is repeatedly calling the amazon.titan-embed-text-v2:0 model, possibly stuck in a loop or retry cycle during embedding.
✅ Additional Notes
❓Request for Guidance
Could you please advise on:
cipher.ymlmight be causing a recursion or repeated call pattern?Part of the logs as follows
~/repos/cipher on main !4 ?4 node dist/src/app/index.cjs --mode mcp --mcp-transport-type sse --mcp-port 4000 ✔ at 20:59:28
[CIPHER-MCP] Log redirection activated: /var/folders/ts/dhcpj54x7p512cnr753l_6nh0000gn/T/cipher-mcp.log
20:59:33 INFO: MCP Manager: MCPManager initialized
20:59:33 INFO: MCP Manager: Initializing 0 servers (0 disabled)
20:59:33 INFO: MCP Manager: Initialization complete
accessKeyId <My_AWS_accessKeyId>
secretAccessKey <My_AWS_secretAccessKey>
20:59:33 DEBUG: Overriding vector store dimension from agent config
20:59:33 DEBUG: Creating new dual collection vector store instance
20:59:33 INFO: [VectorStoreFactory] Creating dual collection vector storage from environment
20:59:33 INFO: DualCollectionVectorManager: Initialized with dual collections
20:59:33 INFO: DualCollectionVectorManager: Connecting collections...
20:59:33 INFO: [VectorStoreManager] Vector storage system connected
20:59:33 INFO: DualCollectionVectorManager: Knowledge collection connected
20:59:33 INFO: [VectorStoreManager] Vector storage system connected
20:59:33 INFO: DualCollectionVectorManager: Reflection collection connected
20:59:33 INFO: [KG-Factory] Knowledge graph is disabled in environment
logging to check if it is initializing postgres
doesnt seem to be initializing postgres
20:59:33 INFO: [StorageManager] Initialized with configuration
20:59:33 INFO: [StorageManager] Starting connection attempt 1
20:59:33 INFO: InMemoryBackend connected
20:59:33 INFO: [StorageManager:Cache] Connected successfully
20:59:33 INFO: SQLite backend connected successfully
20:59:33 INFO: [StorageManager:Database] Connected successfully
20:59:33 INFO: [StorageManager] Storage system connected
Tools config args {
enableInternalTools: true,
enableMcpTools: true,
conflictResolution: 'prefix-internal',
executionTimeout: 30000,
mode: 'cli'
}
🔍 [7lalji] search_memory tool called with: {
query: 'Portal tribe naming conventions or rules, especially related to folder naming',
top_k: 3,
similarity_threshold: undefined,
sessionId: undefined,
toolName: 'cipher_memory_search'
}
aws bedrock embedder received: Portal tribe naming conventions or rules, especially related to folder naming
aws bedrock embedder body: {
"inputText": "Portal tribe naming conventions or rules, especially related to folder naming",
"dimensions": 256
}
aws bedrock embedder calling: InvokeModelCommand {
middlewareStack: {
add: [Function: add],
addRelativeTo: [Function: addRelativeTo],
clone: [Function: clone],
use: [Function: use],
remove: [Function: remove],
removeByTag: [Function: removeByTag],
concat: [Function: concat],
applyToStack: [Function: cloneTo],
identify: [Function: identify],
identifyOnResolve: [Function: identifyOnResolve],
resolve: [Function: resolve]
},
schema: undefined,
input: {
modelId: 'amazon.titan-embed-text-v2:0',
body: '{"inputText":"Portal tribe naming conventions or rules, especially related to folder naming","dimensions":256}',
contentType: 'application/json',
accept: 'application/json'
},
serialize: [AsyncFunction: se_InvokeModelCommand],
deserialize: [AsyncFunction: de_InvokeModelCommand]
}
aws bedrock embedder model: amazon.titan-embed-text-v2:0
aws bedrock embedder region: eu-central-1
aws bedrock embedder client config: {
"region": "eu-central-1",
"credentials": {
"accessKeyId": "SET",
"secretAccessKey": "SET"
}
}
aws bedrock embedder responsed: {
embedding: [
-0.033522460609674454, 0.11060833185911179, -0.05039907246828079,
0.04811713099479675, 0.007985599339008331, 0.11437007039785385,
0.10904474556446075, 0.002132885390892625, -0.017422854900360107,
0.01661292091012001, 0.028363844379782677, 0.039617910981178284,
0.04010144993662834, 0.029601793736219406, -0.017693432047963142,
-0.022209426388144493, -0.04533474147319794, 0.0009326509898528457,
0.0220709927380085, 0.13245081901550293, 0.058077581226825714,
0.0764438584446907, -0.0020544661674648523, 0.03814590349793434,
-0.06762976944446564, -0.08366920799016953, 0.066106878221035,
0.0987275168299675, 0.066970095038414, 0.08951295167207718,
-0.057393357157707214, -0.017999624833464622, -0.015269615687429905,
-0.009434262290596962, 0.055949486792087555, 0.11161761730909348,
0.005580341909080744, 0.10536232590675354, 0.015647346153855324,
-0.009406725876033306, 0.030178863555192947, -0.05526211857795715,
-0.0016358058201149106, -0.06398887932300568, -0.07039779424667358,
-0.0457274354994297, 0.08486524969339371, 0.0928792878985405,
-0.017786817625164986, 0.08850247412919998, 0.1030752956867218,
0.02675594948232174, -0.023664673790335655, -0.0034522453788667917,
0.0111265629529953, 0.05859777703881264, -0.049081359058618546,
-0.0784660056233406, 0.017594659700989723, -0.06715985387563705,
-0.10121358931064606, 0.025565892457962036, 0.06168666109442711,
0.1419413536787033, 0.021219905465841293, 0.04335929453372955,
-0.125729501247406, 0.04027280583977699, -0.05046611651778221,
0.19731256365776062, 0.010377089492976665, 0.030658360570669174,
-0.021149268373847008, 0.10560985654592514, 0.02576780505478382,
-0.0532844252884388, 0.04017043858766556, 0.043700505048036575,
0.05686312913894653, -0.019373759627342224, -0.09888256341218948,
0.016236986964941025, 0.03203877806663513, -0.017647039145231247,
0.06812602281570435, 0.03562990203499794, 0.08601221442222595,
-0.04937633126974106, 0.040856461971998215, -0.11056762933731079,
0.07313138991594315, -0.02629920095205307, 0.13083334267139435,
0.12195579707622528, -0.0074719833210110664, -0.017224710434675217,
0.0027261183131486177, 0.02574128843843937, 0.1524674892425537,
0.030407236889004707,
... 156 more items
],
embeddingsByType: {
float: [
-0.033522460609674454, 0.11060833185911179, -0.05039907246828079,
0.04811713099479675, 0.007985599339008331, 0.11437007039785385,
0.10904474556446075, 0.002132885390892625, -0.017422854900360107,
0.01661292091012001, 0.028363844379782677, 0.039617910981178284,
0.04010144993662834, 0.029601793736219406, -0.017693432047963142,
-0.022209426388144493, -0.04533474147319794, 0.0009326509898528457,
0.0220709927380085, 0.13245081901550293, 0.058077581226825714,
0.0764438584446907, -0.0020544661674648523, 0.03814590349793434,
-0.06762976944446564, -0.08366920799016953, 0.066106878221035,
0.0987275168299675, 0.066970095038414, 0.08951295167207718,
-0.057393357157707214, -0.017999624833464622, -0.015269615687429905,
-0.009434262290596962, 0.055949486792087555, 0.11161761730909348,
0.005580341909080744, 0.10536232590675354, 0.015647346153855324,
-0.009406725876033306, 0.030178863555192947, -0.05526211857795715,
-0.0016358058201149106, -0.06398887932300568, -0.07039779424667358,
-0.0457274354994297, 0.08486524969339371, 0.0928792878985405,
-0.017786817625164986, 0.08850247412919998, 0.1030752956867218,
0.02675594948232174, -0.023664673790335655, -0.0034522453788667917,
0.0111265629529953, 0.05859777703881264, -0.049081359058618546,
-0.0784660056233406, 0.017594659700989723, -0.06715985387563705,
-0.10121358931064606, 0.025565892457962036, 0.06168666109442711,
0.1419413536787033, 0.021219905465841293, 0.04335929453372955,
-0.125729501247406, 0.04027280583977699, -0.05046611651778221,
0.19731256365776062, 0.010377089492976665, 0.030658360570669174,
-0.021149268373847008, 0.10560985654592514, 0.02576780505478382,
-0.0532844252884388, 0.04017043858766556, 0.043700505048036575,
0.05686312913894653, -0.019373759627342224, -0.09888256341218948,
0.016236986964941025, 0.03203877806663513, -0.017647039145231247,
0.06812602281570435, 0.03562990203499794, 0.08601221442222595,
-0.04937633126974106, 0.040856461971998215, -0.11056762933731079,
0.07313138991594315, -0.02629920095205307, 0.13083334267139435,
0.12195579707622528, -0.0074719833210110664, -0.017224710434675217,
0.0027261183131486177, 0.02574128843843937, 0.1524674892425537,
0.030407236889004707,
... 156 more items
]
},
inputTextTokenCount: 13
}
🔍 [ftdb63] search_memory tool called with: {
query: 'Portal tribe naming conventions or rules, specifically about folder naming',
top_k: 3,
similarity_threshold: undefined,
sessionId: undefined,
toolName: 'cipher_memory_search'
}
aws bedrock embedder received: Portal tribe naming conventions or rules, specifically about folder naming
aws bedrock embedder body: {
"inputText": "Portal tribe naming conventions or rules, specifically about folder naming",
"dimensions": 256
}
aws bedrock embedder calling: InvokeModelCommand {
middlewareStack: {
add: [Function: add],
addRelativeTo: [Function: addRelativeTo],
clone: [Function: clone],
use: [Function: use],
remove: [Function: remove],
removeByTag: [Function: removeByTag],
concat: [Function: concat],
applyToStack: [Function: cloneTo],
identify: [Function: identify],
identifyOnResolve: [Function: identifyOnResolve],
resolve: [Function: resolve]
},
schema: undefined,
input: {
modelId: 'amazon.titan-embed-text-v2:0',
body: '{"inputText":"Portal tribe naming conventions or rules, specifically about folder naming","dimensions":256}',
contentType: 'application/json',
accept: 'application/json'
},
serialize: [AsyncFunction: se_InvokeModelCommand],
deserialize: [AsyncFunction: de_InvokeModelCommand]
}
aws bedrock embedder model: amazon.titan-embed-text-v2:0
aws bedrock embedder region: eu-central-1
aws bedrock embedder client config: {
"region": "eu-central-1",
"credentials": {
"accessKeyId": "SET",
"secretAccessKey": "SET"
}
}
aws bedrock embedder responsed: {
embedding: [
-0.04193894937634468, 0.10113546997308731, -0.05803772807121277,
0.05075659975409508, 0.01252841204404831, 0.12051839381456375,
0.1079191267490387, -0.011359941214323044, -0.025956958532333374,
0.018796389922499657, 0.016470767557621002, 0.03526666760444641,
0.04875360429286957, 0.02029765583574772, -0.024344326928257942,
-0.015367905609309673, -0.02634141780436039, 0.0018356984946876764,
0.009873603470623493, 0.13859981298446655, 0.05813613533973694,
0.09297110140323639, -0.0007220107945613563, 0.040961068123579025,
-0.06825544685125351, -0.08306272327899933, 0.057031307369470596,
0.10915844142436981, 0.07540140300989151, 0.08758341521024704,
-0.043533869087696075, -0.023347090929746628, -0.01646486297249794,
-0.013970465399324894, 0.052244577556848526, 0.1029604971408844,
0.00667097233235836, 0.11448192596435547, 0.03318100422620773,
-0.011559388600289822, 0.02536911517381668, -0.06369899958372116,
-0.0021445457823574543, -0.06622423231601715, -0.05968709662556648,
-0.03977390378713608, 0.08018025755882263, 0.0855177640914917,
-0.017119625583291054, 0.10530794411897659, 0.10975874960422516,
0.01770615577697754, -0.026103263720870018, -0.0013941597426310182,
-0.0044954270124435425, 0.056390970945358276, -0.06279557943344116,
-0.071159228682518, 0.01235586404800415, -0.07202262431383133,
-0.1044563576579094, 0.028547145426273346, 0.05599142238497734,
0.13906170427799225, 0.014286693185567856, 0.04056644067168236,
-0.12933340668678284, 0.03177241235971451, -0.05549871176481247,
0.19417987763881683, 0.02237413264811039, 0.02157437615096569,
-0.02263459376990795, 0.11519892513751984, 0.0254832711070776,
-0.04383426904678345, 0.04512747749686241, 0.046499986201524734,
0.05654171109199524, -0.028862059116363525, -0.09499968588352203,
0.020373757928609848, 0.041388172656297684, -0.010467023588716984,
0.05704311281442642, 0.04552636668086052, 0.07681000232696533,
-0.05076242610812187, 0.034838903695344925, -0.1085883155465126,
0.07360638678073883, -0.016512099653482437, 0.1265883892774582,
0.1136978343129158, -0.009690886363387108, -0.030006252229213715,
-0.0006678845384158194, 0.038065649569034576, 0.14984364807605743,
0.03365731239318848,
... 156 more items
],
embeddingsByType: {
float: [
-0.04193894937634468, 0.10113546997308731, -0.05803772807121277,
0.05075659975409508, 0.01252841204404831, 0.12051839381456375,
0.1079191267490387, -0.011359941214323044, -0.025956958532333374,
0.018796389922499657, 0.016470767557621002, 0.03526666760444641,
0.04875360429286957, 0.02029765583574772, -0.024344326928257942,
-0.015367905609309673, -0.02634141780436039, 0.0018356984946876764,
0.009873603470623493, 0.13859981298446655, 0.05813613533973694,
0.09297110140323639, -0.0007220107945613563, 0.040961068123579025,
-0.06825544685125351, -0.08306272327899933, 0.057031307369470596,
0.10915844142436981, 0.07540140300989151, 0.08758341521024704,
-0.043533869087696075, -0.023347090929746628, -0.01646486297249794,
-0.013970465399324894, 0.052244577556848526, 0.1029604971408844,
0.00667097233235836, 0.11448192596435547, 0.03318100422620773,
-0.011559388600289822, 0.02536911517381668, -0.06369899958372116,
-0.0021445457823574543, -0.06622423231601715, -0.05968709662556648,
-0.03977390378713608, 0.08018025755882263, 0.0855177640914917,
-0.017119625583291054, 0.10530794411897659, 0.10975874960422516,
0.01770615577697754, -0.026103263720870018, -0.0013941597426310182,
-0.0044954270124435425, 0.056390970945358276, -0.06279557943344116,
-0.071159228682518, 0.01235586404800415, -0.07202262431383133,
-0.1044563576579094, 0.028547145426273346, 0.05599142238497734,
0.13906170427799225, 0.014286693185567856, 0.04056644067168236,
-0.12933340668678284, 0.03177241235971451, -0.05549871176481247,
0.19417987763881683, 0.02237413264811039, 0.02157437615096569,
-0.02263459376990795, 0.11519892513751984, 0.0254832711070776,
-0.04383426904678345, 0.04512747749686241, 0.046499986201524734,
0.05654171109199524, -0.028862059116363525, -0.09499968588352203,
0.020373757928609848, 0.041388172656297684, -0.010467023588716984,
0.05704311281442642, 0.04552636668086052, 0.07681000232696533,
-0.05076242610812187, 0.034838903695344925, -0.1085883155465126,
0.07360638678073883, -0.016512099653482437, 0.1265883892774582,
0.1136978343129158, -0.009690886363387108, -0.030006252229213715,
-0.0006678845384158194, 0.038065649569034576, 0.14984364807605743,
0.03365731239318848,
... 156 more items
]
},
inputTextTokenCount: 12
}
🔍 [nd9iw] search_memory tool called with: {
query: 'Portal tribe naming conventions or rules, especially related to folder naming',
top_k: 3,
similarity_threshold: undefined,
sessionId: undefined,
toolName: 'cipher_memory_search'
}
aws bedrock embedder received: Portal tribe naming conventions or rules, especially related to folder naming
.
.
.
.
Thanks in advance for your time and support! 🙏
All reactions