FastMCP server for NextGen Connect (Mirth) API
Project description
mirth_connect_mcp
MCP server for NextGen Connect (Mirth) that exposes API operations as domain-grouped tools.
Requirements
- Python 3.13+
- Reachable NextGen Connect API endpoint
- Credentials with API access
Install
Recommended (global command available in PATH):
uv tool install mirth_connect_mcp
Alternative:
pip install mirth_connect_mcp
After install, the command is:
mirth-connect-mcp
Environment variables
Required:
MIRTH_BASE_URL(example:https://localhost:8443/api)MIRTH_USERNAMEMIRTH_PASSWORD
Optional:
MIRTH_VERIFY_SSL(trueby default; setfalsefor local self-signed certs)MIRTH_TIMEOUT_SECONDS(30by default)MIRTH_OPENAPI_PATH(defaults to bundled OpenAPI spec)
Add to MCP clients
Use stdio transport for all client configs below.
VS Code (MCP)
Open your VS Code MCP config (mcp.json) and add:
{
"servers": {
"mirthNextgen": {
"type": "stdio",
"command": "mirth-connect-mcp",
"env": {
"MIRTH_BASE_URL": "https://localhost:8443/api",
"MIRTH_USERNAME": "admin",
"MIRTH_PASSWORD": "admin",
"MIRTH_VERIFY_SSL": "false"
}
}
}
}
Cline
In Cline MCP settings, add this server entry:
{
"mcpServers": {
"mirthNextgen": {
"command": "mirth-connect-mcp",
"args": [],
"env": {
"MIRTH_BASE_URL": "https://localhost:8443/api",
"MIRTH_USERNAME": "admin",
"MIRTH_PASSWORD": "admin",
"MIRTH_VERIFY_SSL": "false"
}
}
}
}
Claude Desktop
In claude_desktop_config.json, add:
{
"mcpServers": {
"mirthNextgen": {
"command": "mirth-connect-mcp",
"env": {
"MIRTH_BASE_URL": "https://localhost:8443/api",
"MIRTH_USERNAME": "admin",
"MIRTH_PASSWORD": "admin",
"MIRTH_VERIFY_SSL": "false"
}
}
}
}
Gemini CLI
In your Gemini CLI MCP config, add:
{
"mcpServers": {
"mirthNextgen": {
"command": "mirth-connect-mcp",
"env": {
"MIRTH_BASE_URL": "https://localhost:8443/api",
"MIRTH_USERNAME": "admin",
"MIRTH_PASSWORD": "admin",
"MIRTH_VERIFY_SSL": "false"
}
}
}
}
Tool model
Built-in tools:
list_domainslist_actions- One dispatch tool per OpenAPI domain/tag
Domain tool request envelope:
{
"action": "operationId",
"path_params": {},
"query": {},
"body": {},
"headers_override": {}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mirth_connect_mcp-0.1.1.tar.gz.
File metadata
- Download URL: mirth_connect_mcp-0.1.1.tar.gz
- Upload date:
- Size: 48.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237ddc4643e4c8cc1b97eefe2dff53faf6696f5ee69e292c7beb430c7bb60498
|
|
| MD5 |
671205ae28bf2324d31c11fc297e1138
|
|
| BLAKE2b-256 |
bba7977a182729439412406ce10f3541a74569bfd9a7e3fcafa111ea1bbe63e2
|
Provenance
The following attestation bundles were made for mirth_connect_mcp-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on Kovinda/mirth_connect_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirth_connect_mcp-0.1.1.tar.gz -
Subject digest:
237ddc4643e4c8cc1b97eefe2dff53faf6696f5ee69e292c7beb430c7bb60498 - Sigstore transparency entry: 970309944
- Sigstore integration time:
-
Permalink:
Kovinda/mirth_connect_mcp@8b61c8fdadbe6703075350d021736189e67725dd -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kovinda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8b61c8fdadbe6703075350d021736189e67725dd -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file mirth_connect_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: mirth_connect_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 49.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13a24dbd4871bd5e798dd184e241364204d2cbf279a52fce1db51aff05b0d878
|
|
| MD5 |
91e5a977231196111ab5b7020a0dccf4
|
|
| BLAKE2b-256 |
abb02186e154e3aa0e0c0fb66f6640c6da36fd00680a6e665a02a4ca675b0e08
|
Provenance
The following attestation bundles were made for mirth_connect_mcp-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on Kovinda/mirth_connect_mcp
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirth_connect_mcp-0.1.1-py3-none-any.whl -
Subject digest:
13a24dbd4871bd5e798dd184e241364204d2cbf279a52fce1db51aff05b0d878 - Sigstore transparency entry: 970310115
- Sigstore integration time:
-
Permalink:
Kovinda/mirth_connect_mcp@8b61c8fdadbe6703075350d021736189e67725dd -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kovinda
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@8b61c8fdadbe6703075350d021736189e67725dd -
Trigger Event:
workflow_dispatch
-
Statement type: