a year ago
developer-toolsAn implementation of Model Context Protocol server for use with MedAgentBench (FHIR request generation)
Overview
What is fhir-mcp-server-medagentbench?
This project is a Python-based implementation of a Model Context Protocol (MCP) server designed for use with MedAgentBench, which simulates interactions with a FHIR (Fast Healthcare Interoperability Resources) API.
How to use fhir-mcp-server-medagentbench?
To use the server, first install it using Poetry, set the FHIR_BASE_URL environment variable, and then run the server script to start listening for MCP requests.
Key features of fhir-mcp-server-medagentbench?
- Simulates FHIR operations without needing a live FHIR endpoint.
- Implements MCP handlers for listing resources, reading resources, and executing FHIR operations.
- Uses the
mcp-serverlibrary for communication and includes asynchronous unit tests.
Use cases of fhir-mcp-server-medagentbench?
- Testing MedAgentBench agents without a live FHIR server.
- Simulating FHIR API interactions for development and testing purposes.
- Facilitating the development of applications that rely on FHIR data.
FAQ from fhir-mcp-server-medagentbench?
- Can I use this server without a live FHIR endpoint?
Yes! This server is designed to simulate FHIR interactions, allowing you to test without a live endpoint.
- What programming language is this project written in?
The project is written in Python and requires Python version 3.10 or higher.
- How do I run tests for this project?
You can run tests using
pytestafter installing the dependencies with Poetry.