Skip to content

Add MCP server#1

Draft
johngrimes wants to merge 1 commit into
Sudo-JHare:mainfrom
aehrc:mcp
Draft

Add MCP server#1
johngrimes wants to merge 1 commit into
Sudo-JHare:mainfrom
aehrc:mcp

Conversation

@johngrimes

@johngrimes johngrimes commented Jul 16, 2025

Copy link
Copy Markdown

Converts the IggyAPI FastAPI application into an MCP (Model Context Protocol) server using FastMCP, enabling integration with Claude Code and other MCP clients.

Changes

  • New: mcp_server.py - MCP server implementation that wraps the existing FastAPI app
  • Updated: requirements.txt - Added FastMCP dependency and updated spaCy version

MCP Integration

  • GET endpoints with path parameters → Resource Templates
  • Other GET endpoints → Resources
  • POST endpoints → Tools
  • Uses stdio transport for reliable communication

This allows the FHIR Implementation Guide search and retrieval functionality to be accessed directly through MCP-compatible tools and interfaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant