Skip to main content
Glama

MCP Hospital Assistant

by ajay800800
AppointmentList.jsx608 B
import React, { useEffect, useState } from 'react'; import axios from 'axios'; export default function AppointmentList() { const [appointments, setAppointments] = useState([]); useEffect(() => { axios.post('https://doc-mcp.onrender.com/api/view-appointments') .then(res => setAppointments(res.data.appointments)); }, []); return ( <> <h3>All Appointments</h3> <ul> {appointments.map((a, i) => ( <li key={i}> {a.patient_name} → {a.doctor_name} ({a.department}) at {a.appointment_time} </li> ))} </ul> </> ); }

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/ajay800800/doc_mcp'

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