gareev-app-mcp

gareev-app-mcp

AI-powered MCP server for managing a Supabase Upload App, enabling blog posts, newsletters, subscribers, and more via natural language commands.

Category
Visit Server

README

gareev.de App MCP Server

NPM Version Node.js CI License: MIT

AI-powered tools for Supabase Upload App management - Blog posts, newsletters, subscribers, and more through natural language commands.

šŸš€ Quick Start

One-line Installation

curl -fsSL https://raw.githubusercontent.com/gareevart/gareev-app-mcp/main/install.sh | bash

Manual Installation

npm install -g @gareev/gareev-app-mcp

šŸ“‹ Prerequisites

  • Node.js 18+ - Download here
  • VS Code or Cursor with MCP extension
  • Supabase project with Upload App schema
  • Running Supabase Upload App (typically on http://localhost:3000)

✨ Features

šŸ¤– Natural Language Commands

Talk to your Supabase app using plain English:

"Show me the latest 5 blog posts"
"Create a new blog post titled 'My Article'"
"Get all active newsletter subscribers"
"Show me app statistics"

šŸ› ļø Available Tools

Tool Description Example Usage
get_blog_posts Retrieve blog posts with filtering "Show me published posts from this week"
create_blog_post Create new blog posts "Create a post titled 'Hello World'"
get_broadcasts Get email newsletters/broadcasts "Show me all sent newsletters"
get_subscribers Retrieve newsletter subscribers "Get all active subscribers"
get_broadcast_groups Get subscriber groups "Show me all subscriber groups"
get_user_profiles Get user profiles and roles "Show me all admin users"
get_images Retrieve uploaded images "Get all images with tags"
get_app_stats Get comprehensive app statistics "Show me app statistics"

šŸ”§ Setup

1. Get Supabase Credentials

From Supabase Dashboard:

  1. Go to Supabase Dashboard
  2. Select your project → Settings → API
  3. Copy Project URL and anon public key

From your app's .env.local:

NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

2. Configure MCP

The installer will automatically configure MCP settings, or you can manually add:

Location: ~/Library/../../mcp_settings.json

{
  "mcpServers": {
    "gareev-app-mcp": {
      "disabled": false,
      "type": "stdio",
      "command": "npx",
      "args": ["@gareev/gareev-app-mcp"],
      "env": {
        "SUPABASE_URL": "https://your-project.supabase.co",
        "SUPABASE_ANON_KEY": "your-anon-key-here",
        "APP_BASE_URL": "http://localhost:3000"
      }
    }
  }
}

3. Restart Editor

Restart VS Code or Cursor to load the MCP server.

šŸ’” Usage Examples

Blog Management

"Show me all draft posts"
"Create a blog post titled 'Getting Started' with content 'Welcome to our blog!'"
"Get the latest 10 published posts"

Newsletter Management

"Show me all newsletter subscribers"
"Get broadcast groups with subscriber counts"
"Show me failed email broadcasts"

Analytics & Insights

"Show me app statistics"
"Get all uploaded images from this month"
"Show me user profiles with admin role"

šŸ—ļø Database Schema

Your Supabase project needs these tables:

  • blog_posts - Blog articles and content
  • sent_mails - Email broadcasts/newsletters
  • subscribe - Newsletter subscribers
  • broadcast_groups - Subscriber groups
  • group_subscribers - Group membership
  • profiles - User profiles and roles
  • images - Uploaded media files
  • tags - Content tags
  • image_tags - Tag relationships

šŸ”’ Security

  • Uses Supabase Row Level Security (RLS) policies
  • Respects your existing authentication and permissions
  • No sensitive data stored by the MCP server
  • All operations go through your app's secure API endpoints

šŸ› ļø Development

Local Development

git clone https://github.com/gareevart/gareev-app-mcp.git
cd supabase-app-mcp-server
npm install
npm run build
npm run dev

Testing

# Test server startup
npm run build
node test-server.cjs

# Test with your credentials
SUPABASE_URL=your-url SUPABASE_ANON_KEY=your-key npm start

Project Structure

supabase-app-mcp-server/
ā”œā”€ā”€ src/
│   └── index.ts          # Main server implementation
ā”œā”€ā”€ build/                # Compiled JavaScript
ā”œā”€ā”€ .github/workflows/    # CI/CD automation
ā”œā”€ā”€ install.sh           # One-line installer
ā”œā”€ā”€ USER_GUIDE.md        # Detailed user documentation
└── package.json         # Package configuration

🚨 Troubleshooting

Common Issues

āŒ "Server not found"

  • Restart your editor after installation
  • Check MCP settings configuration
  • Verify server installation: npm list -g @gareev/gareev-app-mcp

āŒ "Environment variables required"

  • Double-check SUPABASE_URL and SUPABASE_ANON_KEY in MCP settings
  • Ensure your Supabase project is active

āŒ "Connection refused"

  • Make sure your Supabase Upload App is running
  • Verify APP_BASE_URL points to your running app
  • Check that API endpoints are accessible

āŒ "Permission denied"

  • Review your Supabase RLS policies
  • Ensure anon key has necessary permissions
  • Consider adding SUPABASE_SERVICE_ROLE_KEY for advanced operations

šŸ“š Documentation

šŸ¤ Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

šŸ“ž Support


Made with ā¤ļø for the Supabase community

Transform your Supabase app management with AI-powered natural language commands!

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured