MCP Integration
Hydex provides an MCP (Model Context Protocol) endpoint that gives AI coding assistants direct access to the full documentation corpus. Instead of crawling the website, agents can search 5,500+ documented types programmatically.
Endpoint
Section titled “Endpoint”https://mcp.pre.hydex.dev/mcpConfiguration
Section titled “Configuration”Claude Code / Claude Desktop
Section titled “Claude Code / Claude Desktop”Add to your MCP settings:
{ "mcpServers": { "hydex-pre": { "url": "https://mcp.pre.hydex.dev/mcp" } }}Other MCP Clients
Section titled “Other MCP Clients”Any MCP-compatible client can connect using Streamable HTTP transport at
https://mcp.pre.hydex.dev/mcp.
Available Tools
Section titled “Available Tools”search_docs
Section titled “search_docs”Search the Hytale source documentation. Returns relevant chunks from 5,500+ documented types.
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | (required) | Search query — type names, method names, or natural language questions |
max_results | number | 10 | Maximum results to return (1-20) |
Example Queries
Section titled “Example Queries”"PluginBase lifecycle methods"— find plugin lifecycle documentation"how to register a command"— find command registration patterns"BlockType JSON schema fields"— find block configuration options"NPC behavior tree actions"— find NPC AI documentation"EcsEvent vs IEvent"— compare event system hierarchies
Why MCP Instead of Crawling?
Section titled “Why MCP Instead of Crawling?”The MCP endpoint returns clean, structured documentation chunks with relevance scoring. Crawling the website gives you HTML wrapped in navigation and layout markup. For AI-assisted development, the MCP provides better results with less noise.
The website’s robots.txt discourages automated crawling. Use the MCP
endpoint for programmatic access.