Give Cursor a Memory in One-Shot with MCP and 10x Your Productivity
There are dozens of posts about variations of Cline’s Memory Bank ( [https://docs.cline.bot/improving-your-prompting-skills/cline-memory-bank](https://docs.cline.bot/improving-your-prompting-skills/cline-memory-bank) ). Most of them do an excellent job - context files that describe different aspects of your project significantly improve the vibe-coding experience.
But there’s one catch: filling out all those context files manually for every single project can be tiring.
To solve this, I built a simple MCP server that automatically generates Memory Bank files locally: [https://github.com/ipospelov/mcp-memory-bank](https://github.com/ipospelov/mcp-memory-bank)
How it works:
1. Write a brief description of your project - no special format required
2. Ask Cursor to build a Memory Bank:
`Create Memory Bank files with your tools based on *your_description*`
3. Cursor fetches templates via the MCP server
4. It creates context files based on your description and the templates
5. As you keep working, Cursor updates the Memory Bank automatically
It is also important to move memory\_bank\_instructions.md into native Cursor rule with .mdc extension and apply it always.
You can also use it to generate a Memory Bank for your codebase. Just ask:
`Analyze and describe project. Create Memory Bank files with your tools based on description`
Here’s how to setup the MCP server in your Cursor `mcp.json` config:
{
"mcpServers": {
"mcp-memory-bank": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/ipospelov/mcp-memory-bank",
"mcp_memory_bank"
]
}
}
}
I also created an interactive course that shows how to set up a Memory Bank and build applications with it. It works within Cursor IDE and guides you from setting up MCP Server to running an application.
Check it out here, it’s free: [https://enlightby.ai/projects/37](https://enlightby.ai/projects/37)
Hope you find this useful!
Generate optimized .cursorrules files tailored to your project's tech stack, conventions, and team preferences. Covers TypeScript, Python, Rust, Go, and more.
Leverage Cursor's Agent mode to build complete features end-to-end. Handles file creation, terminal commands, dependency installation, and multi-file edits in one flow.
Generate complete React components with TypeScript types, props interface, stories, and unit tests in one prompt.
Generate robust Next.js API routes with Zod validation, error handling, rate limiting, and TypeScript types.
Design database tables with proper types, constraints, indexes, and migration files for PostgreSQL/Supabase.
Generate FastAPI endpoints with Pydantic request/response models, dependency injection, and async database operations.