Skip to content

feat(cursor): add mcp input to configure MCP servers for Cursor #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

matifali
Copy link
Member

@matifali matifali commented Aug 9, 2025

This adds a new optional input mcp to the cursor module.

  • Accepts a JSON-encoded string with MCP server configuration
  • When provided, a coder_script writes it to ~/.cursor/mcp.json on start
  • Keeps existing behavior unchanged if mcp is empty
  • Adds tests verifying the mcp.json is written
  • Updates README with mcp usage example
  • Fixes Prettier and terraform fmt formatting issues flagged by CI

CI should now pass after the latest commits.

blink-so bot added 4 commits August 9, 2025 18:30
…script\n\nCo-authored-by: matifali <10648092+matifali@users.noreply.github.com>
…ali <10648092+matifali@users.noreply.github.com>
…matifali <10648092+matifali@users.noreply.github.com>
…<10648092+matifali@users.noreply.github.com>
@matifali matifali added the version:minor Add to PRs requiring a minor version upgrade label Aug 9, 2025

This comment was marked as resolved.

Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
@matifali matifali marked this pull request as draft August 9, 2025 18:41
Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
@matifali matifali requested a review from bpmct August 9, 2025 18:45
@matifali matifali changed the title cursor(module): add mcp input to configure MCP servers via coder_script feat(cursor): add mcp input to configure MCP servers for Cursor Aug 9, 2025
@bpmct
Copy link
Member

bpmct commented Aug 10, 2025

Nice!

@matifali matifali marked this pull request as ready for review August 11, 2025 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version:minor Add to PRs requiring a minor version upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants