#766·mcp-agent

Document an opt-in Memcode memory workflow for MCP Agent

Author: vivekgupta-memcodeCreated Sep 27, 2026Updated Sep 27, 2026

Hi @lastmile-ai team, I am Vivek Gupta, Founder & CEO at memcode.in Since MCP Agent already works with MCP servers, the most useful first step may be a documented composition example rather than new memory backend code. It could show an application connecting to Memcode alongside its other MCP tools, then explicitly retrieving or saving user-approved context when the workflow asks for it.

I’m Vivek Gupta, founder of Memcode. The example should leave orchestration in MCP Agent, keep memory disabled until the app opts in, and avoid treating retrieved notes as instructions or permission. Hosted users can connect through https://mcp.memcode.in/mcp using OAuth/PKCE and dynamic client registration, without a long-lived API key in config.

Would a runnable example under the existing MCP integration docs be appropriate? I can send a focused docs and test PR.