Skip to content

feat: upgrade MCP SDK and add Streamable HTTP transport - #17

Merged
jinzcdev merged 2 commits into
mainfrom
feat/upgrade_mcp
Jul 12, 2026
Merged

feat: upgrade MCP SDK and add Streamable HTTP transport#17
jinzcdev merged 2 commits into
mainfrom
feat/upgrade_mcp

Conversation

@jinzcdev

@jinzcdev jinzcdev commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Upgrade @modelcontextprotocol/sdk to ^1.29.0 and leetcode-query to ^2.0.1, and add lint / lint:fix npm scripts.
  • Add Streamable HTTP transport mode (--transport http) with configurable host, port, and endpoint, plus matching environment variables (LEETCODE_TRANSPORT, LEETCODE_HTTP_*).
  • Refactor server startup to share MCP server creation between stdio and HTTP transports; update README (EN/ZH) with transport documentation.
  • Improve MCP tool and parameter descriptions across contest, note, problem, solution, submission, and user tools for clarity and consistency.

Test plan

  • Start server with default stdio transport and verify MCP client connectivity
  • Start server with --transport http --port 3000 and verify Streamable HTTP endpoint responds
  • Confirm --help output documents new transport flags and environment variables
  • Smoke-test a few MCP tools (e.g. problem search, daily challenge) over both transports
  • Run npm run lint and npm run build successfully

jinzcdev added 2 commits July 12, 2026 14:52
- Bump @modelcontextprotocol/sdk to version 1.29.0 and leetcode-query to 2.0.1 in package.json and package-lock.json.
- Upgrade @rollup/rollup-linux-x64-gnu to version 4.62.2.
- Update README links for clarity and add new transport mode documentation.
- Introduce Streamable HTTP transport functionality in the server implementation.
- Updated descriptions for contest, note, problem, solution, submission, and user tools to improve clarity and provide more detailed usage information.
- Adjusted parameter descriptions for better understanding and consistency across tools.
- Ensured all tools maintain a uniform format for describing functionality and requirements.
@jinzcdev
jinzcdev merged commit 23e3397 into main Jul 12, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant