"""
Main entry point for the DICOM MCP Server.
"""
import argparse
from .server import create_dicom_mcp_server
def main():
# Simple argument parser
parser = argparse.ArgumentParser(description="DICOM Model Context Protocol Server")
parser.add_argument("config_path", help="Path to the DICOM configuration YAML file")
parser.add_argument("--transport", help="MCP transport type ('sse' or 'stdio",default='stdio')
args = parser.parse_args()
# Create and run the server
mcp = create_dicom_mcp_server(args.config_path)
mcp.run(args.transport)
#mcp.run()
if __name__ == "__main__":
main()
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/ChristianHinge/dicom-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server