remnote-mcp-server 0.1.3 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +78 -0
- package/README.md +226 -224
- package/dist/cli.d.ts +14 -0
- package/dist/cli.js +51 -0
- package/dist/cli.js.map +1 -0
- package/dist/config.d.ts +16 -0
- package/dist/config.js +41 -0
- package/dist/config.js.map +1 -0
- package/dist/http-server.d.ts +23 -0
- package/dist/http-server.js +197 -0
- package/dist/http-server.js.map +1 -0
- package/dist/index.js +48 -25
- package/dist/index.js.map +1 -1
- package/dist/logger.d.ts +20 -0
- package/dist/logger.js +85 -0
- package/dist/logger.js.map +1 -0
- package/dist/tools/index.d.ts +2 -1
- package/dist/tools/index.js +48 -50
- package/dist/tools/index.js.map +1 -1
- package/dist/websocket-server.d.ts +5 -1
- package/dist/websocket-server.js +53 -10
- package/dist/websocket-server.js.map +1 -1
- package/package.json +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,84 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.0] - 2026-02-12
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Comprehensive logging infrastructure with Pino logger
|
|
15
|
+
- CLI argument parsing with Commander for server configuration
|
|
16
|
+
- Configurable log levels (debug, info, warn, error) for console and file output
|
|
17
|
+
- Optional file logging with separate log level control
|
|
18
|
+
- Optional request/response logging to JSON Lines files for debugging
|
|
19
|
+
- Verbose mode (`--verbose`) for quick debug logging enablement
|
|
20
|
+
- CLI flags for port configuration (`--ws-port`, `--http-port`)
|
|
21
|
+
- Structured logging throughout the application with contextual information
|
|
22
|
+
- Debug-level logging for detailed troubleshooting
|
|
23
|
+
- Request timing and duration tracking in logs
|
|
24
|
+
- Graceful error handling with comprehensive error logging
|
|
25
|
+
|
|
26
|
+
### Changed
|
|
27
|
+
|
|
28
|
+
- Startup message now includes version number and port information
|
|
29
|
+
- All console.error calls replaced with structured Pino logging
|
|
30
|
+
- Server startup sequence now validates configuration before starting services
|
|
31
|
+
- Environment variable configuration now validated with better error messages
|
|
32
|
+
- Port validation moved earlier in startup process for faster failure feedback
|
|
33
|
+
|
|
34
|
+
### Dependencies
|
|
35
|
+
|
|
36
|
+
- Added `pino@^9.6.0` for structured logging
|
|
37
|
+
- Added `commander@^13.0.0` for CLI argument parsing
|
|
38
|
+
- Added `pino-pretty@^11.0.0` (dev) for human-readable development logs
|
|
39
|
+
|
|
40
|
+
## [0.2.1] - 2026-02-11
|
|
41
|
+
|
|
42
|
+
### Added
|
|
43
|
+
|
|
44
|
+
- `publish-to-npm.sh` script to automate npm publishing workflow with proper error checking
|
|
45
|
+
- Pre-flight checks: git clean, npm authentication, package.json validation
|
|
46
|
+
- Automatic code quality verification via `./code-quality.sh`
|
|
47
|
+
- Package contents verification with `npm pack --dry-run`
|
|
48
|
+
- User confirmation required before actual publish
|
|
49
|
+
- Post-publication git tag creation and push
|
|
50
|
+
- Success summary with next-step reminders (GitHub release, CHANGELOG update)
|
|
51
|
+
|
|
52
|
+
## [0.2.0] - 2026-02-11
|
|
53
|
+
|
|
54
|
+
### Changed
|
|
55
|
+
|
|
56
|
+
- **BREAKING**: Transport refactored from stdio to Streamable HTTP (SSE)
|
|
57
|
+
- Users must start server independently with `npm start` or `npm run dev`
|
|
58
|
+
- Server runs as long-running process on port 3001 (HTTP) and 3002 (WebSocket)
|
|
59
|
+
- Claude Code configuration must use `http` transport type instead of `stdio`
|
|
60
|
+
- Multiple Claude Code sessions can now connect to a single server instance
|
|
61
|
+
- TypeScript module resolution changed from "node" to "Node16" for SDK deep imports compatibility
|
|
62
|
+
- README.md "Claude Code CLI" section now includes complete `claude mcp` command examples
|
|
63
|
+
- Shows `claude mcp add` command with expected output
|
|
64
|
+
- Shows `claude mcp list` for verifying connection health
|
|
65
|
+
- Shows `claude mcp remove` for unregistering the server
|
|
66
|
+
- Positioned before manual configuration section as recommended approach
|
|
67
|
+
|
|
68
|
+
### Added
|
|
69
|
+
|
|
70
|
+
- Multi-agent support: Multiple AI agents can now connect to the same RemNote knowledge base simultaneously
|
|
71
|
+
- HTTP MCP server with Streamable HTTP (SSE) transport for session management
|
|
72
|
+
- New `REMNOTE_HTTP_PORT` environment variable (default: 3001)
|
|
73
|
+
- Express-based HTTP server with JSON parsing middleware
|
|
74
|
+
- Session lifecycle management: multiple concurrent MCP sessions with independent state
|
|
75
|
+
- Comprehensive HTTP server test suite (15 tests covering initialization, session management, SSE streams, and error
|
|
76
|
+
cases)
|
|
77
|
+
- "Two-Component Architecture" section in README.md for consistency with RemNote MCP Bridge documentation
|
|
78
|
+
|
|
79
|
+
### Dependencies
|
|
80
|
+
|
|
81
|
+
- Added `express` ^5.2.0 for HTTP server
|
|
82
|
+
- Added `@types/express` ^5.0.0 for TypeScript support
|
|
83
|
+
|
|
84
|
+
### Fixed
|
|
85
|
+
|
|
86
|
+
- Fixed `remnote_status` tool action name mismatch (server sent 'status', plugin expected 'get_status')
|
|
87
|
+
|
|
10
88
|
## [0.1.3] - 2026-02-07
|
|
11
89
|
|
|
12
90
|
### Added
|