1. Conduid
  2. Developer Tools
  3. Tealflowmcp
MCP server · Developer Tools

Tealflowmcp

MCP server for building Teal R Shiny apps with AI assistance. Clinical trial data analysis made easy with Claude, Copilot & more.

52Fair

Scored 22 hours ago · breakdown

About Tealflowmcp

Tealflowmcp is an MCP server published by Appsilon in the Developer Tools category: mCP server for building Teal R Shiny apps with AI assistance. Clinical trial data analysis made easy with Claude, Copilot & more. Conduid read 14 tools from its source: tealflow_agent_guidance, tealflow_check_dataset_requirements, tealflow_check_shiny_startup, tealflow_discover_datasets, tealflow_generate_data_loading, tealflow_generate_module_code and 8 more. It is published to PyPI as tealflow-mcp and runs with uvx.

The repository has 30 stars and 6 forks, and its last commit was on 30 Oct 2026. The latest release is v0.2.0 (27 Feb 2026). It follows v0.1.4 (17 Feb 2026), and the 4 most recent releases go back to v0.1.3.post1 (13 Feb 2026). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include devtools, shiny, clinical-trials and teal.

Install

uvx
uvx tealflow-mcp
pip
pip install tealflow-mcp
From source
git clone https://github.com/Appsilon/TealFlowMCP

Tools (14)

tealflow_agent_guidanceGet comprehensive guidance for assisting users with Teal application development.
tealflow_check_dataset_requirementsCheck if required datasets are available for a specific module.
ParameterTypeDescription
available_datasets *arrayList of available dataset names (e.g., ['ADSL', 'ADLB', 'ADVS']).
module_name *stringName of the module to check dataset requirements for.
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_check_shiny_startupCheck if a Shiny app starts without errors.
ParameterTypeDescription
app_filenamestringName of the app file to run (e.g., 'app.R', 'server.R'). Defaults to "app.R".
app_pathstringPath to the Shiny app directory. Defaults to ".".
timeout_secondsintegerMaximum time in seconds to allow the app to start (1-120). Defaults to 15.
tealflow_discover_datasetsDiscover ADaM datasets in a directory.
ParameterTypeDescription
data_directory *string**Absolute path** to the directory containing dataset files. Example: '/home/user/project/data/' or 'C:\\Users\\user\\project\\data\\'.
file_formatsarrayList of file formats to include (e.g., ['Rds', 'csv']). If None, all supported formats are included. Defaults to None.
patternstringFile pattern to match (default: 'AD*' for ADaM datasets). Defaults to 'AD*'.
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_generate_data_loadingGenerate R code for loading discovered datasets and creating a teal_data object.
ParameterTypeDescription
datasets *arrayList of dataset dictionaries from discovery. Each dictionary must contain: - name: Dataset name (e.g., "ADSL") - path: Absolute path to dataset file - format: File format ("Rds" or "csv") - is_standard_adam: Whether it's a standard ADaM dataset
project_directorystringAbsolute path to the project directory. If provided, dataset paths within this directory will use relative paths. If None or datasets are outside, absolute paths will be used. Defaults to None.
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_generate_module_codeGenerate R code for adding a module to a Teal application.
ParameterTypeDescription
include_commentsbooleanWhether to include explanatory comments in the generated code. Defaults to True.
module_name *stringName of the module to generate code for (e.g., 'tm_g_km', 'tm_t_coxreg', 'tm_g_scatterplot').
parametersobjectOptional parameter overrides as JSON object. Defaults to None. (Not yet implemented)
tealflow_get_app_templateGet the Teal application template as a starting point for building apps.
ParameterTypeDescription
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_get_dataset_infoGet detailed information about a dataset file including columns, types, and row count.
ParameterTypeDescription
file_path *string**Absolute path** to the dataset file (.rds or .csv). Example: '/home/user/data/ADSL.Rds' or 'C:\\Users\\user\\data\\ADSL.csv'.
include_sample_valuesbooleanWhether to include sample values (first 5 unique values) for each column. Useful for understanding data content. Defaults to True.
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_get_module_detailsGet comprehensive details about a specific Teal module including all parameters and R help documentation.
ParameterTypeDescription
module_name *stringName of the module (e.g., 'tm_g_km', 'tm_t_coxreg', 'tm_g_scatterplot').
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_list_datasetsList available clinical trial datasets in the project.
ParameterTypeDescription
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_list_modulesList all available Teal modules with their descriptions and dataset requirements.
ParameterTypeDescription
categorystringFilter by category like 'graphics', 'tables', 'analysis'. Defaults to None.
packagestringFilter by package - 'clinical', 'general', or 'all'. Defaults to 'all'.
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_search_modules_by_analysisSearch for Teal modules that perform a specific type of analysis.
ParameterTypeDescription
analysis_type *stringType of analysis to search for (e.g., 'survival', 'safety', 'efficacy', 'data exploration', 'visualization', 'kaplan-meier', 'forest plot', 'cox regression', 'scatter plot').
response_formatstringOutput format - 'markdown' for human-readable or 'json' for machine-readable. Defaults to 'markdown'.
tealflow_setup_renv_environmentPrepare an R project directory so it is ready to run Teal Shiny applications.
ParameterTypeDescription
project_pathstring**ABSOLUTE** path to the R project directory. MUST be an absolute path (e.g., "/home/user/project" or "C:\\Users\\user\\project"). Relative paths like "." will resolve to the MCP server's directory, not the user's project. Defaults to "." but should always be explicitly provided as an absolute path.
response_formatstringOutput format - 'json' or 'markdown'. Defaults to 'json'.
tealflow_snapshot_renv_environmentCreate an renv snapshot of the current R project environment.
ParameterTypeDescription
project_pathstring**ABSOLUTE** path to the R project directory. MUST be an absolute path (e.g., "/home/user/project" or "C:\\Users\\user\\project"). Relative paths like "." will resolve to the MCP server's directory, not the user's project. Defaults to "." but should always be explicitly provided as an absolute path.
response_formatstringOutput format - 'json' or 'markdown'. Defaults to 'json'.

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by uv.lock.
  • ✓No dynamic code executionScanned 30 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiotealflow_mcp/server.py:995
