hasura-mcp-server
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
create_table
Create new tables with columns and constraints.
add_column
Add columns to existing tables.
create_relationship
Define relationships between tables.
set_permissions
Configure role-based permissions.
generate_migration
Create custom migration files.
analyze_schema
Analyze schema and provide optimization suggestions.
apply_migrations
Apply pending migrations and metadata to Hasura instance.