Keep your local working version intact at C:\Users\shane\Desktop\memory
until PR is merged:
{
"mcpServers": {
"memory": {
"command": "volta",
"args": [
"run",
"node",
"C:\\Users\\shane\\Desktop\\memory\\dist\\index.js",
"--memory-path",
"C:\\Users\\shane\\Desktop\\memory\\memory.jsonl"
]
}
}
}
git clone https://github.com/modelcontextprotocol/servers.git
cd servers
Current local modifications:
tsconfig.json
- Changed from monorepo to local pathstsconfig.base.json
- Created locally for standalone buildindex.ts
- Added memory path functionality
Revert tsconfig.json back to monorepo structure:
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "."
},
"include": [
"./**/*.ts"
]
}
- Delete local
tsconfig.base.json
(not needed in monorepo)
- Keep all memory path functionality changes in
index.ts
- Ensure cross-platform path handling remains intact
- Verify JSONL extension usage
Ensure these are in the monorepo's package.json:
{
"dependencies": {
"minimist": "^1.2.8"
},
"devDependencies": {
"@types/minimist": "^1.2.5"
}
}
- Update README.md with new --memory-path option
- Document JSONL format requirement
- Add cross-platform path handling notes
-
Create new branch:
git checkout -b feature/custom-memory-path
-
Copy modified files:
cp /path/to/your/index.ts packages/server-memory/
-
Test build in monorepo:
npm install npm run build
-
Commit changes:
git add . git commit -m "Add custom memory path support with cross-platform handling"
-
Create PR:
- Push to GitHub
- Create pull request
- Reference any related issues
- Describe testing performed
- Consider adding tests for the new functionality
- Follow monorepo's contribution guidelines
- Document any breaking changes
- Test on multiple platforms if possible
Until PR is merged, maintain your working local version:
- Keep local build working
- Note any improvements needed for PR
- Continue using local version for development