Skip to content

chore: ignore .mcp.json (Claude Code project MCP config)#24605

Merged
davsclaus merged 1 commit into
apache:mainfrom
ammachado:chore/gitignore-mcp-json
Jul 11, 2026
Merged

chore: ignore .mcp.json (Claude Code project MCP config)#24605
davsclaus merged 1 commit into
apache:mainfrom
ammachado:chore/gitignore-mcp-json

Conversation

@ammachado

Copy link
Copy Markdown
Contributor

Description

Adds .mcp.json to .gitignore.

.mcp.json is Claude Code's project-scoped MCP server configuration file. It is a local developer-tooling artifact and should not be committed to the repository, similar to the existing .claude entry it is grouped next to.

Rationale

  • Prevents contributors who use Claude Code from accidentally committing personal/local MCP server definitions.
  • Consistent with the already-ignored .claude directory (AI tooling artifacts).

No production, build, or runtime code is affected.


Claude Code on behalf of ammachado

🤖 Generated with Claude Code

Local Claude Code project-scoped MCP server configuration should not be
committed. Grouped alongside the existing .claude entry.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ammachado ammachado marked this pull request as ready for review July 11, 2026 19:02
@github-actions

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@gnodet gnodet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code review on behalf of @gnodet

Trivial and correct. .mcp.json is Claude Code's project-scoped MCP server config — a local developer-tooling artifact that should not be committed, consistent with the already-ignored .claude directory it sits next to.

LGTM.

@ammachado

Copy link
Copy Markdown
Contributor Author

Build failed with:

Error: Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip

@davsclaus davsclaus merged commit e4c375a into apache:main Jul 11, 2026
3 of 5 checks passed
@ammachado ammachado deleted the chore/gitignore-mcp-json branch July 11, 2026 19:37
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.

3 participants