Add .mcp.json to .gitignore for local testing #94
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds
.mcp.jsonto.gitignoreto allow developers to configure local MCP server settings for testing with Claude Code without committing credentials or local paths to source control.Changes
.mcp.jsonto.gitignoreUse Case
Developers working on this MCP server can create a local
.mcp.jsonfile to:Example Configuration
{ "inputs": [ { "id": "mysql_connection_string", "type": "promptString", "description": "MySQL Connection String", "password": true } ], "servers": { "mysql_local": { "command": "/path/to/node", "args": ["/path/to/mcp-server-mysql/dist/index.js"], "env": { "MYSQL_CONNECTION_STRING": "${input:mysql_connection_string}" } } } }Important Notes
This is Claude Code specific - This configuration format is specific to Claude Code's MCP integration. Other MCP clients may use different configuration formats. Feel free to reject this PR if you prefer not to include Claude Code-specific configurations in the repository.
The main benefit is allowing local testing without accidentally committing sensitive credentials.
Code Quality
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]