@houtini/gemini-mcp 1.3.0 → 1.3.1
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.
- package/LICENSE +204 -21
- package/README.md +4 -223
- package/dist/config/index.js +1 -1
- package/dist/config/index.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,21 +1,204 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2024 Houtini Ltd
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
202
|
+
|
|
203
|
+
For commercial licensing enquiries, please contact:
|
|
204
|
+
https://houtini.com
|
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Gemini MCP Server
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@houtini/gemini-mcp)
|
|
4
|
-
[](https://www.npmjs.com/package/@houtini/gemini-mcp)
|
|
4
|
+
[](https://opensource.org/licenses/Apache-2.0)
|
|
5
|
+
[](https://www.typescriptlang.org/)
|
|
6
|
+
[](https://modelcontextprotocol.io)
|
|
7
7
|
|
|
8
8
|
A professional, production-ready Model Context Protocol (MCP) server that provides seamless integration with Google's Gemini AI models. Built with TypeScript and designed for enterprise use, this package offers robust error handling, comprehensive logging, and easy deployment.
|
|
9
9
|
|
|
@@ -583,160 +583,6 @@ Use Gemini deep research with 3 iterations focusing on cost analysis and market
|
|
|
583
583
|
|
|
584
584
|
**Note**: Deep research takes several minutes as it performs multiple iterations. Perfect for when you need comprehensive, well-researched analysis rather than quick answers.
|
|
585
585
|
|
|
586
|
-
## Video Description for Accessibility
|
|
587
|
-
|
|
588
|
-
The server includes a specialized **video description tool** designed to generate detailed audio descriptions of YouTube video content for accessibility purposes. This tool analyzes visual content including actions, spatial relationships, text overlays, and provides time-stamped descriptions suitable for screen reader users.
|
|
589
|
-
|
|
590
|
-
### How Video Description Works
|
|
591
|
-
|
|
592
|
-
The tool uses Gemini's multimodal understanding capabilities to:
|
|
593
|
-
|
|
594
|
-
1. **Analyze Visual Content** - Processes the video frame by frame to understand what's happening
|
|
595
|
-
2. **Describe Actions** - Details all movements, gestures, and procedures shown
|
|
596
|
-
3. **Spatial Awareness** - Describes positions, movements, and relationships between elements
|
|
597
|
-
4. **Text Recognition** - Transcribes all on-screen text, captions, and overlays verbatim
|
|
598
|
-
5. **Structured Output** - Organizes information in screen reader-friendly formats
|
|
599
|
-
|
|
600
|
-
### Using Video Description
|
|
601
|
-
|
|
602
|
-
**Basic Usage:**
|
|
603
|
-
```
|
|
604
|
-
Describe this YouTube video for accessibility: https://www.youtube.com/watch?v=abc123
|
|
605
|
-
```
|
|
606
|
-
|
|
607
|
-
**With Specific Detail Level:**
|
|
608
|
-
```
|
|
609
|
-
Generate a comprehensive accessibility description for this video: https://www.youtube.com/watch?v=abc123
|
|
610
|
-
```
|
|
611
|
-
|
|
612
|
-
**Focus on Specific Aspects:**
|
|
613
|
-
```
|
|
614
|
-
Describe the actions shown in this instructional video: https://www.youtube.com/watch?v=abc123
|
|
615
|
-
```
|
|
616
|
-
|
|
617
|
-
### Description Parameters
|
|
618
|
-
|
|
619
|
-
| Parameter | Options | Default | Description |
|
|
620
|
-
|-----------|---------|---------|-------------|
|
|
621
|
-
| `detail_level` | `brief`, `standard`, `comprehensive` | `standard` | Controls description depth |
|
|
622
|
-
| `accessibility_mode` | `true`, `false` | `true` | Includes spatial, color, and text details |
|
|
623
|
-
| `include_timestamps` | `true`, `false` | `true` | Adds timestamps to descriptions |
|
|
624
|
-
| `output_format` | `narrative`, `structured` | `structured` | Output as prose or JSON |
|
|
625
|
-
| `focus` | `actions`, `visual_elements`, `text_on_screen`, `all` | `all` | What to emphasize |
|
|
626
|
-
|
|
627
|
-
### Detail Levels Explained
|
|
628
|
-
|
|
629
|
-
**Brief** (2-3 paragraphs)
|
|
630
|
-
- High-level summary of video content
|
|
631
|
-
- Main actions and key points only
|
|
632
|
-
- Perfect for quick overview
|
|
633
|
-
|
|
634
|
-
**Standard** (5-8 scenes)
|
|
635
|
-
- Balanced description with key scenes
|
|
636
|
-
- Major actions and visual elements
|
|
637
|
-
- Recommended for most use cases
|
|
638
|
-
|
|
639
|
-
**Comprehensive** (10-15+ scenes)
|
|
640
|
-
- Extensive detail for every significant moment
|
|
641
|
-
- Complete coverage of all visual information
|
|
642
|
-
- Best for instructional or technical content
|
|
643
|
-
|
|
644
|
-
### Accessibility Mode Features
|
|
645
|
-
|
|
646
|
-
When enabled (default), includes:
|
|
647
|
-
|
|
648
|
-
- **Spatial Descriptions**: "on the left side of frame", "moving from right to left"
|
|
649
|
-
- **Color Information**: "red laser line", "blue indicator light"
|
|
650
|
-
- **Text Transcription**: All on-screen text verbatim
|
|
651
|
-
- **Facial Expressions**: When relevant to understanding
|
|
652
|
-
- **Sound Cues**: Visible audio indicators
|
|
653
|
-
- **Concrete Language**: Avoids vague references like "this" or "here"
|
|
654
|
-
|
|
655
|
-
### Output Formats
|
|
656
|
-
|
|
657
|
-
**Structured JSON** (default):
|
|
658
|
-
```json
|
|
659
|
-
{
|
|
660
|
-
"video_title": "How to Install Picture Mounts",
|
|
661
|
-
"duration": "4:32",
|
|
662
|
-
"scene_count": 8,
|
|
663
|
-
"scenes": [
|
|
664
|
-
{
|
|
665
|
-
"timestamp": "0:00-0:45",
|
|
666
|
-
"description": "Close-up of hands positioning metal cleat on frame back",
|
|
667
|
-
"actions": ["Marking screw holes", "Using pencil"],
|
|
668
|
-
"tools_visible": ["Metal cleat", "Pencil"],
|
|
669
|
-
"text_on_screen": null,
|
|
670
|
-
"spatial_notes": "Cleat positioned horizontally on upper portion of frame",
|
|
671
|
-
"colors": "Silver metal cleat against dark wood frame"
|
|
672
|
-
}
|
|
673
|
-
],
|
|
674
|
-
"key_techniques": ["Using laser level", "Locating wall studs"],
|
|
675
|
-
"tools_list": ["Drill", "Laser level", "Stud finder"],
|
|
676
|
-
"summary": "Demonstrates professional picture hanging using interlocking cleats"
|
|
677
|
-
}
|
|
678
|
-
```
|
|
679
|
-
|
|
680
|
-
**Narrative Prose**:
|
|
681
|
-
```
|
|
682
|
-
[0:00] The video opens with a close-up view of hands positioning a silver metal
|
|
683
|
-
cleat horizontally on the back of a dark wooden picture frame...
|
|
684
|
-
```
|
|
685
|
-
|
|
686
|
-
### Perfect For
|
|
687
|
-
|
|
688
|
-
**Accessibility Needs**:
|
|
689
|
-
- Screen reader users
|
|
690
|
-
- Visually impaired individuals
|
|
691
|
-
- Audio description requirements
|
|
692
|
-
- WCAG compliance
|
|
693
|
-
|
|
694
|
-
**Content Analysis**:
|
|
695
|
-
- Tutorial documentation
|
|
696
|
-
- Training material transcription
|
|
697
|
-
- Video content indexing
|
|
698
|
-
- Instructional content breakdown
|
|
699
|
-
|
|
700
|
-
**Research & Education**:
|
|
701
|
-
- Video content study
|
|
702
|
-
- Procedural analysis
|
|
703
|
-
- Teaching material preparation
|
|
704
|
-
|
|
705
|
-
### Best Practices
|
|
706
|
-
|
|
707
|
-
1. **Choose appropriate detail level** - Brief for overviews, comprehensive for tutorials
|
|
708
|
-
2. **Enable accessibility mode** - Always on for screen reader users
|
|
709
|
-
3. **Use structured format** - Better for navigation with assistive technology
|
|
710
|
-
4. **Include timestamps** - Essential for sync with video playback
|
|
711
|
-
5. **Focus parameter** - Use when specific aspects are most important
|
|
712
|
-
|
|
713
|
-
### Technical Requirements
|
|
714
|
-
|
|
715
|
-
- **Supported Platforms**: YouTube videos only
|
|
716
|
-
- **Model Used**: Gemini 2.5 Flash (optimized for video understanding)
|
|
717
|
-
- **Response Time**: 30-60 seconds depending on detail level
|
|
718
|
-
- **Token Usage**: 8,000-16,000 tokens for comprehensive descriptions
|
|
719
|
-
|
|
720
|
-
### Example Use Cases
|
|
721
|
-
|
|
722
|
-
**Tutorial Documentation**:
|
|
723
|
-
```
|
|
724
|
-
Generate a comprehensive accessibility description focusing on actions for this DIY tutorial:
|
|
725
|
-
https://www.youtube.com/watch?v=example
|
|
726
|
-
```
|
|
727
|
-
|
|
728
|
-
**Content Indexing**:
|
|
729
|
-
```
|
|
730
|
-
Create a brief structured description of this product demo:
|
|
731
|
-
https://www.youtube.com/watch?v=example
|
|
732
|
-
```
|
|
733
|
-
|
|
734
|
-
**Training Materials**:
|
|
735
|
-
```
|
|
736
|
-
Describe the visual elements and text shown in this training video:
|
|
737
|
-
https://www.youtube.com/watch?v=example
|
|
738
|
-
```
|
|
739
|
-
|
|
740
586
|
## API Reference
|
|
741
587
|
|
|
742
588
|
### Available Tools
|
|
@@ -807,58 +653,6 @@ Conduct iterative multi-step research on complex topics.
|
|
|
807
653
|
}
|
|
808
654
|
```
|
|
809
655
|
|
|
810
|
-
#### `gemini_describe_video`
|
|
811
|
-
|
|
812
|
-
Generate detailed audio descriptions of YouTube video content for accessibility.
|
|
813
|
-
|
|
814
|
-
**Parameters:**
|
|
815
|
-
|
|
816
|
-
| Parameter | Type | Required | Default | Description |
|
|
817
|
-
|-----------|------|----------|---------|-------------|
|
|
818
|
-
| `url` | string | Yes | - | YouTube URL to analyze |
|
|
819
|
-
| `detail_level` | string | No | `standard` | Level of detail: `brief`, `standard`, `comprehensive` |
|
|
820
|
-
| `accessibility_mode` | boolean | No | `true` | Include spatial descriptions, colors, text overlays |
|
|
821
|
-
| `include_timestamps` | boolean | No | `true` | Add timestamps for all major actions |
|
|
822
|
-
| `output_format` | string | No | `structured` | Format: `narrative` (prose) or `structured` (JSON) |
|
|
823
|
-
| `focus` | string | No | `all` | Focus: `actions`, `visual_elements`, `text_on_screen`, `all` |
|
|
824
|
-
|
|
825
|
-
**Example:**
|
|
826
|
-
```json
|
|
827
|
-
{
|
|
828
|
-
"url": "https://www.youtube.com/watch?v=abc123",
|
|
829
|
-
"detail_level": "comprehensive",
|
|
830
|
-
"accessibility_mode": true,
|
|
831
|
-
"include_timestamps": true,
|
|
832
|
-
"output_format": "structured",
|
|
833
|
-
"focus": "all"
|
|
834
|
-
}
|
|
835
|
-
```
|
|
836
|
-
|
|
837
|
-
**Response Format (Structured)**:
|
|
838
|
-
```json
|
|
839
|
-
{
|
|
840
|
-
"video_title": "How to Install Picture Mounts",
|
|
841
|
-
"duration": "4:32",
|
|
842
|
-
"scene_count": 8,
|
|
843
|
-
"scenes": [
|
|
844
|
-
{
|
|
845
|
-
"timestamp": "0:00-0:45",
|
|
846
|
-
"description": "Detailed scene description",
|
|
847
|
-
"actions": ["action1", "action2"],
|
|
848
|
-
"tools_visible": ["tool1", "tool2"],
|
|
849
|
-
"text_on_screen": "Exact text or null",
|
|
850
|
-
"spatial_notes": "Spatial relationships",
|
|
851
|
-
"colors": "Color descriptions"
|
|
852
|
-
}
|
|
853
|
-
],
|
|
854
|
-
"key_techniques": ["technique1", "technique2"],
|
|
855
|
-
"tools_list": ["all tools shown"],
|
|
856
|
-
"materials_list": ["all materials"],
|
|
857
|
-
"safety_notes": ["safety considerations"],
|
|
858
|
-
"summary": "Overall summary"
|
|
859
|
-
}
|
|
860
|
-
```
|
|
861
|
-
|
|
862
656
|
### Available Models
|
|
863
657
|
|
|
864
658
|
Models are **dynamically discovered** from Google's API. The exact list may vary, but typically includes:
|
|
@@ -1089,19 +883,6 @@ By using this software, you acknowledge that you have read this disclaimer and a
|
|
|
1089
883
|
|
|
1090
884
|
## Changelog
|
|
1091
885
|
|
|
1092
|
-
### v1.3.0
|
|
1093
|
-
|
|
1094
|
-
**Accessibility Features**
|
|
1095
|
-
- Added `gemini_describe_video` tool for YouTube video accessibility descriptions
|
|
1096
|
-
- Comprehensive audio description generation with spatial awareness and text recognition
|
|
1097
|
-
- Screen reader-friendly structured JSON output format
|
|
1098
|
-
- Configurable detail levels (brief, standard, comprehensive)
|
|
1099
|
-
- Time-stamped scene descriptions for video synchronization
|
|
1100
|
-
- Focus parameters for emphasizing specific content aspects (actions, visual elements, text)
|
|
1101
|
-
- Accessibility mode with spatial descriptions, colors, and text overlays
|
|
1102
|
-
- Support for narrative prose and structured JSON output formats
|
|
1103
|
-
- Optimized for Gemini 2.5 Flash's multimodal video understanding
|
|
1104
|
-
|
|
1105
886
|
### v1.0.4
|
|
1106
887
|
|
|
1107
888
|
**Security and Dependency Updates**
|
package/dist/config/index.js
CHANGED
package/dist/config/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,wCAOC;AAhDD,+CAAiC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEH,QAAA,MAAM,GAAW;IAC5B,MAAM,EAAE;QACN,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc;QAClC,cAAc,EAAE;YACd;gBACE,QAAQ,EAAE,0BAA0B;gBACpC,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,2BAA2B;gBACrC,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EAAE,wBAAwB;aACpC;SACF;QACD,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/config/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0CA,wCAOC;AAhDD,+CAAiC;AAEjC,MAAM,CAAC,MAAM,EAAE,CAAC;AAEH,QAAA,MAAM,GAAW;IAC5B,MAAM,EAAE;QACN,MAAM,EAAE,OAAO,CAAC,GAAG,CAAC,cAAc;QAClC,cAAc,EAAE;YACd;gBACE,QAAQ,EAAE,0BAA0B;gBACpC,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,2BAA2B;gBACrC,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EAAE,wBAAwB;aACpC;YACD;gBACE,QAAQ,EAAE,iCAAiC;gBAC3C,SAAS,EAAE,wBAAwB;aACpC;SACF;QACD,YAAY,EAAE,kBAAkB;QAChC,SAAS,EAAE,KAAK;QAChB,WAAW,EAAE,GAAG;QAChB,gBAAgB,EAAE,IAAI;QACtB,uBAAuB,EAAE,OAAO,CAAC,GAAG,CAAC,yBAAyB,KAAK,MAAM;KAC1E;IACD,MAAM,EAAE;QACN,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,OAAO;KACjB;IACD,OAAO,EAAE;QACP,KAAK,EAAE,OAAO,CAAC,GAAG,CAAC,SAAS,IAAI,MAAM;QACtC,MAAM,EAAE,UAAU;KACnB;CACF,CAAC;AAEF,SAAgB,cAAc;IAC5B,IAAI,CAAC,cAAM,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QAC1B,MAAM,IAAI,KAAK,CACb,+CAA+C;YAC/C,yEAAyE,CAC1E,CAAC;IACJ,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAiBA,cAAM,eAAe;IACnB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,aAAa,CAAgB;IACrC,OAAO,CAAC,KAAK,CAAmB;;IAkChC,OAAO,CAAC,eAAe;IAevB,OAAO,CAAC,aAAa;IAoDf,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAsB7B;AAkCD,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,6 @@ const gemini_1 = require("./services/gemini");
|
|
|
13
13
|
const gemini_chat_1 = require("./tools/gemini-chat");
|
|
14
14
|
const gemini_list_models_1 = require("./tools/gemini-list-models");
|
|
15
15
|
const gemini_deep_research_1 = require("./tools/gemini-deep-research");
|
|
16
|
-
const gemini_describe_video_1 = require("./tools/gemini-describe-video");
|
|
17
16
|
const logger_1 = __importDefault(require("./utils/logger"));
|
|
18
17
|
const error_handler_1 = require("./utils/error-handler");
|
|
19
18
|
class GeminiMcpServer {
|
|
@@ -49,11 +48,9 @@ class GeminiMcpServer {
|
|
|
49
48
|
const geminiChatTool = new gemini_chat_1.GeminiChatTool(this.geminiService);
|
|
50
49
|
const geminiListModelsTool = new gemini_list_models_1.GeminiListModelsTool(this.geminiService);
|
|
51
50
|
const geminiDeepResearchTool = new gemini_deep_research_1.GeminiDeepResearchTool(this.geminiService);
|
|
52
|
-
const geminiDescribeVideoTool = new gemini_describe_video_1.GeminiDescribeVideoTool(this.geminiService);
|
|
53
51
|
this.tools.set('gemini_chat', geminiChatTool);
|
|
54
52
|
this.tools.set('gemini_list_models', geminiListModelsTool);
|
|
55
53
|
this.tools.set('gemini_deep_research', geminiDeepResearchTool);
|
|
56
|
-
this.tools.set('gemini_describe_video', geminiDescribeVideoTool);
|
|
57
54
|
logger_1.default.info('Tools initialized', {
|
|
58
55
|
toolCount: this.tools.size,
|
|
59
56
|
tools: Array.from(this.tools.keys())
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAEA,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAE5C,qCAAkD;AAClD,8CAAkD;AAClD,qDAAqD;AACrD,mEAAkE;AAClE,uEAAsE;AACtE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;AAEA,wEAAmE;AACnE,wEAAiF;AACjF,iEAG4C;AAE5C,qCAAkD;AAClD,8CAAkD;AAClD,qDAAqD;AACrD,mEAAkE;AAClE,uEAAsE;AACtE,4DAAoC;AACpC,yDAAoD;AAEpD,MAAM,eAAe;IACX,MAAM,CAAS;IACf,aAAa,CAAgB;IAC7B,KAAK,CAAmB;IAEhC;QACE,IAAI,CAAC;YACH,IAAA,uBAAc,GAAE,CAAC;QACnB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,gBAAM,CAAC,KAAK,CAAC,iCAAiC,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;YAC3D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QAClB,CAAC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,sBAAa,CAAC,eAAM,CAAC,MAAM,CAAC,CAAC;QAEtD,IAAI,CAAC,MAAM,GAAG,IAAI,iBAAM,CACtB;YACE,IAAI,EAAE,eAAM,CAAC,MAAM,CAAC,IAAI;YACxB,OAAO,EAAE,eAAM,CAAC,MAAM,CAAC,OAAO;SAC/B,EACD;YACE,YAAY,EAAE;gBACZ,KAAK,EAAE,EAAE;aACV;SACF,CACF,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;QACvB,IAAI,CAAC,eAAe,EAAE,CAAC;QACvB,IAAI,CAAC,aAAa,EAAE,CAAC;QAErB,gBAAM,CAAC,IAAI,CAAC,+BAA+B,EAAE;YAC3C,UAAU,EAAE,eAAM,CAAC,MAAM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AA6B,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,CAAC;IACjE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,KAAK,UAAU,IAAI;IACjB,MAAM,MAAM,GAAG,IAAI,eAAe,EAAE,CAAC;IACrC,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;AACvB,CAAC;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,IAAI,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE;QACnB,gBAAM,CAAC,KAAK,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,CAAC,CAAC;QACjD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@houtini/gemini-mcp",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Professional Model Context Protocol server for Google Gemini AI models with enterprise-grade features",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"artificial-intelligence"
|
|
47
47
|
],
|
|
48
48
|
"author": "Houtini",
|
|
49
|
-
"license": "
|
|
49
|
+
"license": "Apache-2.0",
|
|
50
50
|
"homepage": "https://github.com/houtini-ai/gemini-mcp#readme",
|
|
51
51
|
"repository": {
|
|
52
52
|
"type": "git",
|