
Mode Manager MCP
MCP Memory Agent Server - A VS Code chatmode and instruction manager with library integration
Tools
delete_chatmode
Delete a VS Code .chatmode.md file from the prompts directory.
update_chatmode_from_source
Update a .chatmode.md file from its source definition.
create_chatmode
Create a new VS Code .chatmode.md file with the specified description, content, and tools.
update_chatmode
Update an existing VS Code .chatmode.md file with new description, content, or tools.
list_chatmodes
List all VS Code .chatmode.md files in the prompts directory.
get_chatmode
Get the raw content of a VS Code .chatmode.md file.
create_instruction
Create a new VS Code .instructions.md file with the specified description and content.
update_instruction
Update an existing VS Code .instructions.md file with new description or content.
delete_instruction
Delete a VS Code .instructions.md file from the prompts directory.
refresh_library
Refresh the Mode Manager MCP Library from its source URL.
get_prompts_directory
Get the path to the VS Code prompts directory.
list_instructions
List all VS Code .instructions.md files in the prompts directory.
get_instruction
Get the raw content of a VS Code .instructions.md file.
remember
Store a memory item in your personal AI memory for future conversations.
browse_mode_library
Browse the Mode Manager MCP Library and filter by category or search term.
install_from_library
Install a chatmode or instruction from the Mode Manager MCP Library.
README
<picture> <source media="(prefers-color-scheme: dark)" srcset="logo-dark-theme.svg"> <source media="(prefers-color-scheme: light)" srcset="logo-light-theme.svg"> <img alt="GitHub Copilot Memory Tool" src="https://raw.githubusercontent.com/NiclasOlofsson/mode-manager-mcp/refs/heads/main/logo-light-theme.svg" width="800"> </picture>
GitHub Copilot Memory Tool
Finally, Copilot that actually remembers you.
Perfect timing for 2025: VS Code now loads instructions with every message. This tool gives Copilot persistent memory across all your conversations.
If you are missing python
or pipx
you better do this first!
Why This Matters Now
2025 Game Changer: VS Code's new behavior loads custom instructions with every chat request (not just session start). This means:
- Your memories are ALWAYS active in every conversation
- No more repeating context when you start new chats
- Copilot truly knows you across sessions, topics, and projects
- Perfect timing - built for the new instruction loading behavior
See It In Action
Before this tool:
"Hey Copilot, write me a Python function..."
Copilot: Gives generic Python code
After using remember
:
You: "Remember I'm a senior data architect at Oatly, prefer type hints, and use Black formatting"
Next conversation: "Write me a Python function..."
Copilot: Generates perfectly styled code with type hints, following your exact preferences
Dead Simple to Use
One command does everything:
Ask Copilot: "Remember that I prefer detailed docstrings and use pytest for testing"
That's it. Copilot now knows this forever, across all future conversations.
What You Can Remember:
- Work context - Your role, company, current projects
- Coding preferences - Languages, frameworks, style guides
- Project details - Architecture decisions, naming conventions
- Personal workflow - How you like to work, debug, test
How It Works Behind the Scenes
- Auto-setup - Creates
memory.instructions.md
in your VS Code prompts directory on first use - Smart storage - Each memory gets timestamped and organized
- Always loaded - VS Code's 2025 behavior means your memories are included in every chat request
- Cross-session persistence - Your memories survive VS Code restarts and new conversations
Bonus Features
Beyond memory, this tool also manages your VS Code prompt ecosystem:
- Curated library - 20+ professional chatmodes and instructions
- File management - Create, edit, and organize
.chatmode.md
and.instructions.md
files - Stay updated - Update files from source while keeping your customizations
Get It Running (2 Minutes)
If you don't even have python
, you need to install that first. You can get it at python.org/downloads
1. Install pipx from PyPI
pip install pipx
2. Click on the badge for your VS Code
.. Or manually add it to your VS Code
Add this to your VS Code MCP settings (mcp.json
):
{
"servers": {
"mode-manager": {
"command": "pipx",
"args": [
"run",
"mode-manager-mcp"
]
}
}
}
That's it! Start chatting with Copilot and use: "Remember that..."
Bonus ..
As a convenience, you can run the following prompt in VS Code to get started in the best way:
/mcp.mode-manager.onboarding
This will guide you through the onboarding process, set up your persistent memory, and ensure Copilot knows your preferences from the start.
Perfect Timing for 2025
This tool is built specifically for VS Code's new behavior where custom instructions load with every chat message. This makes persistent memory incredibly powerful - your memories are always active, no matter what topic you're discussing.
Ready to have Copilot that actually remembers you? Get started now!
Contributing
Want to help improve this tool? Check out CONTRIBUTING.md for development setup and guidelines.
License
MIT License - see LICENSE for details.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.