Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · mcp

One read of Model Context Protocolmcp-20261112T130707Z

3 pages moved out of 360 read.

Pages moved 3 significant first
Pages read 360 in this capture
Captured 13:07 UTC
Corpus hash 9dc354a17167 corpus-hash

What this read moved

1-3 of 3

community/contributing Changed · +62 / -508 lines

## Where to start ## Report a problem ## Change the specification or docs ## Work on an SDK or tool ## Propose a protocol change ## Other ways to help ## Growing your role ## Ground rules ## Before You Begin ### Join the Community ### Prerequisites ### Repository Structure ### Project Roles ## Your First Contribution ### Step 1: Set Up Your Environment ### Step 2: Find Something to Work On ### Step 3: Make Your Change ### Step 4: Submit a Pull Request ### What Makes a Good Contribution ## Types of Contributions ### Small Changes (Direct PR) ### Major Changes (SEP Required) ## Working with the Specification Repository ### Schema Changes ### Documentation Changes ### Major Protocol Changes ### Finding a Sponsor for SEPs ## Working with the SDK Repositories ### Before Contributing to an SDK ### SDK Repositories ## Getting Help ## Troubleshooting ### `npm run check` fails ### My PR has been sitting unnoticed for weeks ### I can't find a sponsor for my SEP ### My SEP was rejected ## Out of Scope ## AI Contributions ## Code of Conduct ## License

The two sides of this change are more than 400 edits apart, too far apart to line up, so this is the differ's own diff of it and the words inside a line are not marked.

from line 1
11# Contributing to MCP
22 
3> How to contribute to the Model Context Protocol project
3> How to contribute to the Model Context Protocol specification, docs and SDKs.
44 
5The Model Context Protocol (MCP) is an open source project that welcomes contributions from the
6community. This guide walks you through everything you need to get started.
5MCP is an open source project that welcomes contributions from the community. You don't need a change ready to get involved.
76 
8## Before You Begin
7You'll find the specification, these docs and Specification Enhancement Proposals (SEPs) in the [specification repository](https://github.com/modelcontextprotocol/modelcontextprotocol). Each SDK and tool has its own repository in the [`modelcontextprotocol`](https://github.com/modelcontextprotocol) organization.
98 
10### Join the Community
9To build with MCP, start with the [server](https://modelcontextprotocol.io/docs/develop/build-server.md) and [client](https://modelcontextprotocol.io/docs/develop/build-client.md) guides, the [SDK list](https://modelcontextprotocol.io/docs/sdk.md) or the [MCP Registry](https://modelcontextprotocol.io/registry/about.md).
1110 
12You don't need to have a change ready to get involved. Join the
13[MCP Contributor Discord](https://discord.gg/6CSzBmMkjX) to connect with contributors and
14maintainers, ask questions, and find out where help is needed. See the
15[Contributor Communication](https://modelcontextprotocol.io/community/communication.md) guide for all channels - including
16[live calls](https://meet.modelcontextprotocol.io/) and GitHub Discussions - and when to use
17each one, or jump to [Getting Help](#getting-help) below.
11If you want to invest some time in our discussions, the protocol work is organized in [working groups and interest groups](https://modelcontextprotocol.io/community/working-interest-groups.md). Their meetings are open to anyone and are listed on [meet.modelcontextprotocol.io](https://meet.modelcontextprotocol.io/). [Meetings and channels](https://modelcontextprotocol.io/community/working-interest-groups.md#meetings-and-channels) sets out how a meeting is announced and minuted. No invitation or role is needed to attend or speak at a meeting, to comment on a pull request, or to open an issue.
1812 
19### Prerequisites
13These same working groups and interest groups are represented in the Discord space.
2014 
21Before contributing, ensure you have the following installed and ready:
15## Where to start
2216 
23* **[Git](https://git-scm.com/downloads)** - For cloning repositories and submitting changes
24* **[Node.js 24+](https://nodejs.org/)** - Required for building and testing our projects
25* **npm** - Comes with Node.js, used for dependency management
26* **[GitHub account](https://github.com/signup)** - For submitting pull requests and issues
27* **Language-specific tooling** - If contributing to an SDK, you'll need the appropriate
28 development environment for that language (e.g., Python, Rust, Go)
17**1. Join Discord**
2918 
30Verify your setup:
19Contributors talk about the protocol on [Discord](https://modelcontextprotocol.io/community/communication.md#discord).
3120 
32```bash theme={null}
33node --version # Should be 24.x or higher
34npm --version # Should be 11.x or higher
35git --version # Any recent version
36```
21**2. Find your group**
3722 
38> [!NOTE]
39>
40> These commands work the same on macOS, Linux, and Windows, so you're good to
41> go on any platform.
23Pick the [working group](https://modelcontextprotocol.io/community/working-interest-groups.md#current-groups) or Discord channel that covers your area. If none fits, use `#general`.
4224 
43### Repository Structure
25To find work in the specification repository, read its [open issues](https://github.com/modelcontextprotocol/modelcontextprotocol/issues) or ask in the group's channel what needs doing.
4426 
45MCP spans multiple repositories in the
46[`modelcontextprotocol`](https://github.com/modelcontextprotocol) organization on GitHub. Here are
47a few notable sub-projects worth checking out:
27The sections below cover each kind of change.
4828 
49| Repository | Contents |
50| - | - |
51| [`modelcontextprotocol/modelcontextprotocol`](https://github.com/modelcontextprotocol/modelcontextprotocol) | Specification, docs, SEPs |
52| [`modelcontextprotocol/typescript-sdk`](https://github.com/modelcontextprotocol/typescript-sdk) | TypeScript/JavaScript SDK |
53| [`modelcontextprotocol/python-sdk`](https://github.com/modelcontextprotocol/python-sdk) | Python SDK |
54| [`modelcontextprotocol/go-sdk`](https://github.com/modelcontextprotocol/go-sdk) | Go SDK |
55| [`modelcontextprotocol/java-sdk`](https://github.com/modelcontextprotocol/java-sdk) | Java SDK |
56| [`modelcontextprotocol/kotlin-sdk`](https://github.com/modelcontextprotocol/kotlin-sdk) | Kotlin SDK |
57| [`modelcontextprotocol/csharp-sdk`](https://github.com/modelcontextprotocol/csharp-sdk) | C# SDK |
58| [`modelcontextprotocol/swift-sdk`](https://github.com/modelcontextprotocol/swift-sdk) | Swift SDK |
59| [`modelcontextprotocol/rust-sdk`](https://github.com/modelcontextprotocol/rust-sdk) | Rust SDK |
60| [`modelcontextprotocol/ruby-sdk`](https://github.com/modelcontextprotocol/ruby-sdk) | Ruby SDK |
61| [`modelcontextprotocol/php-sdk`](https://github.com/modelcontextprotocol/php-sdk) | PHP SDK |
29**3. Talk to the lead**
6230 
63Throughout this guide, **specification repository** refers to
64`modelcontextprotocol/modelcontextprotocol`, which contains the protocol spec, this documentation
65site, and [Spec Enhancement Proposals (SEPs)](https://modelcontextprotocol.io/community/sep-guidelines.md).
31Each group's page names its leads. Post what you want to work on in the group's channel.
6632 
67### Project Roles
33Anyone can join a group meeting, comment on a pull request or open an issue. Check the [calendar](https://meet.modelcontextprotocol.io/) and read the [Antitrust Policy](https://modelcontextprotocol.io/community/antitrust.md) before you attend.
6834 
69MCP follows a [governance model](https://modelcontextprotocol.io/community/governance.md) with different levels of responsibility:
35## Report a problem
7036 
71* **Contributors** - Anyone who files issues, submits PRs, or participates in discussions (that's
72 you!)
73* **Maintainers** - Steward specific areas like SDKs, documentation, or
74 [Working Groups](https://modelcontextprotocol.io/community/working-interest-groups.md)
75* **Core Maintainers** - Guide overall project direction, review SEPs, and oversee the specification
37[Report a vulnerability](https://modelcontextprotocol.io/community/policies.md#reporting-a-vulnerability) in private.
7638 
77You can find the current list of maintainers in the
78[`MAINTAINERS.md`](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/MAINTAINERS.md)
79file.
39For a bug, typo or unclear text in the specification or these docs, open an [issue](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/new/choose). For an SDK or tool, open it in that repository.
8040 
81Maintainers are here to help you succeed! Don't hesitate to reach out if you have questions or
82need guidance on your contribution.
41Please don't post usage questions in the repositories. We stopped taking them there because of spam.
8342 
84## Your First Contribution
43## Change the specification or docs
8544 
86Start here if you are new to MCP and contributing to its ecosystem.
45Only members of the `modelcontextprotocol` GitHub organization can open pull requests on the specification repository. Membership comes from being active on issues or in working groups and interest groups. The [Member](https://modelcontextprotocol.io/community/contributor-ladder.md#member) role on the contributor ladder lists the requirements and who sponsors a new member.
8746 
88> [!NOTE]
89>
90> While we use the specification repository as an example, the key patterns are
91> applicable to other MCP repos as well.
47Members follow [CONTRIBUTING.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md#submitting-changes). Everyone else uses the steps below. For a small fix such as a typo, a broken link or a small specification bug, the first step is enough.
9248 
93### Step 1: Set Up Your Environment
49**1. Raise the change**
9450 
95Set up your local environment so you can test and validate changes before submitting them.
51Open an issue with the [Report a bug](https://github.com/modelcontextprotocol/modelcontextprotocol/issues/new?template=bug_report.yml) form and describe the fix. Raise anything else in the relevant working group's channel or `#general`. A member or maintainer can pick it up from there.
9652 
97**1. Fork the repository**
53**2. Push a branch**
9854 
99Click the **Fork** button on the [repository page](https://github.com/modelcontextprotocol/modelcontextprotocol) to create your own copy. This gives you a personal workspace where you can make changes without affecting the main project.
55To supply the change itself, push to a fork, or to a working group repository you can write to. Fixes to the specification go in `docs/specification/draft/` and fixes to the versioned guides in `docs/docs/draft/`. The dated folders hold released versions. Keep each change to one concern. [CONTRIBUTING.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md) covers setup and checks.
10056 
101**2. Clone your fork**
57**3. Ask for a pull request**
10258 
103```bash theme={null}
104git clone https://github.com/YOUR-USERNAME/modelcontextprotocol.git
105cd modelcontextprotocol
106```
59Link the branch in that issue or channel and ask a member or maintainer to open a pull request that credits you.
10760 
108Replace `YOUR-USERNAME` with your GitHub username.
61A change to the protocol itself needs a [SEP](#propose-a-protocol-change).
10962 
110**3. Install dependencies**
63## Work on an SDK or tool
11164 
112```bash theme={null}
113npm install
114```
65Inspector and the reference servers accept issues only.
11566 
116This installs the tools needed for schema generation, documentation building, and validation.
67**1. Read the contributing guide**
11768 
118**4. Verify everything works**
69Each repository sets its own rules, and some close pull requests that have no assigned issue. If a repository has no guide, ask in its channel, such as `#python-sdk-dev`.
11970 
120```bash theme={null}
121npm run check
122```
71**2. Pick an issue**
12372 
124This runs TypeScript compilation, schema validation, example validation, documentation link checks, and formatting checks. If everything passes, your environment is good and you're ready to contribute.
73Look for [`good first issue`](https://github.com/search?q=org%3Amodelcontextprotocol+is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22\&type=issues) or `help wanted`, or open a new one. Ask to be assigned if the guide requires it.
12574 
126If `npm run check` fails, see [Troubleshooting](#troubleshooting) below.
75**3. Open a pull request**
12776 
128### Step 2: Find Something to Work On
77For anything larger than a small bug fix, agree on the approach in the issue before you write code.
12978 
130While a lot of the items you might see tracked in the repository can feel intimidating, especially
131for newcomers, there are plenty of places where you can start with your first improvements:
79The [SDK list](https://modelcontextprotocol.io/docs/sdk.md) shows each SDK's [tier](https://modelcontextprotocol.io/community/sdk-tiers.md), which sets its issue triage times.
13280 
1331. **Documentation improvements** - Help us fix typos, unclear explanations, broken links, or
134 incomplete examples
1352. **Issues labeled `good first issue`** - Tackle issues tagged in the
136 [specification repo](https://github.com/modelcontextprotocol/modelcontextprotocol/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)
137 as well as our SDK repos
1383. **Schema examples** - Add examples to `schema/draft/examples/` to make it easier for developers
139 to understand protocol primitives
81## Propose a protocol change
14082 
141### Step 3: Make Your Change
83Protocol changes go through a [SEP](https://modelcontextprotocol.io/community/sep-guidelines.md). Bug fixes and clarifications [do not need one](https://modelcontextprotocol.io/community/sep-guidelines.md#when-you-need-a-sep).
14284 
143Create your changes in a dedicated branch.
85A SEP needs a [sponsor](https://modelcontextprotocol.io/community/sep-guidelines.md#sponsors): a working group or the Core Maintainers.
14486 
145**1. Create a branch**
87**1. Check the roadmap**
14688 
147```bash theme={null}
148git checkout -b fix/your-description
149```
89See whether the idea fits the current focus on the [roadmap](https://modelcontextprotocol.io/development/roadmap.md). SEPs within its priority areas get [expedited review](https://modelcontextprotocol.io/development/roadmap.md#sep-prioritization).
15090 
151Use a descriptive branch name that reflects your change, like `fix/typo-in-tools-doc` or `feat/add-example-for-resources`.
91**2. Bring it to a working group**
15292 
153**2. Make your changes**
93Raise the idea with the [working group](https://modelcontextprotocol.io/community/working-interest-groups.md#current-groups) that covers the area, in its channel or at a meeting. If the area belongs to an interest group, that interest group can start a working group through the [forming a group](https://modelcontextprotocol.io/community/working-interest-groups.md#forming-a-group) process, and that working group sponsors the SEP. The SEP pull request [must link to that discussion](https://modelcontextprotocol.io/community/sep-guidelines.md#workflow).
15494 
155Edit the relevant files in your local copy. If you're editing schema files, remember to run `npm run generate:schema` to regenerate the JSON schema and documentation.
95**3. Draft a SEP the group sponsors**
15696 
157**3. Run checks**
97Once the group reaches consensus, write a SEP that it wants to [sponsor](https://modelcontextprotocol.io/community/sep-guidelines.md#sponsors). Until a group agrees to sponsor it, work in progress lives in a draft pull request. Include a prototype that meets the [Prototype Requirements](https://modelcontextprotocol.io/community/sep-guidelines.md#prototype-requirements), and consider shipping the idea as an [extension](https://modelcontextprotocol.io/extensions/overview.md) where its shape allows.
15898 
159```bash theme={null}
160npm run check
161```
99**4. Bring it to the Core Maintainers**
162100 
163Fix any issues before committing. If you have formatting errors, `npm run format` can auto-fix most of them.
101Follow the [workflow](https://modelcontextprotocol.io/community/sep-guidelines.md#workflow). By this point you should be a member of the working group and have access to open pull requests on the specification repository (see [Member](https://modelcontextprotocol.io/community/contributor-ladder.md#member)). If you do not have that access yet, the working group's leads open the pull request. The SEP's sponsor brings it to the Core Maintainers for review.
164102 
165**4. Commit with a clear message**
103## Other ways to help
166104 
167```bash theme={null}
168git commit -m "Fix typo in tools documentation"
169```
105* Review open SEPs and draft specification pull requests.
106* Reproduce reported bugs.
107* Test SDK release candidates against the draft specification.
108* Write [conformance](https://github.com/modelcontextprotocol/conformance) scenarios. A Standards Track SEP with observable protocol behavior [needs one](https://modelcontextprotocol.io/community/sep-guidelines.md#conformance-test-requirement) to reach Final.
170109 
171Write a concise message that describes what you changed and why. Reference issue numbers if applicable (e.g., `Fix typo in tools documentation (#123)`).
110## Growing your role
172111 
173### Step 4: Submit a Pull Request
112To take on a bigger role, see the [Contributor Ladder](https://modelcontextprotocol.io/community/contributor-ladder.md). [Governance](https://modelcontextprotocol.io/community/governance.md) covers who decides what, and [MAINTAINERS.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/MAINTAINERS.md) lists the current maintainers.
174113 
175When you're ready, push your branch and open a pull request.
114## Ground rules
176115 
177**1. Push your branch**
178 
179```bash theme={null}
180git push origin fix/your-description
181```
182 
183**2. Open a PR on GitHub**
184 
185You can use the [GitHub CLI](https://cli.github.com/) to make this process easier:
186 
187```bash theme={null}
188gh pr create --fill
189```
190 
191Alternatively, navigate to your fork on GitHub and click **Compare & pull request**.
192 
193**3. Fill in the PR template**
194 
195Provide a clear description of your changes and link any related issues.
196 
197**4. Wait for review**
198 
199Maintainers typically respond within 1-5 business days.
200 
201> [!TIP]
202>
203> That's it, **congratulations on your first contribution**! Every improvement,
204> no matter how small, helps make MCP better for everyone.
205 
206### What Makes a Good Contribution
207 
208Help us review your contribution quickly by following these patterns:
209 
210| Harder to Review | Thoughtful and Impactful |
211| - | - |
212| Large PR with unrelated changes | Focused PR addressing one issue |
213| Reformatting code without functional changes | Fixing a bug with a clear explanation |
214| Vague commit messages ("fixed stuff") | Descriptive commits linking to issues |
215| Submitting with failing CI checks | All CI tests pass before requesting review |
216| Duplicating existing documentation | Documenting an undocumented feature or edge case |
217 
218## Types of Contributions
219 
220Different contributions follow different processes depending on their scope.
221 
222> [!TIP]
223>
224> Not sure which category your change falls into? Ask in the [MCP Contributor
225> Discord](https://modelcontextprotocol.io/community/communication.md#discord) before starting any significant
226> work.
227 
228### Small Changes (Direct PR)
229 
230Simply submit a pull request directly to the repo for:
231 
232* Bug fixes and typo corrections
233* Documentation improvements, such as bringing clarity to an ambiguous or unclear section
234* Adding examples to existing features
235* Minor schema fixes that don't materially change the specification or SDK behavior
236* Test improvements
237 
238### Major Changes (SEP Required)
239 
240Anything that changes the MCP specification requires following the
241[Specification Enhancement Proposal (SEP)](https://modelcontextprotocol.io/community/sep-guidelines.md) process. This includes, but
242is not limited to:
243 
244* New protocol features or API methods
245* Breaking changes to existing behavior
246* Changes to the message format or schema structure
247* New interoperability standards
248* Governance or process changes
249 
250Here are a few concrete examples of what would require following the SEP steps:
251 
252* Adding a new RPC method like `tools/execute`
253* Changing how authentication and authorization works
254* Adding a new capability negotiation field
255* Modifying the transport layer specification
256 
257## Working with the Specification Repository
258 
259Once you've determined [what type of contribution](#types-of-contributions) you're making, here's
260how to work with the specification repository.
261 
262### Schema Changes
263 
264The TypeScript schema (`schema/draft/schema.ts`) is the **source of truth** for the protocol. It
265defines every message type, request/response structure, and primitive (tools, resources, prompts)
266that clients and servers exchange. SDK implementers across all languages rely on this schema to
267build conformant implementations.
268 
269When you run `npm run generate:schema`, it generates:
270 
271* The JSON schema (`schema/draft/schema.json`) for validation
272* The Schema Reference documentation (`docs/specification/draft/schema.mdx`)
273 
274To modify the schema:
275 
276**1. Edit the TypeScript schema**
277 
278Make your changes in `schema/draft/schema.ts`.
279 
280**2. Add examples (optional)**
281 
282Add JSON examples in `schema/draft/examples/[TypeName]/` (e.g., `Tool/my-example.json`). Reference them in the schema using `@example` + `@includeCode` JSDoc tags.
283 
284**3. Generate JSON schema and docs**
285 
286```bash theme={null}
287npm run generate:schema
288```
289 
290**4. Validate your changes**
291 
292```bash theme={null}
293npm run check
294```
295 
296### Documentation Changes
297 
298Docs are written in [MDX format](https://mdxjs.com/) (Markdown with JSX components) and powered by
299[Mintlify](https://mintlify.com/). The `docs/` directory contains:
300 
301* `docs/docs/` - Guides and tutorials for getting started and building with MCP
302* `docs/specification/` - Formal protocol specification (versioned by date)
303 
304Here is how you can contribute to our documentation:
305 
306**1. Start the local docs server**
307 
308```bash theme={null}
309npm run serve:docs
310```
311 
312This launches a live preview at `http://localhost:3000` with hot reloading.
313 
314**2. Make your changes**
315 
316Edit the relevant `.mdx` files. You can use [Mintlify components](https://www.mintlify.com/docs/components) like `<Note>`, `<Tip>`, `<Steps>`, and `<Card>` for richer formatting.
317 
318**3. Check for issues**
319 
320```bash theme={null}
321npm run check:docs
322```
323 
324This validates formatting, broken links, and other common issues.
325 
326### Major Protocol Changes
327 
328For significant changes, follow the [SEP process](https://modelcontextprotocol.io/community/sep-guidelines.md). Prior to spending a
329lot of time on a spec proposal, make sure to follow these best practices.
330 
331**1. Validate your idea first**
332 
333Discuss in an [Interest Group](https://modelcontextprotocol.io/community/working-interest-groups.md) or on
334[Discord](https://discord.gg/6CSzBmMkjX).
335 
336**2. Build a prototype**
337 
338Demonstrate practical application of your idea.
339 
340**3. Find a sponsor**
341 
342A maintainer from the [maintainer
343list](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/MAINTAINERS.md)
344who will champion your proposal. See [Finding a Sponsor for
345SEPs](#finding-a-sponsor-for-seps) below.
346 
347**4. Write the SEP**
348 
349Follow the [SEP Guidelines](https://modelcontextprotocol.io/community/sep-guidelines.md).
350 
351### Finding a Sponsor for SEPs
352 
353A **sponsor** is a Core Maintainer or Maintainer who champions your SEP through the review
354process. They provide feedback, help refine your proposal, and present it at Core Maintainer
355meetings.
356 
357> [!WARNING]
358>
359> Every SEP needs a sponsor to move forward. SEPs that don't find a sponsor
360> within 6 months are marked as **dormant**. Dormant SEPs aren't rejected
361> outright - they can be revived later if a sponsor is found or the proposal is
362> re-assessed to be needed.
363 
364To find a sponsor:
365 
366**1. Find relevant maintainers**
367 
368Look at the [maintainer
369list](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/MAINTAINERS.md)
370to find maintainers working in your area.
371 
372**2. Tag maintainers in your PR**
373 
374Tag 1-2 relevant maintainers (don't spam everyone).
375 
376**3. Share in Discord**
377 
378Post your PR in the relevant Discord channel to increase visibility.
379 
380**4. Follow up if needed**
381 
382If no response after 2 weeks, ask in `#general` or reach out to a Core
383Maintainer.
384 
385Maintainers review open proposals regularly, but response time varies based on complexity and
386availability.
387 
388## Working with the SDK Repositories
389 
390MCP maintains official SDKs in multiple languages. Contributions are welcome - whether you're
391fixing bugs, improving performance, adding features, or enhancing documentation.
392 
393> [!NOTE]
394>
395> Each SDK has its own repository, maintainers, and contribution guidelines.
396> Some SDKs are maintained in collaboration with larger partner organizations,
397> such as Google, Microsoft, JetBrains, and others, so processes may vary
398> slightly between repositories.
399 
400### Before Contributing to an SDK
401 
402Before diving into code, follow these steps.
403 
404**1. Open an issue first**
405 
406Before starting significant work, open an issue to discuss your approach.
407This helps avoid duplicate effort, ensures your contribution aligns with the
408SDK's direction, and gives maintainers a chance to provide early feedback.
409 
410**2. Join the SDK channel**
411 
412Find the relevant channel in [Discord](https://discord.gg/6CSzBmMkjX) (e.g.,
413`#typescript-sdk-dev`, `#python-sdk-dev`).
414 
415**3. Read the SDK's CONTRIBUTING.md**
416 
417Each repository has its own `CONTRIBUTING.md` with specific instructions for
418setting up your development environment, coding standards, commit message
419conventions, and PR requirements.
420 
421**4. Write tests**
422 
423All contributions should include appropriate test coverage. Bug fixes should
424include a test that reproduces the issue, and new features should have tests
425covering the expected behavior. This helps maintain SDK reliability and
426prevents regressions.
427 
428### SDK Repositories
429 
430> [card] [TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk)
431 
432> [card] [Python SDK](https://github.com/modelcontextprotocol/python-sdk)
433 
434> [card] [Go SDK](https://github.com/modelcontextprotocol/go-sdk)
435 
436> [card] [Kotlin SDK](https://github.com/modelcontextprotocol/kotlin-sdk)
437 
438> [card] [Java SDK](https://github.com/modelcontextprotocol/java-sdk)
439 
440> [card] [C# SDK](https://github.com/modelcontextprotocol/csharp-sdk)
441 
442> [card] [Swift SDK](https://github.com/modelcontextprotocol/swift-sdk)
443 
444> [card] [Rust SDK](https://github.com/modelcontextprotocol/rust-sdk)
445 
446> [card] [Ruby SDK](https://github.com/modelcontextprotocol/ruby-sdk)
447 
448> [card] [PHP SDK](https://github.com/modelcontextprotocol/php-sdk)
449 
450## Getting Help
451 
452Got questions or need guidance? The MCP community is here to help.
453 
454* **[Discord](https://modelcontextprotocol.io/community/communication.md#discord)** - Real-time discussion with contributors and
455 maintainers, focused on MCP contributions (not general MCP support)
456* **[GitHub Discussions](https://github.com/modelcontextprotocol/modelcontextprotocol/discussions)**
457 \- Exploration and conversation: **feature requests**, questions, roadmap planning, and proposals
458 that need input before becoming concrete tasks
459* **[GitHub Issues](https://github.com/modelcontextprotocol/modelcontextprotocol/issues)** -
460 Actionable work: bug reports with reproducible steps, documentation fixes, and tasks that are
461 well-defined and ready to implement (not feature requests)
462 
463This separation helps maintainers focus on work that's ready for implementation while giving ideas
464room to develop. If you're unsure whether something is ready to be an issue, start with a
465discussion. For a complete guide, see our [Contributor Communication](https://modelcontextprotocol.io/community/communication.md)
466documentation.
467 
468For protocol discussions, join [Working Group](https://modelcontextprotocol.io/community/working-interest-groups.md) channels like
469`#auth-wg` or `#server-identity-wg`. For SDK help, find your language's channel (e.g.,
470`#typescript-sdk-dev`).
471 
472## Troubleshooting
473 
474Sometimes things don't go as planned - that's completely normal! Here are solutions to common
475issues. If you're still stuck, don't hesitate to ask for help in
476[Discord](https://modelcontextprotocol.io/community/communication.md#discord). The community is friendly and happy to help you get
477unstuck.
478 
479### `npm run check` fails
480 
481Common causes:
482 
483* **Wrong Node.js version** - Ensure you have Node.js 24+
484* **Missing dependencies** - Run `npm install` again
485* **Schema out of sync** - Run `npm run generate:schema`
486* **Formatting issues** - Run `npm run format` to auto-fix
487 
488### My PR has been sitting unnoticed for weeks
489 
4901. Ensure all CI checks pass
4912. Politely ping the desired reviewer in a comment
4923. Ask in the relevant Discord channel
4934. For urgent issues, reach out to a Core Maintainer
494 
495### I can't find a sponsor for my SEP
496 
4971. Make sure your idea has been discussed in Discord or an Interest Group first
4982. Proposals with demonstrated community interest are more likely to find sponsors
4993. Consider whether your change might be too large - could it be split into smaller SEPs?
500 
501See [Finding a Sponsor for SEPs](#finding-a-sponsor-for-seps) for the full process.
502 
503### My SEP was rejected
504 
505Don't take it personally - a SEP rejection doesn't mean your idea was bad. SEPs can be rejected
506for many reasons: timing, scope, competing priorities, or simply because the protocol isn't ready
507for that change yet. The feedback you receive is valuable and often points toward a path forward.
508 
509Rejection is not permanent. You have a few options ahead:
510 
5111. **Address the feedback and resubmit** - Often, rejection comes with specific concerns.
512 Addressing those concerns and resubmitting can be the right path forward.
5132. **Discuss in Discord** - Talk with maintainers to better understand the concerns. Sometimes a
514 brief conversation reveals a simpler path forward.
5153. **Try a different approach** - Submit a new SEP that addresses the same problem differently,
516 incorporating what you learned.
5174. **Wait for the right moment** - Circumstances change. New use cases emerge, the community
518 grows, and priorities shift. An idea rejected today might be welcomed tomorrow.
519 
520## Out of Scope
521 
522This guide covers contributions to the **core MCP project** - the specification, official SDKs,
523and documentation.
524 
525Building your own MCP servers, clients, or tools is **not** covered here. For guidance on building
526with MCP, see our documentation:
527 
528* [Build a Server](https://modelcontextprotocol.io/docs/develop/build-server.md)
529* [Build a Client](https://modelcontextprotocol.io/docs/develop/build-client.md)
530* [Example Servers](https://modelcontextprotocol.io/examples.md)
531 
532If you build something you'd like to share with the community, you can submit it to the
533[MCP Registry](https://modelcontextprotocol.io/registry/about.md).
534 
535## AI Contributions
536 
537We welcome the use of AI tools like Claude or ChatGPT to help with your contributions! If you do
538use AI assistance, just let us know in your pull request or issue - a quick note about how you
539used it (drafting docs, generating code, brainstorming, etc.) is all we need.
540 
541The key is that you understand and can stand behind your contribution:
542 
543* **You get it** - You understand what the changes do and can explain them
544* **You know why** - You can articulate why the change is needed
545* **You've verified it** - You've tested or validated that it works as intended
546 
547You can read the full policy in
548[AI\_POLICY.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/AI_POLICY.md).
549 
550## Code of Conduct
551 
552All contributors must follow the
553[Code of Conduct](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CODE_OF_CONDUCT.md).
554We expect respectful, professional, and inclusive interactions across all channels.
555 
556## License
557 
558By contributing, you agree that your contributions will be licensed under:
559 
560* **Code and specifications**: Apache License 2.0
561* **Documentation** (excluding specifications): CC-BY 4.0
562 
563See the
564[LICENSE](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/LICENSE) file for
565details.
116* The [Code of Conduct](https://modelcontextprotocol.io/community/policies.md#code-of-conduct) applies in every repository, channel and meeting.
117* [Disclose](https://modelcontextprotocol.io/community/policies.md#ai-assisted-contributions) any AI assistance in the pull request or issue.
118* AI agents must follow [AGENTS.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/AGENTS.md), which limits when they can open issues and pull requests.
119* Contributions are [licensed](https://modelcontextprotocol.io/community/policies.md#licensing-and-intellectual-property) under Apache-2.0 for code and specifications and CC-BY-4.0 for other documentation.
566120 

community/sep-guidelines Changed · +27 / -17 lines

from line 2
22 
33> When a Specification Enhancement Proposal is required and the procedure a proposal follows from pull request to Final.
44 
5This page describes when a Specification Enhancement Proposal (SEP) is required and the procedure from pull request to Final. A SEP is a design document that gives a concise technical specification of a feature or process and its rationale. Its author is responsible for building consensus and recording dissenting opinions. [SEP-1850](https://modelcontextprotocol.io/seps/1850.md) adopted the process and [SEP-2484](https://modelcontextprotocol.io/seps/2484.md) the conformance gate. Changing either requires a Process SEP.
5This page describes when a Specification Enhancement Proposal (SEP) is required and the procedure from pull request to Final. A SEP is a design document that gives a concise technical specification of a feature or process and its rationale. Its author is responsible for building consensus and recording dissenting opinions. [SEP-1850](https://modelcontextprotocol.io/seps/1850.md) adopted the process and [SEP-2484](https://modelcontextprotocol.io/seps/2484.md) the conformance gate. Changing either requires a Process SEP. The sponsorship rules on this page follow [SEP-3398](https://modelcontextprotocol.io/seps/3398.md).
66 
77## When you need a SEP
88 
from line 26
2626 
2727## Before you write
2828 
29Bring the idea to the working or interest group that covers the area first (see [Joining a group](https://modelcontextprotocol.io/community/working-interest-groups.md#joining-a-group)). If no group fits, start a thread in [GitHub Discussions](https://github.com/modelcontextprotocol/modelcontextprotocol/discussions) or in `#general` on Discord, and if interest is sustained consider [forming a group](https://modelcontextprotocol.io/community/working-interest-groups.md#forming-a-group). Check which [roadmap](https://modelcontextprotocol.io/development/roadmap.md) priority area the idea serves, read the [design principles](https://modelcontextprotocol.io/community/design-principles.md), and try the idea as an [extension](https://modelcontextprotocol.io/extensions/overview.md) first where its shape allows. Build a prototype that meets the [Prototype Requirements](#prototype-requirements), then write the SEP.
29A SEP needs a working group to sponsor it before formal review (see [Sponsors](#sponsors)).
3030 
31Prior discussion is required, and the pull request description must link to it: a Discord thread, meeting notes or a GitHub Discussion. A SEP without a linked prior discussion is not accepted. Specification changes are slow by design (see [Stability over velocity](https://modelcontextprotocol.io/community/design-principles.md#stability-over-velocity)).
31To get a working group's sponsorship:
3232 
331. Check whether the idea fits the current focus on the [roadmap](https://modelcontextprotocol.io/development/roadmap.md). SEPs outside its priority areas face a longer queue and a higher bar (see [SEP Prioritization](https://modelcontextprotocol.io/development/roadmap.md#sep-prioritization)).
342. Bring the idea to the working group that covers the area, in its Discord channel or at a meeting (see [Joining a group](https://modelcontextprotocol.io/community/working-interest-groups.md#joining-a-group)). An interest group can help frame the problem first, and a working group sponsors the SEP.
353. Reach [consensus](https://modelcontextprotocol.io/community/working-interest-groups.md#making-decisions) in the working group, then draft a SEP that the group wants to [sponsor](#sponsors). Read the [design principles](https://modelcontextprotocol.io/community/design-principles.md), try the idea as an [extension](https://modelcontextprotocol.io/extensions/overview.md) first where its shape allows, and build a prototype that meets the [Prototype Requirements](#prototype-requirements).
364. The working group brings the SEP to the Core Maintainers for review through the [Workflow](#workflow).
37 
38If an interest group covers the area and no working group does, the interest group can start a working group for the idea through the [forming a group](https://modelcontextprotocol.io/community/working-interest-groups.md#forming-a-group) process, and that working group sponsors the SEP. This is the normal path for areas an interest group owns. If no working or interest group covers the area, propose a new working group through the [forming a group](https://modelcontextprotocol.io/community/working-interest-groups.md#forming-a-group) process. A thread in `#general` on Discord can help find people to join a new working group.
39 
3340## Workflow
3441 
3542```mermaid theme={null}
3643flowchart TD
3744 Idea["Idea"]
38 Awaiting{"Awaiting sponsor<br/>(PR label: proposal)"}
39 Draft["draft"]
45 DraftPR["Draft pull request<br/>(not yet in the SEP process)"]
46 Draft["draft status<br/>(pull request ready for review)"]
4047 Dormant["dormant"]
4148 Withdrawn["withdrawn"]
4249 InReview["in-review"]
from line 53
4653 Final["final"]
4754 Superseded["superseded"]
4855 
49 Idea -->|"Open PR adding the SEP file"| Awaiting
50 Awaiting -->|"Sponsor self-assigns"| Draft
51 Awaiting -->|"180 days without a sponsor"| Dormant
56 Idea -->|"Developed in the open,<br/>no sponsor yet"| DraftPR
57 Idea -->|"Working group<br/>agrees to sponsor"| Draft
58 DraftPR -->|"Working group<br/>agrees to sponsor"| Draft
59 DraftPR -->|"180 days without a sponsor"| Dormant
5260 Dormant -->|"Sponsor found, PR reopened"| Draft
53 Awaiting --> Withdrawn
5461 Draft --> Withdrawn
5562 Draft -->|"Sponsor sets in-review"| InReview
5663 InReview --> Decision
from line 69
6269```
6370 
64711. Copy [`seps/TEMPLATE.md`](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/seps/TEMPLATE.md) to `seps/0000-<slug>.md` and fill it in.
652. Open a pull request against the [specification repository](https://github.com/modelcontextprotocol/modelcontextprotocol), titled `sep: <description>` as in `sep: propose task cancellation`, following the [pull request title guidelines](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md#pull-request-titles). The repository accepts pull requests from collaborators only; if you are not one, find a [sponsor](#sponsors) first and ask them to open it and name you as the author.
722. Open a pull request against the [specification repository](https://github.com/modelcontextprotocol/modelcontextprotocol), titled `sep: <description>` as in `sep: propose task cancellation`, following the [pull request title guidelines](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md#pull-request-titles). Authors who are not members of the `modelcontextprotocol` GitHub organization ask the working group's leads or the [sponsor](#sponsors) to open the pull request and name them as the author.
66733. The SEP number is the PR number. Rename the file (PR #1850 becomes `seps/1850-<slug>.md`), update the header, and run `npm run generate:seps`, or the `check:seps` CI job fails. Rename the pull request to `sep(SEP-1850): <description>`; a follow-up commit is enough, with no amend or force-push. Later pull requests about this SEP keep `SEP-1850` as their scope and link to it in the description.
674. The PR is labeled `proposal`, meaning awaiting sponsor. `proposal` is a PR label only; the `Status` header in the SEP stays unset.
685. A [sponsor](#sponsors) assigns themselves to the PR and sets `draft`. Review takes place in PR comments.
744. Until a working group has agreed to sponsor the SEP, it stays a draft pull request. A draft pull request is for developing a proposal in the open. It is not yet in the SEP process, the `Status` header in the SEP stays unset, and the `wg-support-needed` label marks it.
755. Once a working group has agreed to [sponsor](#sponsors) the SEP, the pull request is marked ready for review. The `Sponsor` header names the person who acts on the sponsoring group's behalf, and that person sets `draft`. Review takes place in PR comments.
69766. When the SEP is ready, the sponsor confirms that the prior discussion happened and is linked in the pull request description, sets `in-review`, and puts it on the Core Maintainer meeting agenda. The author and sponsor may present it.
70777. Core Maintainers decide under [Review and acceptance](#review-and-acceptance). The sponsor records the outcome, `accepted` or `rejected`, on the PR and in the SEP header.
71788. For an accepted SEP, the author adds to the same PR: the specification prose, the `schema.ts` changes with regenerated output (see [CONTRIBUTING.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/CONTRIBUTING.md#schema-changes)), a changelog entry, and any required documentation edits (for a deprecation, the four edits under [Deprecating a Feature](https://modelcontextprotocol.io/community/feature-lifecycle.md#deprecating-a-feature)). The reference implementation is completed where it lives: an SDK branch, a fork or a standalone repository (see [Prototype Requirements](#prototype-requirements)). For a Standards Track SEP with observable protocol behavior, the conformance scenario and `sep-NNNN.yaml` are merged (see [Conformance Test Requirement](#conformance-test-requirement)). SDK implementations are not required for Final.
from line 82
7582 
7683| Status | Meaning | Set by |
7784| - | - | - |
78| `draft` | Has a sponsor, under informal review in PR comments | Sponsor |
85| `draft` | Has a sponsor, pull request ready for review, under informal review in PR comments | Sponsor |
7986| `in-review` | On the Core Maintainer agenda for formal review | Sponsor |
8087| `accepted` | Approved, awaiting specification text, reference implementation and conformance | Sponsor, after the Core Maintainer decision |
8188| `rejected` | Declined by Core Maintainers | Sponsor, after the Core Maintainer decision |
from line 95
8895 
8996## Sponsors
9097 
91A sponsor is a Core Maintainer, a Maintainer, or a WG Lead for a SEP within that working group's scope.
98A working group sponsors a SEP. The Core Maintainers can also sponsor one. Both paths lead to the same review and the same acceptance requirements.
9299 
93To find one, look up the Maintainers for your area in [MAINTAINERS.md](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/main/MAINTAINERS.md), then ask in the group's Discord channel.
100* Working group sponsorship: the working group whose scope the SEP falls in approves it through its [decision-making process](https://modelcontextprotocol.io/community/working-interest-groups.md#making-decisions). [Before you write](#before-you-write) covers how a working group comes to sponsor a SEP.
101* Core Maintainer sponsorship: the Core Maintainers agree to sponsor the SEP and designate a Core Maintainer to represent them. No separate working group approval is required, and the designated Core Maintainer consults the relevant working groups. Note that this path is the exception. In general Core Maintainers will not sponsor SEPs. The usual case is a proposal that comes from the Core Maintainers directly.
94102 
95If you can open pull requests on the repository, post the pull request with its prototype in that channel and tag at most two Maintainers on it. If you cannot, post the draft SEP and its prototype instead, and ask a Maintainer to sponsor it and open the pull request naming you as the author; the SEP is numbered from that pull request as usual. Either way, after two weeks with no response, ask in `#general`.
103The `Sponsor` header names the Maintainer or Core Maintainer who acts on the sponsoring group's behalf, as in `Name (@handle), on behalf of the Transports Working Group` or `Name (@handle), on behalf of the Core Maintainers`. A qualified WG Lead may fill this role for a working group. For the Core Maintainers, the designated Core Maintainer does. The rest of this page calls this person the sponsor.
96104 
97The sponsor reviews the proposal and requests changes, presents it with the author, verifies the Final artifacts, and makes every status change in the [Workflow](#workflow). That covers the `Status` field in the SEP file, which is canonical, and the matching PR label, which is for filtering. A sponsor without write access to the branch sets the field through the author. Authors do not edit `Status` or labels themselves; they ask their sponsor.
105The sponsor is responsible for the SEP's status and labels and for tracking its implementation. The sponsor reviews the proposal and requests changes, presents it with the author, brings it to the Core Maintainers for review, verifies the Final artifacts, and makes every status change in the [Workflow](#workflow). That covers the `Status` field in the SEP file, which is canonical, and the matching PR label, which is for filtering. A sponsor without write access to the branch sets the field through the author. Authors do not edit `Status` or labels themselves. They ask their sponsor.
106 
107The sponsoring group, the sponsor and the author are responsible for moving the SEP forward. When the author cannot open pull requests on the repository, one of the working group's leads or the sponsor opens the pull request and names the author. The SEP is numbered from that pull request as usual.
98108 
99109A WG Lead may also triage and close in-scope SEPs under [Leadership](https://modelcontextprotocol.io/community/working-interest-groups.md#leadership), subject to appeal to Core Maintainers.
100110 

community/working-interest-groups Changed · +2 / -2 lines

from line 2
22 
33> The MCP project's working groups and interest groups, how to join or start one, and the operating rules every group follows.
44 
5This page lists the project's working groups and interest groups, explains how to join or start one, and sets the operating rules every group follows. The rules were adopted by [SEP-2149](https://modelcontextprotocol.io/seps/2149.md), a Specification Enhancement Proposal (SEP). A group's charter cannot override them, and changing them requires a Process SEP. Group membership is not required to take part in a group's work, though a [SEP](https://modelcontextprotocol.io/community/sep-guidelines.md) needs [prior discussion](https://modelcontextprotocol.io/community/sep-guidelines.md#before-you-write) with the relevant working group and its approval before the pull request is opened. You may take part in as many groups as your time allows.
5This page lists the project's working groups and interest groups, explains how to join or start one, and sets the operating rules every group follows. The rules were adopted by [SEP-2149](https://modelcontextprotocol.io/seps/2149.md), a Specification Enhancement Proposal (SEP). A group's charter cannot override them, and changing them requires a Process SEP. Group membership is not required to take part in a group's work, though a [SEP](https://modelcontextprotocol.io/community/sep-guidelines.md) needs [prior discussion](https://modelcontextprotocol.io/community/sep-guidelines.md#before-you-write) with the relevant working group and its agreement to sponsor before the pull request is [marked ready for review](https://modelcontextprotocol.io/community/sep-guidelines.md#workflow). You may take part in as many groups as your time allows.
66 
77## Working groups and interest groups
88 
from line 15
1515| Duration | Until its deliverables are complete | Ongoing while the topic is relevant |
1616| Example | [Transports](https://modelcontextprotocol.io/community/working-groups/transports.md) | [Security](https://modelcontextprotocol.io/community/interest-groups/security.md) |
1717 
18In the usual path an interest group frames a problem, and a new working group, an existing group, or a SEP submitted directly solves it.
18In the usual path an interest group frames a problem, and a working group solves it. That can be an existing working group or a new one the interest group starts through the [forming a group](#forming-a-group) process, and the working group sponsors any resulting SEP.
1919 
2020## Current groups
2121 
Feedback