You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZeusChan edited this page Apr 27, 2025
·
5 revisions
1. Coding principles for the core code of the protocol SDK
If you want to submit a pull request (PR) to this project, you need to abide by the following principles.
In order to achieve maximum compatibility with more environments and reduce the requirements for the compiler version, code in accordance with the C++ 14 specification.
To maximize support for cross - system platforms (such as Windows, Linux, macOS, and Android), the core protocol part (wrapped in the MCP namespace) is implemented using only the C++ standard library, and platform - specific APIs are not used unless necessary.
To ensure that the protocol implementation is as lightweight, extensible, and maintainable as possible, the code should be as concise as possible, and complex components and large - scale open - source libraries should not be used unless necessary.
2. Coding principles for business code using the SDK
When developing the specific business code of the MCP Server using this SDK, there are no restrictions on the C++ standard version, nor on the use of platform-specific APIs. Developers can make their own decisions based on their business needs.