Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ericpgreen2
Copy link
Contributor

@ericpgreen2 ericpgreen2 commented May 28, 2025

This PR adds a new "AI" tab that guides users through integrating their Rill project with an AI client using MCP. It includes:

  1. A project-specific MCP configuration snippet
  2. A UI to easily generate a personal access token (PAT) for private projects

Private projects:
image
image

Public projects:
image

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@ericpgreen2 ericpgreen2 self-assigned this May 28, 2025
@ericpgreen2 ericpgreen2 changed the title feat: Add an AI page with MCP instructions feat (AI): Add AI integration page with MCP configuration and PAT generation May 28, 2025
Copy link
Collaborator

@nishantmonu51 nishantmonu51 left a comment

Choose a reason for hiding this comment

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

LGTM, overall.

@begelundmuller
Copy link
Contributor

begelundmuller commented May 29, 2025

Not a blocker for this, but if the user clicks "create token", it'd be nice if it additionally templated it into the Claude config so you could one-click copy instead of copy/pasting twice and maybe messing up.

Copy link
Contributor

@begelundmuller begelundmuller left a comment

Choose a reason for hiding this comment

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

Pre-approving to unblock

@ericpgreen2 ericpgreen2 marked this pull request as ready for review May 29, 2025 13:30
@ericpgreen2 ericpgreen2 merged commit c7f6c77 into main May 29, 2025
9 checks passed
@ericpgreen2 ericpgreen2 deleted the ai-tab branch May 29, 2025 14:56
ericpgreen2 added a commit that referenced this pull request May 29, 2025
…eration (#7379)

* Add AI tab & MCP configuration section

* Add personal access token section

* Issue token immediately, not in a dialog

* Don't show PAT section for public projects

* Copy tweaks

* Commit `package-lock.json`

* Fix base URL

* Inject PAT into the MCP JSON snippet

* Remove needless classes

* Fix lint

* Move Prism CSS import to `CodeBlock` component (used in only one place in our app)
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.

4 participants