Skip to content

Migrate MCP to csharp-sdk v2.0 with compatibility enhancements and updates - #199

Merged
geffzhang merged 30 commits into
ontologyharnessactionfrom
main
Aug 2, 2026
Merged

geffzhang merged 30 commits into
ontologyharnessactionfrom
main

Conversation

@geffzhang

Copy link
Copy Markdown
Collaborator

This pull request introduces a major upgrade to MCP (Model Context Protocol) v2 compatibility across OpenClaw.NET, updates documentation to reflect new MCP and Telegram channel behaviors, and reorganizes project structure references. The most important changes are grouped below.

dependabot Bot and others added 30 commits July 28, 2026 06:13
Bumps [docker/login-action](https://github.com/docker/login-action) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](docker/login-action@af1e73f...abd2ef4)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-version: 4.5.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…-english

Translate remaining WebChat copy to English
Add a detailed implementation plan for upgrading MCP dependencies and behavior to csharp-sdk 2.0.0 across Agent, Gateway, MCP App, and Client. The plan defines phased tasks, test-first checkpoints, compatibility defaults, rollback controls, and required documentation updates for a safe, verifiable migration.
McpAppServer now normalizes generated local tool names to the `^[a-zA-Z0-9_-]+$` format, including prefix sanitization, dot replacement, and deterministic handling for non-ASCII characters. This prevents invalid tool names when combining manifest prefixes with remote MCP tool names. A new test verifies `grocery.` + `get_stores` becomes `grocery_get_stores` and contains no disallowed characters. The solution file was also updated to include MCP app assets/projects, and gateway settings now include MCP app/compatibility configuration plus an updated default model.
Update `McpAppTests` to assert underscore-delimited tool names (`uiapp_show_dashboard`, `uiapp_app_only_tool`) instead of dot-delimited names. This aligns the tests with the current tool registration naming behavior and keeps the execution-path assertion targeting the correct registered tool.
Update the MiniMax-M2.7 and MiniMax-M3 OpenAI-compatible profiles in the
gateway sample configuration so their declared capabilities and endpoints
match the current provider parameters:

- MiniMax-M2.7: set BaseUrl to the OpenAI-compatible endpoint and raise
  MaxContextTokens from 128000 to 204800.
- MiniMax-M3: set BaseUrl to the OpenAI-compatible endpoint, raise
  MaxContextTokens from 256000 to 1000000, and declare video input support.
Add an outbound-only Telegram update mode while preserving webhook as the default. Reuse the existing inbound pipeline and allowlist handling, make gateway readiness and security checks mode-aware, and document CLI configuration.

Handle Bot API rate limits, conflicts, transient failures, and permanent errors with deterministic offset semantics and focused regression coverage.
Co-authored-by: TheTrigger <f.fabrizi91@gmail.com>
Co-authored-by: geffzhang <geffzhang@qq.com>
…ker/login-action-4.5.1

build(deps): bump docker/login-action from 4.4.0 to 4.5.1
Co-authored-by: geffzhang <geffzhang@qq.com>
…sh-recvqh5jpuhrP1

Refresh MiniMax model profile capabilities and endpoints
feat(telegram): add long-polling transport
Migrate MCP to csharp-sdk v2.0 with compatibility enhancements
@coderabbitai

coderabbitai Bot commented Aug 2, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: a2cc6917-1ee3-4c9d-99b3-c4f3f0e461c3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@geffzhang
geffzhang merged commit 7c550c5 into ontologyharnessaction Aug 2, 2026
30 of 32 checks 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.

5 participants