Installation Guide

Python Installation

RMCP requires Python 3.9+ and can be installed via pip:

pip install rmcp

Development Installation

For development, clone the repository and install with Poetry:

git clone https://github.com/finite-sample/rmcp.git
cd rmcp
poetry install

R Dependencies

RMCP requires several R packages for statistical analysis. Check which packages are installed:

rmcp check-r-packages

Install missing R packages using R:

# Core packages
install.packages(c('jsonlite', 'plm', 'lmtest', 'sandwich', 'AER', 'dplyr'))

# Advanced packages
install.packages(c('forecast', 'vars', 'urca', 'ggplot2', 'gridExtra', 'tidyr', 'rlang'))

Docker Installation

Use the pre-built Docker image for a complete environment:

docker pull ghcr.io/finite-sample/rmcp/rmcp-ci:latest
docker run -it ghcr.io/finite-sample/rmcp/rmcp-ci:latest

Verification

Verify the installation:

# Check version
rmcp --version

# List available tools (should show 40 tools)
rmcp list-capabilities

# Start the server
rmcp start