Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 5d00718

Browse files
authored
Merge pull request #5 from movibe/feat/npm-publish
docs: Update repository URLs and English translation
2 parents ff971ee + 75afb2c commit 5d00718

6 files changed

Lines changed: 61 additions & 19 deletions

File tree

.cursor/mcp.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"mcpServers": {
3+
"memory-bank": {
4+
"command": "node",
5+
"args": [
6+
"/Users/movibe/Documents/Cline/MCP/memory-bank-server/build/index.js"
7+
],
8+
"disabled": false,
9+
"alwaysAllow": [],
10+
"env": {
11+
"DEBUG": "mcp:*",
12+
"NODE_ENV": "production"
13+
}
14+
}
15+
}
16+
}

.github/workflows/npm-publish.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,34 @@ jobs:
5959
npx standard-version --release-as patch
6060
fi
6161
62+
# Extract the new version number
63+
NEW_VERSION=$(node -p "require('./package.json').version")
64+
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
65+
66+
# Extract the current version's changelog
67+
VERSION_HEADER="## $NEW_VERSION"
68+
RELEASE_NOTES=$(awk -v version="$VERSION_HEADER" '/^## [0-9]+\.[0-9]+\.[0-9]+/ {if (p) { exit }; if ($0 ~ version) { p=1; print; next }} p { print }' CHANGELOG.md)
69+
echo "RELEASE_NOTES<<EOF" >> $GITHUB_ENV
70+
echo "$RELEASE_NOTES" >> $GITHUB_ENV
71+
echo "EOF" >> $GITHUB_ENV
72+
6273
# Push changes back to the repository
6374
git push --follow-tags origin main
6475
env:
6576
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
77+
78+
- name: Create GitHub Release
79+
uses: softprops/action-gh-release@v1
80+
if: github.ref == 'refs/heads/main'
81+
with:
82+
tag_name: v${{ env.NEW_VERSION }}
83+
name: Release v${{ env.NEW_VERSION }}
84+
body: ${{ env.RELEASE_NOTES }}
85+
draft: false
86+
prerelease: false
87+
env:
88+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
89+
6690
- name: Publish to NPM
6791
run: npm publish
6892
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![NPM Version](https://img.shields.io/npm/v/@movibe/memory-bank-mcp.svg)](https://www.npmjs.com/package/@movibe/memory-bank-mcp)
44
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
5-
[![Tests](https://github.com/movibe/memory-bank-server/actions/workflows/test.yml/badge.svg)](https://github.com/movibe/memory-bank-server/actions/workflows/test.yml)
5+
[![Tests](https://github.com/movibe/memory-bank-mcp/actions/workflows/test.yml/badge.svg)](https://github.com/movibe/memory-bank-mcp/actions/workflows/test.yml)
66

77
A Model Context Protocol (MCP) server for managing Memory Banks, allowing AI assistants to store and retrieve information across sessions.
88

memory-bank/active-context.md

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ Memory Bank MCP is an MCP (Model Context Protocol) server that provides tools an
66

77
## Current Session Notes
88

9-
- [2:17:30 AM] Aprimoramento da Documentação: Atualizei o README.md para inglês, adicionei emojis em todas as seções para melhorar a apresentação visual e incluí uma nova seção detalhada sobre os diferentes modos do MCP (Code, Architect, Ask, Debug e Test) com instruções sobre como usar e alternar entre eles.
10-
- [2:15:54 AM] Atualização da Documentação para uso do npx: Atualizei o README.md e o docs/cursor-integration.md para usar npx em vez de instalação global do pacote Memory Bank MCP. Isso simplifica o processo de instalação e configuração para os usuários do Cursor, eliminando a necessidade de instalar o pacote globalmente.
9+
- [2:27:39 AM] Memory Bank English Translation: Reviewed all Memory Bank files and translated the remaining Portuguese content to English. Updated progress.md and active-context.md to ensure all entries are in English. This completes the task of ensuring all files in the project are in English as required.
10+
- [2:27:35 AM] File Update: Updated active-context.md
11+
- [2:24:17 AM] Repository URL Updates: Updated all repository URLs in package.json and README.md to point to the correct repository (memory-bank-mcp). Ensured all files are in English as required.
12+
- [2:22:46 AM] GitHub Release Configuration: Configured the GitHub Actions workflow to automatically create a GitHub release when a new version is generated. The release will include only the current version's notes extracted from CHANGELOG.md. Also corrected the repository URLs in the .versionrc.json file to point to the correct repository (memory-bank-mcp).
13+
- [2:17:30 AM] Documentation Enhancement: Updated the README.md to English, added emojis to all sections to improve visual presentation, and included a new detailed section about the different MCP modes (Code, Architect, Ask, Debug, and Test) with instructions on how to use and switch between them.
14+
- [2:15:54 AM] Documentation Update for npx Usage: Updated README.md and docs/cursor-integration.md to use npx instead of global installation of the Memory Bank MCP package. This simplifies the installation and configuration process for Cursor users, eliminating the need to install the package globally.
1115
- [2:14:00 AM] Added Cursor Integration Documentation: Created comprehensive documentation for integrating Memory Bank MCP with Cursor. Added a detailed cursor-integration.md guide with configuration steps, usage examples, workflow examples, troubleshooting tips, and best practices. Updated the main README.md with a link to the new documentation and enhanced the docs/README.md index to include the new guide.
1216
- [2:12:42 AM] Enhanced README Documentation: Enhanced the README.md with comprehensive information about configuring Memory Bank MCP in Cursor, detailed explanations of how the MCP works, core components, data flow, Memory Bank structure, advanced features, and usage examples both as a command-line tool and as a library.
1317
- [2:10:24 AM] Decision Made: Implementation of Semantic Versioning with Changelog Generation
@@ -121,19 +125,12 @@ All project documentation and Memory Bank files are now consistently in English,
121125

122126
## Ongoing Tasks
123127

124-
- Standardize Memory Bank file naming pattern
125-
- Maintain and update the npm package
126-
- Ensure all Memory Bank templates are in English
127-
128+
- Ensure all Memory Bank files are in English
128129
## Known Issues
129130

130131
- Verify if the build process is correctly generating type declaration files
131132

132133
## Next Steps
133134

134-
- Add tests for the new MigrationUtils class
135-
- Update existing tests to use the new file naming convention
136-
- Create a migration guide for users with existing Memory Banks
137-
- Consider implementing semantic versioning for future releases
138-
- Add more examples of using the package via npx in the documentation
139-
- Document the English-only approach in the project documentation
135+
- Continue to maintain all documentation and code in English
136+
- Verify that the GitHub Actions workflow works correctly with the updated repository URLs

memory-bank/progress.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ Memory Bank MCP is an MCP (Model Context Protocol) server that provides tools an
66

77
## Update History
88

9-
- [2025-03-08 2:17:30 AM] - Aprimoramento da Documentação: Atualizei o README.md para inglês, adicionei emojis em todas as seções para melhorar a apresentação visual e incluí uma nova seção detalhada sobre os diferentes modos do MCP (Code, Architect, Ask, Debug e Test) com instruções sobre como usar e alternar entre eles.
10-
- [2025-03-08 2:15:54 AM] - Atualização da Documentação para uso do npx: Atualizei o README.md e o docs/cursor-integration.md para usar npx em vez de instalação global do pacote Memory Bank MCP. Isso simplifica o processo de instalação e configuração para os usuários do Cursor, eliminando a necessidade de instalar o pacote globalmente.
9+
- [2025-03-08 2:27:39 AM] - Memory Bank English Translation: Reviewed all Memory Bank files and translated the remaining Portuguese content to English. Updated progress.md and active-context.md to ensure all entries are in English. This completes the task of ensuring all files in the project are in English as required.
10+
- [2025-03-08 2:27:35 AM] - File Update: Updated active-context.md
11+
- [2025-03-08 2:26:35 AM] - File Update: Updated progress.md
12+
- [2025-03-08 2:24:17 AM] - Repository URL Updates: Updated all repository URLs in package.json and README.md to point to the correct repository (memory-bank-mcp). Ensured all files are in English as required.
13+
- [2025-03-08 2:22:46 AM] - GitHub Release Configuration: Configured the GitHub Actions workflow to automatically create a GitHub release when a new version is generated. The release will include only the current version's notes extracted from CHANGELOG.md. Also corrected the repository URLs in the .versionrc.json file to point to the correct repository (memory-bank-mcp).
14+
- [2025-03-08 2:17:30 AM] - Documentation Enhancement: Updated the README.md to English, added emojis to all sections to improve visual presentation, and included a new detailed section about the different MCP modes (Code, Architect, Ask, Debug, and Test) with instructions on how to use and switch between them.
15+
- [2025-03-08 2:15:54 AM] - Documentation Update for npx Usage: Updated README.md and docs/cursor-integration.md to use npx instead of global installation of the Memory Bank MCP package. This simplifies the installation and configuration process for Cursor users, eliminating the need to install the package globally.
1116
- [2025-03-08 2:14:00 AM] - Added Cursor Integration Documentation: Created comprehensive documentation for integrating Memory Bank MCP with Cursor. Added a detailed cursor-integration.md guide with configuration steps, usage examples, workflow examples, troubleshooting tips, and best practices. Updated the main README.md with a link to the new documentation and enhanced the docs/README.md index to include the new guide.
1217
- [2025-03-08 2:12:42 AM] - Enhanced README Documentation: Enhanced the README.md with comprehensive information about configuring Memory Bank MCP in Cursor, detailed explanations of how the MCP works, core components, data flow, Memory Bank structure, advanced features, and usage examples both as a command-line tool and as a library.
1318
- [2025-03-08 2:10:24 AM] - Decision Made: Implementation of Semantic Versioning with Changelog Generation
@@ -113,4 +118,4 @@ All project documentation and Memory Bank files are now consistently in English,
113118
- [2023-03-08 16:00:00] - Code Improvement: Translated code to English and improved error handling
114119
- [2024-03-08 12:45:00] - Build Configuration: Configured build process with Bun for improved performance
115120
- [2024-03-08 17:00:00] - Project Rename: Changed project name from "memory-bank-server" to "@movibe/memory-bank-mcp"
116-
- [2024-03-08 22:40:00] - Testing Implementation: Added automated tests for clinerules integration using Bun's test runner
121+
- [2024-03-08 22:40:00] - Testing Implementation: Added automated tests for clinerules integration using Bun's test runner

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131
"license": "MIT",
3232
"repository": {
3333
"type": "git",
34-
"url": "git+https://github.com/movibe/memory-bank-server.git"
34+
"url": "git+https://github.com/movibe/memory-bank-mcp.git"
3535
},
3636
"bugs": {
37-
"url": "https://github.com/movibe/memory-bank-server/issues"
37+
"url": "https://github.com/movibe/memory-bank-mcp/issues"
3838
},
39-
"homepage": "https://github.com/movibe/memory-bank-server#readme",
39+
"homepage": "https://github.com/movibe/memory-bank-mcp#readme",
4040
"publishConfig": {
4141
"access": "public"
4242
},

0 commit comments

Comments
 (0)