FastMCP Patient Information Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@FastMCP Patient Information Serverget patient information for contact ID 7c50f84d-62af-f011-bbd3-000d3a9b6dcb"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
FastMCP Patient Information Server
A FastMCP server that provides patient information retrieval functionality through the get_patient tool.
Features
get_patient tool: Retrieves comprehensive patient information including:
Personal details (name, DOB, contact info)
Insurance plans (Medical, Dental, Vision)
Employee information
Prerequisites
Docker and Docker Compose installed on your Ubuntu server
Network access to the server from Watson Orchestrate
Installation & Deployment
1. Transfer Files to Ubuntu Server
Copy the entire fastmcp-server directory to your Ubuntu server:
scp -r fastmcp-server/ user@your-ubuntu-server:/path/to/deployment/2. Build and Run with Docker Compose
SSH into your Ubuntu server and navigate to the directory:
ssh user@your-ubuntu-server
cd /path/to/deployment/fastmcp-serverBuild and start the container:
docker-compose up -d --build3. Verify the Server is Running
Check container status:
docker-compose psView logs:
docker-compose logs -f4. Test the Server Locally
curl http://localhost:8002/healthConnecting to Watson Orchestrate
Step 1: Get Your Server URL
Your MCP server will be accessible at:
http://your-ubuntu-server-ip:8002Or if you have a domain:
https://your-domain.com:8002Important: For production, use HTTPS with proper SSL certificates.
Step 2: Access Watson Orchestrate Tools Page
Log in to your Watson Orchestrate instance
Navigate to Skills or Tools section
Click on Add Tool or Connect Tool
Step 3: Configure MCP Connection
Connection Type: Select "MCP Server" or "Custom API"
Server URL: Enter your server endpoint
http://your-ubuntu-server-ip:8002Authentication (if required):
Type: None (for basic setup)
For production, implement OAuth2 or API key authentication
Connection Name:
Patient Information MCP ServerDescription:
Provides patient information retrieval capabilities
Step 4: Discover Tools
Click Discover Tools or Test Connection
Watson Orchestrate will query the MCP server for available tools
You should see the
get_patienttool appear
Step 5: Configure the get_patient Tool
The tool will be automatically configured with:
Tool Name:
get_patientDescription: Retrieve patient information by contact ID
Parameters:
contact_id(optional string): The unique contact identifier
Step 6: Test the Tool
In Watson Orchestrate, select the
get_patienttoolTest with the sample contact ID:
7c50f84d-62af-f011-bbd3-000d3a9b6dcbOr test without parameters to get default patient data
Verify the response matches the expected format
Step 7: Create Skills Using the Tool
Navigate to Skills Builder in Watson Orchestrate
Create a new skill that uses the
get_patienttoolConfigure the skill flow and parameters
Test and publish the skill
Watson Orchestrate Connection YAML Example
If Watson Orchestrate supports YAML configuration, create a connection file:
apiVersion: v1
kind: Connection
metadata:
name: patient-mcp-server
spec:
type: mcp
endpoint: http://your-ubuntu-server-ip:8002
authentication:
type: none
tools:
- name: get_patient
enabled: trueSecurity Considerations for Production
1. Enable HTTPS
Use a reverse proxy (nginx) with SSL:
# Install nginx
sudo apt-get update
sudo apt-get install nginx certbot python3-certbot-nginx
# Configure SSL
sudo certbot --nginx -d your-domain.com2. Add Authentication
Update server.py to include API key authentication:
from fastapi import Header, HTTPException
@mcp.tool()
def get_patient(contact_id: str = None, api_key: str = Header(None)) -> Dict[str, Any]:
if api_key != "your-secret-api-key":
raise HTTPException(status_code=401, detail="Invalid API key")
# ... rest of the function3. Network Security
Use firewall rules to restrict access
Consider VPN or private network connection
Implement rate limiting
4. Update docker-compose.yml for Production
version: '3.8'
services:
fastmcp-server:
build: .
container_name: patient-mcp-server
ports:
- "127.0.0.1:8002:8002" # Only bind to localhost
environment:
- PYTHONUNBUFFERED=1
- API_KEY=${API_KEY} # Use environment variable
restart: unless-stopped
networks:
- mcp-network
networks:
mcp-network:
driver: bridgeTroubleshooting
Server Not Starting
# Check logs
docker-compose logs
# Rebuild container
docker-compose down
docker-compose up -d --buildConnection Refused from Watson Orchestrate
Verify firewall allows port 8002
Check server is listening on 0.0.0.0, not 127.0.0.1
Test with curl from another machine
Tool Not Appearing in Watson Orchestrate
Verify MCP server is responding to tool discovery requests
Check Watson Orchestrate logs for connection errors
Ensure the server URL is correct and accessible
Management Commands
# Start the server
docker-compose up -d
# Stop the server
docker-compose down
# View logs
docker-compose logs -f
# Restart the server
docker-compose restart
# Update the server
git pull # or copy new files
docker-compose up -d --buildExtending the Server
To add more tools, edit server.py:
@mcp.tool()
def get_patient_appointments(patient_id: str) -> Dict[str, Any]:
"""Get patient appointments"""
# Implementation here
pass
@mcp.tool()
def get_patient_claims(patient_id: str) -> Dict[str, Any]:
"""Get patient insurance claims"""
# Implementation here
passThen rebuild and restart:
docker-compose up -d --buildSupport
For issues or questions:
Check the logs:
docker-compose logsReview FastMCP documentation: https://github.com/jlowin/fastmcp
Review Watson Orchestrate MCP integration docs
License
[Your License Here]
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
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/sudhakaren/healthnav'
If you have feedback or need assistance with the MCP directory API, please join our Discord server