Skip to main content
Glama

MCP Server for Google Cloud Healthcare API

by Kartha-AI
index.js1.51 kB
#!/usr/bin/env node import dotenv from "dotenv"; import { AgentCareServer } from "./server/AgentCareServer.js"; import { Server } from "@modelcontextprotocol/sdk/server/index.js"; dotenv.config(); const authConfig = { apiKey: process.env.FIREBASE_API_KEY, authDomain: process.env.FIREBASE_AUTH_DOMAIN, projectId: process.env.FIREBASE_PROJECT_ID, storageBucket: process.env.FIREBASE_STORAGE_BUCKET, messagingSenderId: process.env.FIREBASE_MESSAGING_SENDER_ID, appId: process.env.FIREBASE_APP_ID, measurementId: process.env.FIREBASE_MEASUREMENT_ID, callbackPort: process.env.FIREBASE_AUTH_CALLBACK_PORT }; const FHIR_BASE_URL = process.env.FHIR_BASE_URL; const PUBMED_API_KEY = process.env.PUBMED_API_KEY; const TRIALS_API_KEY = process.env.CLINICAL_TRIALS_API_KEY; const FDA_API_KEY = process.env.FDA_API_KEY; if (!FHIR_BASE_URL) { throw new Error("FHIR_BASE_URL is missing"); } if (!PUBMED_API_KEY) { throw new Error("PUBMED_API_KEY is missing"); } if (!TRIALS_API_KEY) { throw new Error("TRIALS_API_KEY is missing"); } if (!FDA_API_KEY) { throw new Error("FDA_API_KEY is missing"); } let mcpServer = new Server({ name: "agent-care-mcp-server", version: "0.1.0" }, { capabilities: { resources: {}, tools: {}, prompts: {}, logging: {} } }); const agentCareServer = new AgentCareServer(mcpServer, authConfig, FHIR_BASE_URL, PUBMED_API_KEY, TRIALS_API_KEY, FDA_API_KEY); agentCareServer.run().catch(console.error);

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/Kartha-AI/google-cloud-healthcare-api-mcp'

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