Improve initial project structure and documentation#1
Merged
Conversation
Contributor
sofabeat
commented
Mar 26, 2026
- Implement session management in HTTP server with activity tracking
- Refactor setup to dynamically use package version
- Update .env.example for environment variable configuration
- Implement GitHub Actions workflow for release and publish
- Update .gitignore to include additional files
- Add CHANGELOG.md for version tracking
- Create CONTRIBUTING.md to guide contributors
- Add LICENSE.md for project licensing
- Enhance README.md with detailed installation and usage instructions
- Introduce SECURITY.md for vulnerability reporting
- Develop DEVELOPMENT.md for setup and testing guidelines
- Update package.json with repository and publishing details
- Implement session management in HTTP server with activity tracking - Refactor setup to dynamically use package version - Update .env.example for environment variable configuration - Implement GitHub Actions workflow for release and publish - Update .gitignore to include additional files - Add CHANGELOG.md for version tracking - Create CONTRIBUTING.md to guide contributors - Add LICENSE.md for project licensing - Enhance README.md with detailed installation and usage instructions - Introduce SECURITY.md for vulnerability reporting - Develop DEVELOPMENT.md for setup and testing guidelines - Update package.json with repository and publishing details
There was a problem hiding this comment.
Pull request overview
This PR improves the project’s packaging, documentation, and release readiness, while adding HTTP session activity tracking/cleanup and aligning the MCP server version with package.json.
Changes:
- Added HTTP session activity tracking with idle-session cleanup.
- Refactored MCP server setup to pull the version from
package.json. - Expanded repository metadata: scoped npm package config, release workflow, and additional project docs (README/SECURITY/DEVELOPMENT/CONTRIBUTING/LICENSE/CHANGELOG), plus minor repo hygiene updates.
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/server/setup.ts | Sets MCP server version dynamically from package.json. |
| src/server/http.ts | Adds session lastActivity tracking and TTL-based cleanup for HTTP sessions. |
| package.json | Updates package name to @platfone/mcp and adds publishing/repo metadata. |
| docs/DEVELOPMENT.md | Adds detailed local dev/test instructions. |
| SECURITY.md | Adds a vulnerability reporting policy. |
| README.md | Restructures and shortens README, pointing to dedicated docs. |
| LICENSE.md | Adds MIT license file. |
| CONTRIBUTING.md | Adds contributor guidelines. |
| CHANGELOG.md | Introduces changelog and notes key capabilities. |
| .gitignore | Adds additional ignored files/dirs. |
| .github/workflows/release.yml | Adds a manual release/publish workflow. |
| .env.example | Updates sandbox configuration comment. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…ting - fix setInterval is never cleared/unref’d - validate stricter semver for TAG
Vitold55
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.