looker-mcp-server 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. looker_mcp_server-0.1.0/.github/CONTRIBUTING.md +120 -0
  2. looker_mcp_server-0.1.0/.github/ISSUE_TEMPLATE/bug_report.yml +47 -0
  3. looker_mcp_server-0.1.0/.github/ISSUE_TEMPLATE/config.yml +5 -0
  4. looker_mcp_server-0.1.0/.github/ISSUE_TEMPLATE/feature_request.yml +31 -0
  5. looker_mcp_server-0.1.0/.github/PULL_REQUEST_TEMPLATE.md +14 -0
  6. looker_mcp_server-0.1.0/.github/workflows/ci.yml +73 -0
  7. looker_mcp_server-0.1.0/.github/workflows/release.yml +51 -0
  8. looker_mcp_server-0.1.0/.gitignore +18 -0
  9. looker_mcp_server-0.1.0/CHANGELOG.md +33 -0
  10. looker_mcp_server-0.1.0/LICENSE +191 -0
  11. looker_mcp_server-0.1.0/PKG-INFO +311 -0
  12. looker_mcp_server-0.1.0/README.md +284 -0
  13. looker_mcp_server-0.1.0/SECURITY.md +43 -0
  14. looker_mcp_server-0.1.0/pyproject.toml +70 -0
  15. looker_mcp_server-0.1.0/src/looker_mcp_server/__init__.py +3 -0
  16. looker_mcp_server-0.1.0/src/looker_mcp_server/__main__.py +5 -0
  17. looker_mcp_server-0.1.0/src/looker_mcp_server/client.py +296 -0
  18. looker_mcp_server-0.1.0/src/looker_mcp_server/config.py +133 -0
  19. looker_mcp_server-0.1.0/src/looker_mcp_server/identity.py +224 -0
  20. looker_mcp_server-0.1.0/src/looker_mcp_server/main.py +135 -0
  21. looker_mcp_server-0.1.0/src/looker_mcp_server/middleware.py +49 -0
  22. looker_mcp_server-0.1.0/src/looker_mcp_server/py.typed +0 -0
  23. looker_mcp_server-0.1.0/src/looker_mcp_server/server.py +149 -0
  24. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/__init__.py +1 -0
  25. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/admin.py +289 -0
  26. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/content.py +326 -0
  27. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/explore.py +233 -0
  28. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/git.py +162 -0
  29. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/health.py +209 -0
  30. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/modeling.py +211 -0
  31. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/query.py +239 -0
  32. looker_mcp_server-0.1.0/src/looker_mcp_server/tools/schema.py +103 -0
  33. looker_mcp_server-0.1.0/tests/__init__.py +0 -0
  34. looker_mcp_server-0.1.0/tests/test_client.py +222 -0
  35. looker_mcp_server-0.1.0/tests/test_config.py +81 -0
  36. looker_mcp_server-0.1.0/tests/test_identity.py +189 -0
  37. looker_mcp_server-0.1.0/uv.lock +1636 -0
