hasura-mcp-server

hasura-mcp-server

3.2

If you are the rightful owner of hasura-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server that enables AI assistants to automatically generate Hasura migrations and metadata from natural language descriptions.

The Hasura MCP Server is designed to streamline the process of managing Hasura projects by leveraging AI to interpret natural language descriptions and convert them into actionable database migrations and metadata configurations. This server is built on a modular architecture, ensuring a clear separation of concerns and facilitating easy maintenance and extensibility. It provides a suite of tools and resources that allow AI assistants to interact with Hasura projects, perform operations such as creating tables, adding columns, and setting permissions, and generate optimized database schemas. The server is configured using environment variables, making it adaptable to different deployment environments. It also integrates seamlessly with platforms like Claude Desktop, allowing for easy setup and execution of Hasura operations.

Features

  • Automatic generation of Hasura migrations and metadata from natural language.
  • Modular architecture for easy maintenance and extensibility.
  • Comprehensive set of tools for managing Hasura projects.
  • AI-assisted schema generation and optimization.
  • Seamless integration with platforms like Claude Desktop.

Tools

  1. create_table

    Create new tables with columns and constraints.

  2. add_column

    Add columns to existing tables.

  3. create_relationship

    Define relationships between tables.

  4. set_permissions

    Configure role-based permissions.

  5. generate_migration

    Create custom migration files.

  6. analyze_schema

    Analyze schema and provide optimization suggestions.

  7. apply_migrations

    Apply pending migrations and metadata to Hasura instance.