universal-mcp-applications 0.1.13__py3-none-any.whl → 0.1.14__py3-none-any.whl
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.
Potentially problematic release.
This version of universal-mcp-applications might be problematic. Click here for more details.
- universal_mcp/applications/aws_s3/app.py +71 -71
- universal_mcp/applications/calendly/app.py +199 -199
- universal_mcp/applications/canva/app.py +189 -189
- universal_mcp/applications/domain_checker/app.py +31 -24
- universal_mcp/applications/e2b/app.py +6 -7
- universal_mcp/applications/elevenlabs/app.py +24 -20
- universal_mcp/applications/exa/app.py +25 -20
- universal_mcp/applications/falai/app.py +44 -41
- universal_mcp/applications/file_system/app.py +20 -12
- universal_mcp/applications/firecrawl/app.py +46 -47
- universal_mcp/applications/fireflies/app.py +79 -79
- universal_mcp/applications/fpl/app.py +83 -74
- universal_mcp/applications/github/README.md +0 -1028
- universal_mcp/applications/github/app.py +55 -50227
- universal_mcp/applications/google_calendar/app.py +63 -65
- universal_mcp/applications/google_docs/app.py +78 -78
- universal_mcp/applications/google_drive/app.py +361 -440
- universal_mcp/applications/google_gemini/app.py +34 -17
- universal_mcp/applications/google_mail/app.py +117 -117
- universal_mcp/applications/google_searchconsole/app.py +41 -47
- universal_mcp/applications/google_sheet/app.py +157 -164
- universal_mcp/applications/http_tools/app.py +16 -16
- universal_mcp/applications/linkedin/app.py +26 -31
- universal_mcp/applications/ms_teams/app.py +190 -190
- universal_mcp/applications/openai/app.py +55 -56
- universal_mcp/applications/outlook/app.py +57 -57
- universal_mcp/applications/perplexity/app.py +17 -17
- universal_mcp/applications/reddit/app.py +225 -4053
- universal_mcp/applications/replicate/app.py +40 -42
- universal_mcp/applications/resend/app.py +157 -154
- universal_mcp/applications/scraper/app.py +24 -24
- universal_mcp/applications/serpapi/app.py +18 -20
- universal_mcp/applications/sharepoint/app.py +46 -36
- universal_mcp/applications/slack/app.py +66 -66
- universal_mcp/applications/tavily/app.py +7 -7
- universal_mcp/applications/twitter/api_segments/compliance_api.py +17 -20
- universal_mcp/applications/twitter/api_segments/dm_conversations_api.py +35 -40
- universal_mcp/applications/twitter/api_segments/dm_events_api.py +18 -21
- universal_mcp/applications/twitter/api_segments/likes_api.py +19 -22
- universal_mcp/applications/twitter/api_segments/lists_api.py +59 -68
- universal_mcp/applications/twitter/api_segments/spaces_api.py +36 -42
- universal_mcp/applications/twitter/api_segments/trends_api.py +7 -8
- universal_mcp/applications/twitter/api_segments/tweets_api.py +159 -185
- universal_mcp/applications/twitter/api_segments/usage_api.py +5 -6
- universal_mcp/applications/twitter/api_segments/users_api.py +230 -264
- universal_mcp/applications/unipile/app.py +99 -105
- universal_mcp/applications/whatsapp/app.py +86 -82
- universal_mcp/applications/whatsapp_business/app.py +147 -147
- universal_mcp/applications/youtube/app.py +290 -290
- universal_mcp/applications/zenquotes/app.py +6 -6
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/METADATA +1 -1
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/RECORD +54 -54
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/WHEEL +0 -0
- {universal_mcp_applications-0.1.13.dist-info → universal_mcp_applications-0.1.14.dist-info}/licenses/LICENSE +0 -0
|
@@ -40,10 +40,11 @@ class GoogleGeminiApp(APIApplication):
|
|
|
40
40
|
prompt: Annotated[str, "The prompt to generate text from"],
|
|
41
41
|
model: str = "gemini-2.5-flash",
|
|
42
42
|
) -> str:
|
|
43
|
-
"""Generates text using the Google Gemini model.
|
|
43
|
+
"""Generates text using the Google Gemini model based on a given prompt.
|
|
44
|
+
This tool is suitable for various natural language processing tasks such as content generation, summarization, translation, and question answering.
|
|
44
45
|
|
|
45
46
|
Args:
|
|
46
|
-
prompt (str): The prompt to
|
|
47
|
+
prompt (str): The text prompt or instruction for the model to follow. For example: "Write a short story about a robot who learns to love."
|
|
47
48
|
model (str, optional): The Gemini model to use for text generation. Defaults to "gemini-2.5-flash".
|
|
48
49
|
|
|
49
50
|
Returns:
|
|
@@ -53,11 +54,8 @@ class GoogleGeminiApp(APIApplication):
|
|
|
53
54
|
ValueError: If the API key is not found in the integration credentials.
|
|
54
55
|
Exception: If the underlying client or API call fails.
|
|
55
56
|
|
|
56
|
-
Example:
|
|
57
|
-
response = app.generate_text("Tell me a joke.")
|
|
58
|
-
|
|
59
57
|
Tags:
|
|
60
|
-
important
|
|
58
|
+
text, generate, llm, important
|
|
61
59
|
"""
|
|
62
60
|
response = self.genai_client.models.generate_content(
|
|
63
61
|
contents=prompt, model=model
|
|
@@ -71,20 +69,30 @@ class GoogleGeminiApp(APIApplication):
|
|
|
71
69
|
model: str = "gemini-2.5-flash-image-preview",
|
|
72
70
|
) -> list:
|
|
73
71
|
"""
|
|
74
|
-
Generates an image
|
|
75
|
-
|
|
72
|
+
Generates an image based on a text prompt and an optional reference image using the Google Gemini model.
|
|
73
|
+
This tool is ideal for creating visual content or modifying existing images based on natural language descriptions.
|
|
74
|
+
It returns a dictionary containing the generated image data (base64 encoded), its MIME type, a suggested file name, and any accompanying text.
|
|
76
75
|
|
|
77
76
|
Args:
|
|
78
|
-
prompt (str): The prompt to
|
|
79
|
-
image (str, optional):
|
|
77
|
+
prompt (str): The descriptive text prompt to guide the image generation. For example: "A futuristic city at sunset with flying cars."
|
|
78
|
+
image (str, optional): An optional URL or local file path to a reference image. This image will be used as a basis for the generation.
|
|
80
79
|
model (str, optional): The Gemini model to use for image generation. Defaults to "gemini-2.5-flash-image-preview".
|
|
81
80
|
|
|
82
|
-
|
|
83
81
|
Returns:
|
|
84
|
-
|
|
82
|
+
dict: A dictionary containing:
|
|
83
|
+
- 'type' (str): Always "image".
|
|
84
|
+
- 'data' (str): The base64 encoded image data.
|
|
85
|
+
- 'mime_type' (str): The MIME type of the image (e.g., "image/png").
|
|
86
|
+
- 'file_name' (str): A suggested file name for the generated image.
|
|
87
|
+
- 'text' (str): Any accompanying text generated by the model.
|
|
88
|
+
|
|
89
|
+
Raises:
|
|
90
|
+
requests.exceptions.RequestException: If there's an issue fetching a remote reference image.
|
|
91
|
+
FileNotFoundError: If a local reference image path is invalid.
|
|
92
|
+
Exception: If the underlying Gemini API call fails.
|
|
85
93
|
|
|
86
94
|
Tags:
|
|
87
|
-
important
|
|
95
|
+
image, generate, vision, important
|
|
88
96
|
"""
|
|
89
97
|
# The Gemini API is synchronous, so run in a thread
|
|
90
98
|
contents = [prompt]
|
|
@@ -128,17 +136,26 @@ class GoogleGeminiApp(APIApplication):
|
|
|
128
136
|
prompt: Annotated[str, "The prompt to generate audio from"],
|
|
129
137
|
model: str = "gemini-2.5-flash-preview-tts",
|
|
130
138
|
) -> str:
|
|
131
|
-
"""Generates audio using the Google Gemini model
|
|
139
|
+
"""Generates audio from a given text prompt using the Google Gemini model's Text-to-Speech (TTS) capabilities.
|
|
140
|
+
This tool is useful for converting text into spoken audio, which can be used for voiceovers, accessibility features, or interactive applications.
|
|
141
|
+
It returns a dictionary containing the generated audio data (base64 encoded), its MIME type, and a suggested file name.
|
|
132
142
|
|
|
133
143
|
Args:
|
|
134
|
-
prompt (str): The
|
|
144
|
+
prompt (str): The text to be converted into speech. For example: "Hello, how can I help you today?"
|
|
135
145
|
model (str, optional): The Gemini model to use for audio generation. Defaults to "gemini-2.5-flash-preview-tts".
|
|
136
146
|
|
|
137
147
|
Returns:
|
|
138
|
-
|
|
148
|
+
dict: A dictionary containing:
|
|
149
|
+
- 'type' (str): Always "audio".
|
|
150
|
+
- 'data' (str): The base64 encoded audio data.
|
|
151
|
+
- 'mime_type' (str): The MIME type of the audio (e.g., "audio/wav").
|
|
152
|
+
- 'file_name' (str): A suggested file name for the generated audio.
|
|
153
|
+
|
|
154
|
+
Raises:
|
|
155
|
+
Exception: If the underlying Gemini API call fails or there's an issue during audio processing.
|
|
139
156
|
|
|
140
157
|
Tags:
|
|
141
|
-
important
|
|
158
|
+
audio, generate, tts, speech, important
|
|
142
159
|
"""
|
|
143
160
|
|
|
144
161
|
# Set up the wave file to save the output:
|