Skip to main content
Glama
tanamurayuuki

Gemini URL Context & Search MCP Server

GenAIFactory.ts396 B
import { IGenAI } from './IGenAI.js'; import { GoogleGenAI } from './GoogleGenAI.js'; import { FakeGenAI } from './FakeGenAI.js'; import { Environment } from '../domain/Environment.js'; export class GenAIFactory { static create(env: Environment, useFake: boolean = false): IGenAI { if (useFake) { return new FakeGenAI(); } return new GoogleGenAI(env.geminiApiKey); } }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanamurayuuki/MCP-URLcontext'

If you have feedback or need assistance with the MCP directory API, please join our Discord server