H
Hasura
Query Hasura GraphQL APIs.
·No reviews yet
Share:
About
Auto-generated
Hasura is a Model Context Protocol server in the Data & Databases category. It lets AI assistants that speak MCP call its tools and read its resources over STDIO.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
query
Run a read-only SQL query
list_tables
List tables in the connected database
describe_table
Return column info for a table
Screenshots
No screenshots yet.
Frequently Asked Questions
Common questions about Hasura.
- What is the primary function of the Hasura MCP?
- The Hasura MCP allows you to query existing Hasura GraphQL APIs, enabling integration of Hasura-managed data sources into client applications. It acts as a connector between clients and your Hasura backend.
- How can I configure the Hasura MCP in an MCP client like Cursor?
- To configure the Hasura MCP in Cursor, you typically provide the server's endpoint and any required API key within the client's connection settings. The exact steps depend on the Cursor version and interface.
- Does the Hasura MCP require an API key for authentication?
- Yes, the Hasura MCP uses API key authentication. You will need to provide a valid API key to connect and interact with your Hasura GraphQL APIs through this MCP.
- What capabilities does the Hasura MCP expose to integrated clients?
- The Hasura MCP primarily exposes the querying capabilities of your Hasura GraphQL APIs. This means clients can perform data retrieval operations as defined by your Hasura schema.
- Is there a cost associated with using the Hasura MCP?
- The Hasura MCP itself is provided by the community and is open-source. Any costs would depend on the underlying Hasura Cloud service or your self-hosted Hasura GraphQL engine deployment.
- What is a prerequisite for using the Hasura MCP effectively?
- A key prerequisite for using the Hasura MCP is having an existing and operational Hasura GraphQL API endpoint. The MCP connects to and queries this pre-existing Hasura instance.
Install Hasura
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"hasura": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hasura"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"hasura": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hasura"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"hasura": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-hasura"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.