From 37d8bfe57279901d463d7ca3a8683f93098927dc Mon Sep 17 00:00:00 2001 From: Den Delimarsky Date: Mon, 22 Jun 2026 23:46:12 +0000 Subject: [PATCH] Move AI contribution policy to AI_POLICY.md :house: Remote-Dev: homespace --- AI_POLICY.md | 60 +++++++++++++++++++++++++++++++++ CONTRIBUTING.md | 49 ++------------------------- docs/community/contributing.mdx | 4 +-- 3 files changed, 65 insertions(+), 48 deletions(-) create mode 100644 AI_POLICY.md diff --git a/AI_POLICY.md b/AI_POLICY.md new file mode 100644 index 000000000..d31bbc1e5 --- /dev/null +++ b/AI_POLICY.md @@ -0,0 +1,60 @@ +# AI Contribution Policy + +> [!IMPORTANT] +> +> If you are using **any kind of AI assistance** to contribute to Model Context Protocol, +> it must be disclosed in the pull request or issue. + +We welcome and encourage the use of AI tools to help improve Model Context Protocol. Many valuable +contributions have been enhanced with AI assistance for code generation, issue detection, and +feature definition. + +That being said, if you are using any kind of AI assistance (e.g., agents such as Claude Code, +ChatGPT) while contributing to Model Context Protocol, **this must be disclosed in the pull +request or issue**, along with the extent to which AI assistance was used (e.g., documentation +comments vs. code generation). + +If your PR responses or comments are being generated by an AI, disclose that as well. + +As an exception, trivial spacing or typo fixes don't need to be disclosed, so long as the changes +are limited to small parts of the code or short phrases. + +An example disclosure: + +> This PR was written primarily by Claude Code. + +Or a more detailed disclosure: + +> I consulted ChatGPT to understand the codebase but the solution +> was fully authored manually by myself. + +Failure to disclose this is first and foremost rude to the human operators on the other end of the +pull request, but it also makes it difficult to determine how much scrutiny to apply to the +contribution. + +In a perfect world, AI assistance would produce equal or higher quality work than any human. That +isn't the world we live in today, and in most cases where human supervision or expertise is not in +the loop, it's generating code or changes that cannot be reasonably maintained or evolved. + +## What we're looking for + +When submitting AI-assisted contributions, please ensure they include: + +- **Clear disclosure of AI use** - You are transparent about AI use and the degree to which you're + using it for the contribution +- **Human understanding** - You personally understand what the changes do +- **Clear rationale** - You can explain why the change is needed and how it fits within Model + Context Protocol goals +- **Concrete evidence** - Include test cases, scenarios, or examples that demonstrate the + improvement +- **Your own analysis** - Share your thoughts on the end-to-end experience + +## What we'll close + +We reserve the right to close submissions that appear to not follow the disclosure policy. + +## Scope + +This policy applies to all repositories in the +[modelcontextprotocol](https://github.com/modelcontextprotocol) organization, including the +specification, SDKs, reference servers, and tooling. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b0f2f4e82..314b85257 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -132,52 +132,9 @@ prototype taught you. ## AI Contributions -> [!IMPORTANT] -> -> If you are using **any kind of AI assistance** to contribute to Model Context Protocol, -> it must be disclosed in the pull request or issue. - -We welcome and encourage the use of AI tools to help improve Model Context Protocol. Many valuable contributions -have been enhanced with AI assistance for code generation, issue detection, and feature definition. - -That being said, if you are using any kind of AI assistance (e.g., agents such as Claude Code, ChatGPT) -while contributing to Model Context Protocol, **this must be disclosed in the pull request or issue**, -along with the extent to which AI assistance was used (e.g., documentation comments vs. code generation). - -If your PR responses or comments are being generated by an AI, disclose that as well. - -As an exception, trivial spacing or typo fixes don't need to be disclosed, so long as the changes are -limited to small parts of the code or short phrases. - -An example disclosure: - -> This PR was written primarily by Claude Code. - -Or a more detailed disclosure: - -> I consulted ChatGPT to understand the codebase but the solution -> was fully authored manually by myself. - -Failure to disclose this is first and foremost rude to the human operators on the other end of the pull request, -but it also makes it difficult to determine how much scrutiny to apply to the contribution. - -In a perfect world, AI assistance would produce equal or higher quality work than any human. That isn't the world -we live in today, and in most cases where human supervision or expertise is not in the loop, it's generating code -or changes that cannot be reasonably maintained or evolved. - -### What we're looking for - -When submitting AI-assisted contributions, please ensure they include: - -- **Clear disclosure of AI use** - You are transparent about AI use and degree to which you're using it for the contribution -- **Human understanding** - You personally understand what the changes do -- **Clear rationale** - You can explain why the change is needed and how it fits within Model Context Protocol goals -- **Concrete evidence** - Include test cases, scenarios, or examples that demonstrate the improvement -- **Your own analysis** - Share your thoughts on the end-to-end experience - -### What we'll close - -We reserve the right to close submissions that appear to not follow the disclosure policy. +If you are using any kind of AI assistance to contribute to Model Context Protocol, it must be +disclosed in the pull request or issue. See [AI_POLICY.md](AI_POLICY.md) for the full policy, +including disclosure expectations and what we look for in AI-assisted contributions. ## License diff --git a/docs/community/contributing.mdx b/docs/community/contributing.mdx index f9ad2c0db..4baecec00 100644 --- a/docs/community/contributing.mdx +++ b/docs/community/contributing.mdx @@ -599,8 +599,8 @@ The key is that you understand and can stand behind your contribution: - **You know why** - You can articulate why the change is needed - **You've verified it** - You've tested or validated that it works as intended -You can read more about our stance in -[our spec contribution guidelines](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md#ai-contributions). +You can read the full policy in +[AI_POLICY.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/AI_POLICY.md). ## Code of Conduct