h2ogpte-mcp-server


Nameh2ogpte-mcp-server JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryMCP API server for h2oGPTe
upload_time2025-07-23 19:54:40
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseNone
keywords h2ogpte mcp mcp-server llm
VCS
bugtrack_url
requirements fastmcp pyyaml httpx
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # H2OGPTe MCP Server

H2OGPTe MCP Server is a Model Context Protocol (MCP) server that prifor the [H2OGPTe](https://h2o.ai/platform/enterprise-h2ogpte/) project. 
The server is just a local proxy forwarding traffic to [REST API endpoints of H2OGPTe](https://h2ogpte.genai.h2o.ai/swagger-ui/) executed as commnad.

##  Installation

### From Pypi

```sh
pip install h2ogpte-mcp-server
```

### From Github

```sh
# 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](https://docs.h2o.ai/enterprise-h2ogpte/guide/apis#create-an-api-key) on how to get the key.
- **H2OGPTE_SERVER_URL** - The url of H2OGPTe server. Default value is [https://h2ogpte.genai.h2o.ai](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 server
  - `all_without_async_ingest` - All endpoints without asynchronous ingestion endpoints. These endpoints start  and returns a job. E.g.: `create_ingest_upload_job` 
  - `basic` - A mininal set of endpoints for chatting with collections and ingesting new documents.
  - `custom` - A set of endpoints defined by the user. If chossen, the `H2OGPTE_CUSTOM_ENDPOINT_SET_FILE` variable 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 `operationId` attribute in REST API spec file (e.g.: [https://h2ogpte.genai.h2o.ai/api-spec.yaml](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

```json
{
  "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"
      }
    }
  }
}
```


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "h2ogpte-mcp-server",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "h2ogpte, mcp, mcp-server, llm",
    "author": null,
    "author_email": "\"H2O.ai, Inc.\" <support@h2o.ai>",
    "download_url": null,
    "platform": null,
    "description": "# H2OGPTe MCP Server\n\nH2OGPTe MCP Server is a Model Context Protocol (MCP) server that prifor the [H2OGPTe](https://h2o.ai/platform/enterprise-h2ogpte/) project. \nThe server is just a local proxy forwarding traffic to [REST API endpoints of H2OGPTe](https://h2ogpte.genai.h2o.ai/swagger-ui/) executed as commnad.\n\n##  Installation\n\n### From Pypi\n\n```sh\npip install h2ogpte-mcp-server\n```\n\n### From Github\n\n```sh\n# Clone git repository\ngit clone https://github.com/h2oai/h2ogpte-mcp-server.git\n\n# Use the latest release version\ngit checkout $(git describe --tags)\n\nmake setup\nmake build\n\n# The command will install h2ogpte-mcp-server to the current python environment\nmake install\n```\n\n## Usage\n\n### Environment Variables\n- **H2OGPTE_API_KEY** - (required) H2OGPTe access key. See [documentation](https://docs.h2o.ai/enterprise-h2ogpte/guide/apis#create-an-api-key) on how to get the key.\n- **H2OGPTE_SERVER_URL** - The url of H2OGPTe server. Default value is [https://h2ogpte.genai.h2o.ai](https://h2ogpte.genai.h2o.ai).\n- **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`.\n- **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:\n  - `all` - All REST API endpoints on the H2OGPTe server\n  - `all_without_async_ingest` - All endpoints without asynchronous ingestion endpoints. These endpoints start  and returns a job. E.g.: `create_ingest_upload_job` \n  - `basic` - A mininal set of endpoints for chatting with collections and ingesting new documents.\n  - `custom` - A set of endpoints defined by the user. If chossen, the `H2OGPTE_CUSTOM_ENDPOINT_SET_FILE` variable must be set.\n- **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 `operationId` attribute in REST API spec file (e.g.: [https://h2ogpte.genai.h2o.ai/api-spec.yaml](https://h2ogpte.genai.h2o.ai/api-spec.yaml)) \n- **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.\n\n### Example Configuration\nAn example MCP server configuration for MCP clients. E.g.: Cursor, Claude Desktop\n\n```json\n{\n  \"mcpServers\": {\n    \"h2ogpte-mcp-server\": {\n      \"command\": \"h2ogpte-mcp-server\",\n      \"env\": {\n        \"H2OGPTE_API_KEY\": \"sk-...\",\n        \"H2OGPTE_SERVER_URL\": \"https://h2ogpte.genai.h2o.ai\",\n        \"H2OGPTE_ALL_ENDPOINTS_AS_TOOLS\": \"true\"\n      }\n    }\n  }\n}\n```\n\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "MCP API server for h2oGPTe",
    "version": "0.1.4",
    "project_urls": {
        "Documentation": "https://github.com/h2oai/h2ogpte-mcp-server?tab=readme-ov-file",
        "Issues": "https://github.com/h2oai/h2ogpte-mcp-server/issues",
        "Source": "https://github.com/h2oai/h2ogpte-mcp-server"
    },
    "split_keywords": [
        "h2ogpte",
        " mcp",
        " mcp-server",
        " llm"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "eafd85fdb3eada4c744766e16420ae65e0ebc1b975bb1e6589ea187b6c3e5034",
                "md5": "5e065ac3d8a8c92f8f95edade36a4743",
                "sha256": "ad9de7dd152b58ced5a5e25faf18b20b8d0ce94a30ad6d5d63092e4611d9dec2"
            },
            "downloads": -1,
            "filename": "h2ogpte_mcp_server-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5e065ac3d8a8c92f8f95edade36a4743",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 5929,
            "upload_time": "2025-07-23T19:54:40",
            "upload_time_iso_8601": "2025-07-23T19:54:40.755500Z",
            "url": "https://files.pythonhosted.org/packages/ea/fd/85fdb3eada4c744766e16420ae65e0ebc1b975bb1e6589ea187b6c3e5034/h2ogpte_mcp_server-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-23 19:54:40",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "h2oai",
    "github_project": "h2ogpte-mcp-server?tab=readme-ov-file",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "fastmcp",
            "specs": [
                [
                    "==",
                    "2.6.1"
                ]
            ]
        },
        {
            "name": "pyyaml",
            "specs": [
                [
                    "==",
                    "6.0.2"
                ]
            ]
        },
        {
            "name": "httpx",
            "specs": [
                [
                    "==",
                    "0.28.1"
                ]
            ]
        }
    ],
    "lcname": "h2ogpte-mcp-server"
}
        
Elapsed time: 0.50780s