- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 10.4k
Feature/assistant mcp #35318
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
          
     Merged
      
      
    
                
     Merged
            
            Feature/assistant mcp #35318
Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    | The latest updates on your projects. Learn more about Vercel for Git ↗︎ 
 6 Skipped Deployments
 | 
| This pull request has been ignored for the connected project  Preview Branches by Supabase. | 
* Limit number of historical messages that get sent to assistant * Update max chat history to 5
      
        
      
      
  
    1 task
  
* Add feature flag for opt in tags * Add one more check
…upabase into feature/assistant-mcp
* Add custom link component to assistant message block * Update based on feedback * Render plain text if URL is deemed unsafe
              
                    joshenlim
  
              
              approved these changes
              
                  
                    Jun 26, 2025 
                  
              
              
            
            
    
  joshenlim 
      added a commit
      that referenced
      this pull request
    
      Jun 26, 2025 
    
    
      
  
    
      
    
  
This reverts commit 3a50dd1.
    
  joshenlim 
      added a commit
      that referenced
      this pull request
    
      Jun 26, 2025 
    
    
  
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  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.
  
    
  
    
What kind of change does this PR introduce?
There is a side effect of this change. The MCP supports running queries directly then reading and interpreting the results. This is different to the current behaviour where all queries are run outside the context of the Assistant (QueryBlock runs the query and renders results). This creates a couple of challenges:
What is the current behavior?
Uses tools built in in Studio
What is the new behavior?
Uses Supabase MCP
How to test
Set up AWS ENV variables
Switch to infra PR
Open Assistant and test:
Other questions
Infrastructure
This work requires adding a tag to API via https://github.com/supabase/infrastructure/pull/22828