Starts other programs
4 callstealflow_mcp/tools/check_shiny_startup.py:126, tealflow_mcp/tools/setup_renv.py:72, tealflow_mcp/tools/snapshot_renv.py:66
Outbound network calls
No outbound network calls
Writes or deletes files
No file writes or deletes
Lockfile
uv.lock

Pattern matches on the source text of 30 files: places to read, not proof of what the code does at run time.

Releases

v0.2.0v0.2.0 · 27 Feb 2026What's Changed fix: Sync version to 0.1.4 by @jakubnowicki in https://github.com/Appsilon/TealFlowMCP/pull/55 Feature/add changelog and contributing by @jakubnowicki in https://github.com/Appsilon/TealFlowMCP/pull/56 Replace pyreadr by…
v0.1.4v0.1.4 · 17 Feb 2026What's Changed Change license by @jakubnowicki in https://github.com/Appsilon/TealFlowMCP/pull/54 Full Changelog: https://github.com/Appsilon/TealFlowMCP/compare/v0.1.3.post2...v0.1.4
v0.1.3.post2v0.1.3.post2 · 13 Feb 2026What's Changed Fix readme links by @jakubnowicki in https://github.com/Appsilon/TealFlowMCP/pull/53 Full Changelog: https://github.com/Appsilon/TealFlowMCP/compare/v0.1.3.post1...v0.1.3.post2
v0.1.3.post1v0.1.3.post1 · 13 Feb 2026First release.

README

The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Tealflowmcp

How do I install Tealflowmcp?

Run uvx tealflow-mcp, then add the server to your MCP client's configuration.

Is Tealflowmcp safe to use with an AI agent?

Its trust score is 52 out of 100 (fair). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 30 source files found that it serves MCP over stdio and starts other programs (4 calls). Its dependencies are pinned by uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Tealflowmcp still maintained?

Yes — the last commit was a month ago. The repository has 30 stars and 6 forks and 48 open issues.

What tools does Tealflowmcp provide?

Conduid read 14 tools from the source: tealflow_agent_guidance, tealflow_check_dataset_requirements, tealflow_check_shiny_startup, tealflow_discover_datasets, tealflow_generate_data_loading, tealflow_generate_module_code, tealflow_get_app_template, tealflow_get_dataset_info and 6 more. 13 of them publish their parameters, listed under Tools above.

What license is Tealflowmcp released under?

The repository has a license file that does not match a standard license, so read its terms before using it in a product.