@@ -0,0 +1,120 @@
1
+ # Contributing to looker-mcp-server
2
+
3
+ Thank you for your interest in contributing! This guide will help you get started.
4
+
5
+ ## Before You Start
6
+
7
+ All non-trivial changes require an issue first. Please open one before writing code so we can discuss the approach. Maintainers may close PRs without a linked issue.
8
+
9
+ ## Development Setup
10
+
11
+ **Requirements:** Python 3.11+, [uv](https://docs.astral.sh/uv/)
12
+
13
+ ```bash
14
+ git clone https://github.com/ultrathink-solutions/looker-mcp-server.git
15
+ cd looker-mcp-server
16
+ uv sync --locked --dev
17
+ ```
18
+
19
+ ## Running Quality Checks
20
+
21
+ All four checks must pass before submitting a PR. CI enforces this.
22
+
23
+ ```bash
24
+ uv run ruff format . # format code
25
+ uv run ruff check . # lint
26
+ uv run pyright # type check
27
+ uv run pytest tests/ -v # run tests
28
+ ```
29
+
30
+ ## Project Structure
31
+
32
+ ```
33
+ src/looker_mcp_server/
34
+ ├── config.py # Pydantic settings (env vars)
35
+ ├── identity.py # IdentityProvider protocol + built-in providers
36
+ ├── client.py # Looker API client with ephemeral sessions
37
+ ├── middleware.py # ASGI header capture
38
+ ├── server.py # Server factory + tool group registry
39
+ ├── main.py # CLI entry point
40
+ └── tools/
41
+ ├── explore.py # Semantic model discovery
42
+ ├── query.py # Queries and content search
43
+ ├── schema.py # Database introspection
44
+ ├── content.py # Look and dashboard CRUD
45
+ ├── modeling.py # LookML file editing
46
+ ├── git.py # Git operations and deployment
47
+ ├── admin.py # User/role/group management
48
+ └── health.py # Instance health checks
49
+ ```
50
+
51
+ ## Adding a New Tool
52
+
53
+ 1. Identify which tool group it belongs to (or propose a new group)
54
+ 2. Add the tool function in the appropriate `tools/*.py` file
55
+ 3. Follow the existing pattern: `@server.tool()` decorator, `client.build_context()`, `async with client.session(ctx) as session:`
56
+ 4. Return JSON strings (not dicts) — this is required by MCP
57
+ 5. Wrap the body in `try/except` and use `format_api_error()` for error handling
58
+ 6. Add tests
59
+
60
+ ## Adding a New Tool Group
61
+
62
+ 1. Create `src/looker_mcp_server/tools/your_group.py` with a `register_your_group_tools(server, client)` function
63
+ 2. Register it in `server.py`'s `_group_registry` dict
64
+ 3. Add the group name to `ALL_GROUPS` in `config.py`
65
+ 4. Decide if it should be in `DEFAULT_GROUPS` (read-only, safe groups) or opt-in only
66
+
67
+ ## Code Style
68
+
69
+ - **Type hints** on all functions (Python 3.11+ syntax: `list[str]`, not `List[str]`)
70
+ - **Pydantic** for data models and settings (not dataclasses)
71
+ - **structlog** for logging
72
+ - **ruff** enforces formatting and linting rules
73
+ - **pyright** in standard mode for type checking
74
+ - Docstrings on public APIs (modules, classes, exported functions)
75
+
76
+ ## Commit Messages
77
+
78
+ Follow [Conventional Commits](https://www.conventionalcommits.org/):
79
+
80
+ ```
81
+ feat: add connection test tool to health group
82
+ fix: handle empty response from /lookml_models endpoint
83
+ docs: add OAuth setup guide to README
84
+ refactor: extract common query builder logic
85
+ test: add tests for DualModeIdentityProvider
86
+ chore: update fastmcp dependency to 2.15
87
+ ```
88
+
89
+ ## Pull Request Process
90
+
91
+ 1. Fork the repo and create a branch from `main`
92
+ 2. Make your changes with tests
93
+ 3. Ensure all CI checks pass locally
94
+ 4. Open a PR referencing the issue (`Closes #123`)
95
+ 5. Address review feedback
96
+ 6. A maintainer will merge once approved
97
+
98
+ ## Testing
99
+
100
+ - Tests live in `tests/` and use `pytest` with `pytest-asyncio`
101
+ - HTTP mocking uses `respx` (not `responses` or `aioresponses`)
102
+ - Test both success and error paths
103
+ - Test auth modes: api_key, sudo, and oauth where relevant
104
+
105
+ ## What We're Looking For
106
+
107
+ - Bug fixes with regression tests
108
+ - New tools that cover Looker API endpoints not yet exposed
109
+ - Documentation improvements
110
+ - Performance improvements with benchmarks
111
+
112
+ ## What We're NOT Looking For
113
+
114
+ - Changes that break the `IdentityProvider` protocol contract
115
+ - Adding dependencies without strong justification
116
+ - Tool implementations that bypass the `LookerClient.session()` pattern
117
+
118
+ ## License
119
+
120
+ By contributing, you agree that your contributions will be licensed under the [Apache License 2.0](../LICENSE).
@@ -0,0 +1,47 @@
1
+ name: Bug Report
2
+ description: File a bug report
3
+ labels: ["bug"]
4
+ body:
5
+ - type: textarea
6
+ id: description
7
+ attributes:
8
+ label: Description
9
+ description: A clear description of the bug.
10
+ validations:
11
+ required: true
12
+
13
+ - type: textarea
14
+ id: reproduction
15
+ attributes:
16
+ label: Steps to Reproduce
17
+ placeholder: |
18
+ 1. Run `looker-mcp-server --groups explore`
19
+ 2. Call tool `list_models`
20
+ 3. See error
21
+ validations:
22
+ required: true
23
+
24
+ - type: textarea
25
+ id: expected
26
+ attributes:
27
+ label: Expected Behavior
28
+ validations:
29
+ required: true
30
+
31
+ - type: textarea
32
+ id: environment
33
+ attributes:
34
+ label: Environment
35
+ placeholder: |
36
+ - Python: 3.12
37
+ - OS: macOS 15
38
+ - Package version: 0.1.0
39
+ - Looker deployment: self_hosted / google_cloud_core
40
+ validations:
41
+ required: true
42
+
43
+ - type: textarea
44
+ id: logs
45
+ attributes:
46
+ label: Relevant Logs
47
+ render: text
@@ -0,0 +1,5 @@
1
+ blank_issues_enabled: false
2
+ contact_links:
3
+ - name: Security Vulnerability
4
+ url: https://github.com/ultrathink-solutions/looker-mcp-server/security/advisories/new
5
+ about: Report security issues privately via GitHub advisory system.
@@ -0,0 +1,31 @@
1
+ name: Feature Request
2
+ description: Suggest a new feature or enhancement
3
+ labels: ["enhancement"]
4
+ body:
5
+ - type: textarea
6
+ id: problem
7
+ attributes:
8
+ label: Problem Statement
9
+ description: What problem does this solve?
10
+ validations:
11
+ required: true
12
+
13
+ - type: textarea
14
+ id: solution
15
+ attributes:
16
+ label: Proposed Solution
17
+ validations:
18
+ required: true
19
+
20
+ - type: textarea
21
+ id: alternatives
22
+ attributes:
23
+ label: Alternatives Considered
24
+
25
+ - type: checkboxes
26
+ id: checklist
27
+ attributes:
28
+ label: Checklist
29
+ options:
30
+ - label: I searched existing issues and this is not a duplicate.
31
+ required: true
@@ -0,0 +1,14 @@
1
+ ## Summary
2
+
3
+ Closes #
4
+
5
+ ## Changes
6
+
7
+ -
8
+
9
+ ## Testing
10
+
11
+ - [ ] Unit tests added/updated
12
+ - [ ] `uv run pytest` passes
13
+ - [ ] `uv run ruff check .` passes
14
+ - [ ] `uv run pyright` passes
@@ -0,0 +1,73 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: [main]
8
+
9
+ jobs:
10
+ lint:
11
+ name: Lint & Format
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+
16
+ - name: Install uv
17
+ uses: astral-sh/setup-uv@v6
18
+ with:
19
+ enable-cache: true
20
+
21
+ - name: Set up Python
22
+ run: uv python install 3.13
23
+
24
+ - name: Install dependencies
25
+ run: uv sync --locked --dev
26
+
27
+ - name: Ruff lint
28
+ run: uv run ruff check .
29
+
30
+ - name: Ruff format
31
+ run: uv run ruff format --check .
32
+
33
+ typecheck:
34
+ name: Type Check
35
+ runs-on: ubuntu-latest
36
+ steps:
37
+ - uses: actions/checkout@v4
38
+
39
+ - name: Install uv
40
+ uses: astral-sh/setup-uv@v6
41
+ with:
42
+ enable-cache: true
43
+
44
+ - name: Set up Python
45
+ run: uv python install 3.13
46
+
47
+ - name: Install dependencies
48
+ run: uv sync --locked --dev
49
+
50
+ - name: Pyright
51
+ run: uv run pyright
52
+
53
+ test:
54
+ name: Test (Python ${{ matrix.python-version }})
55
+ runs-on: ubuntu-latest
56
+ strategy:
57
+ fail-fast: false
58
+ matrix:
59
+ python-version: ["3.11", "3.12", "3.13"]
60
+ steps:
61
+ - uses: actions/checkout@v4
62
+
63
+ - name: Install uv
64
+ uses: astral-sh/setup-uv@v6
65
+ with:
66
+ enable-cache: true
67
+ python-version: ${{ matrix.python-version }}
68
+
69
+ - name: Install dependencies
70
+ run: uv sync --locked --dev
71
+
72
+ - name: Run tests
73
+ run: uv run pytest tests/ -v --tb=short
@@ -0,0 +1,51 @@
1
+ name: Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ test:
10
+ name: Test (Python ${{ matrix.python-version }})
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ fail-fast: true
14
+ matrix:
15
+ python-version: ["3.11", "3.12", "3.13"]
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+
19
+ - name: Install uv
20
+ uses: astral-sh/setup-uv@v6
21
+ with:
22
+ enable-cache: true
23
+ python-version: ${{ matrix.python-version }}
24
+
25
+ - name: Install dependencies
26
+ run: uv sync --locked --dev
27
+
28
+ - name: Run tests
29
+ run: uv run pytest tests/ -v
30
+
31
+ publish:
32
+ name: Publish to PyPI
33
+ runs-on: ubuntu-latest
34
+ needs: [test]
35
+ environment:
36
+ name: pypi
37
+ url: https://pypi.org/p/looker-mcp-server
38
+ permissions:
39
+ id-token: write
40
+ contents: read
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+
44
+ - name: Install uv
45
+ uses: astral-sh/setup-uv@v6
46
+
47
+ - name: Build
48
+ run: uv build
49
+
50
+ - name: Publish to PyPI
51
+ run: uv publish
@@ -0,0 +1,18 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ .eggs/
8
+ *.egg
9
+ .venv/
10
+ .env
11
+ .python-version
12
+ # Keep uv.lock committed for reproducible builds
13
+ .ruff_cache/
14
+ .pyright/
15
+ .mypy_cache/
16
+ .pytest_cache/
17
+ .coverage
18
+ htmlcov/
@@ -0,0 +1,33 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.1.0] - 2026-03-01
11
+
12
+ ### Added
13
+
14
+ - Initial release with 56 tools across 8 groups
15
+ - **explore** group: `list_models`, `get_model`, `get_explore`, `list_dimensions`, `list_measures`, `list_connections`
16
+ - **query** group: `query`, `query_sql`, `run_look`, `run_dashboard`, `query_url`, `search_content`
17
+ - **schema** group: `list_databases`, `list_schemas`, `list_tables`, `list_columns`
18
+ - **content** group: `list_looks`, `create_look`, `update_look`, `delete_look`, `list_dashboards`, `create_dashboard`, `update_dashboard`, `delete_dashboard`, `add_dashboard_element`, `add_dashboard_filter`, `generate_embed_url`
19
+ - **health** group: `health_pulse`, `health_analyze`, `health_vacuum`
20
+ - **modeling** group: `list_projects`, `list_project_files`, `get_file`, `create_file`, `update_file`, `delete_file`, `toggle_dev_mode`, `validate_project`
21
+ - **git** group: `get_git_branch`, `list_git_branches`, `create_git_branch`, `switch_git_branch`, `deploy_to_production`, `reset_to_production`
22
+ - **admin** group: `list_users`, `get_user`, `create_user`, `update_user`, `delete_user`, `list_roles`, `create_role`, `list_groups`, `add_group_user`, `remove_group_user`, `list_schedules`, `create_schedule`, `delete_schedule`
23
+ - Three authentication modes: API key, admin sudo, OAuth pass-through
24
+ - `DualModeIdentityProvider` for automatic sudo/OAuth routing based on deployment type
25
+ - Pluggable `IdentityProvider` protocol for custom authentication
26
+ - Dual transport: stdio and streamable-http
27
+ - Health endpoints: `/healthz` (liveness) and `/readyz` (readiness with connectivity check)
28
+ - Selective tool loading via `--groups` CLI flag
29
+ - MCP-level bearer token authentication
30
+ - ASGI header capture middleware for per-request identity
31
+
32
+ [Unreleased]: https://github.com/ultrathink-solutions/looker-mcp-server/compare/v0.1.0...HEAD
33
+ [0.1.0]: https://github.com/ultrathink-solutions/looker-mcp-server/releases/tag/v0.1.0
@@ -0,0 +1,191 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to the Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by the Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding any notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ Copyright 2026 Ultrathink Solutions
180
+
181
+ Licensed under the Apache License, Version 2.0 (the "License");
182
+ you may not use this file except in compliance with the License.
183
+ You may obtain a copy of the License at
184
+
185
+ http://www.apache.org/licenses/LICENSE-2.0
186
+
187
+ Unless required by applicable law or agreed to in writing, software
188
+ distributed under the License is distributed on an "AS IS" BASIS,
189
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
190
+ See the License for the specific language governing permissions and
191
+ limitations under the License.