Skip to content

Conversation

@czy88840616
Copy link
Contributor

Description

Wraps the mcpServers configuration example in a complete JSON object in the time/README.md file.

Server Details

  • Server: time
  • Changes to: Documentation (README.md)

Motivation and Context

Some LLM clients and developer tools like Cursor and Trae require complete JSON objects for better syntax highlighting, validation, and in-editor rendering. Wrapping the example ensures better compatibility and a smoother developer experience.

How Has This Been Tested?

Tested within Trae and Cursor—the updated JSON renders correctly and is immediately usable without modification or copy-paste fixes.

Breaking Changes

No breaking changes. This is a documentation-only update.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

This improves the usability of example configurations for developers using JSON-aware editors or IDEs that expect fully structured JSON documents.

Copy link
Member

@olaservo olaservo left a comment

Choose a reason for hiding this comment

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

Thank you!

@olaservo olaservo merged commit 6c92464 into modelcontextprotocol:main Apr 23, 2025
25 checks passed
PazerOP referenced this pull request in PazerOP/mcp-template Jul 15, 2025
Docs: wrap mcpServers config in complete JSON for better IDE support
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.

2 participants