h2ogpte-mcp-server
Enables interaction with H2OGPTe's REST API, allowing document ingestion, collection management, and chat with AI models through MCP tools and resources.
README
H2OGPTe MCP Server
H2OGPTe MCP Server is a Model Context Protocol (MCP) server that prifor the H2OGPTe project. The server is just a local proxy forwarding traffic to REST API endpoints of H2OGPTe executed as commnad.
Installation
From Pypi
pip install h2ogpte-mcp-server
From Github
# Clone git repository
git clone https://github.com/h2oai/h2ogpte-mcp-server.git
# Use the latest release version
git checkout $(git describe --tags)
make setup
make build
# The command will install h2ogpte-mcp-server to the current python environment
make install
Usage
Environment Variables
- H2OGPTE_API_KEY - (required) H2OGPTe access key. See documentation on how to get the key.
- H2OGPTE_SERVER_URL - The url of H2OGPTe server. Default value is https://h2ogpte.genai.h2o.ai.
- H2OGPTE_ALL_ENDPOINTS_AS_TOOLS - A boolean flag, specifing whether all REST API endpoints should be represented as MCP tools. If disabled, GET endpoints will be represented as resources. Default value is
true. - H2OGPTE_ENDPOINT_SET - A set of REST API endpoints that will be used for MCP tools or resources. The default value is
all_without_async_ingest. Possible values:all- All REST API endpoints on the H2OGPTe serverall_without_async_ingest- All endpoints without asynchronous ingestion endpoints. These endpoints start and returns a job. E.g.:create_ingest_upload_jobbasic- A mininal set of endpoints for chatting with collections and ingesting new documents.custom- A set of endpoints defined by the user. If chossen, theH2OGPTE_CUSTOM_ENDPOINT_SET_FILEvariable must be set.
- H2OGPTE_CUSTOM_ENDPOINT_SET_FILE - A path to file with the list of REST API endpoints. Each endpoint name must be an a separate line. The name of the endpoint is the
operationIdattribute in REST API spec file (e.g.: https://h2ogpte.genai.h2o.ai/api-spec.yaml) - H2OGPTE_CUSTOM_ENDPOINT_SPEC_FILE - A path to OpenAPI spec file in YAML format describing REST API of the H2OGPTe server. If not specified, the file is obtained from the H2OGPTe server itself. This environement variable should be used only for debugging purposes.
Example Configuration
An example MCP server configuration for MCP clients. E.g.: Cursor, Claude Desktop
{
"mcpServers": {
"h2ogpte-mcp-server": {
"command": "h2ogpte-mcp-server",
"env": {
"H2OGPTE_API_KEY": "sk-...",
"H2OGPTE_SERVER_URL": "https://h2ogpte.genai.h2o.ai",
"H2OGPTE_ALL_ENDPOINTS_AS_TOOLS": "true"
}
}
}
}
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.