Smart Memory MCP
An intelligent MCP server for optimizing VS Code Memory Bank usage
Overview
Smart Memory MCP (Model Context Protocol) is an intelligent server designed to optimize memory bank usage in Visual Studio Code through tokenization, providing accurate token counting and context relevance scoring.
To use Smart Memory MCP, set up the server and client by following the provided commands, and integrate the VS Code extension for seamless operation.
- Accurate Token Counting using industry-standard tokenizers - Persistent Storage in a SQLite database for reliability - Context Relevance scoring for optimized memory usage - Memory Optimization to stay within token budgets - Seamless integration with VS Code through an extension
- Optimizing memory usage in large projects within VS Code.
- Enhancing performance by managing memory efficiently.
- Providing developers with insights into memory usage patterns.
Add to your AI client
Use these steps to connect Smart Memory MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"smart-memory-mcp-shipdocs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"smart-memory-mcp-shipdocs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"smart-memory-mcp-shipdocs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"smart-memory-mcp-shipdocs": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"smart-memory-mcp-shipdocs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"smart-memory-mcp-shipdocs": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-smart-memory-mcp-shipdocs"
]
}
}
}FAQ
Is Smart Memory MCP compatible with all versions of VS Code?
Yes! Smart Memory MCP is designed to work with the latest versions of VS Code.
How does Smart Memory MCP optimize memory usage?
It uses tokenization and context relevance scoring to manage memory effectively.
Is there any cost associated with using Smart Memory MCP?
No, Smart Memory MCP is open-source and free to use under the MIT license.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2772,"uuid":"8c78a36a-ebe8-4d25-b431-f4a5081e677e","name":"smart-memory-mcp","title":"Smart Memory MCP","description":"An intelligent MCP server for optimizing VS Code Memory Bank usage","avatar_url":"https://avatars.githubusercontent.com/u/116102032?v=4","created_at":"$D2025-03-14T01:40:55.322Z","updated_at":"$D2025-03-14T02:14:00.802Z","status":"created","author_name":"shipdocs","author_avatar_url":"https://avatars.githubusercontent.com/u/116102032?v=4","tags":"smart-memory,memory-optimization,VS-Code-integration","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/shipdocs/smart-memory-mcp","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"MIT license\",\"language\":\"Makefile\",\"is_official\":false,\"latest_commit_time\":\"2025-03-13 18:37:18\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]