Scan your whole stack
From OX Research Newsroom
Are you using mcta?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.0.33
mcta was last scanned on 27 Nov 2026 at version 0.0.33. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.0.33 LATEST | 27 Nov 2026 | No rules fired |
| 0.0.32 | 26 Nov 2026 | No rules fired |
| 0.0.31 | 26 Nov 2026 | No rules fired |
| 0.0.30 | 25 Nov 2026 | Not shown |
| 0.0.29 | 25 Nov 2026 | Not shown |
Findings for v0.0.33. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.0.33; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
numpy, matplotlib, ase, spglib, paramiko):pip install mcta # plotting tools only
pip install mcta[seek] # + mt.seek (pymatgen, mp-api, openai); also enables mt.skl
pip install mcta[skl] # + mt.skl (scikit-learn, joblib)
pip install mcta[sqs] # + mt.sqs (sqsgenerator)
pip install mcta[mc] # + mt.mc (numba)
pip install mcta[all] # all: seek + skl + sqs + mc
Every extra is optional; only the tools that need one ask for it (mt.seek → mcta[seek], mt.skl → mcta[skl], mt.sqs → mcta[sqs], mt.mc → mcta[mc]).
mt prints an overview, checks the current directory and suggests the next command.
mt.band / mt.phband: electronic and phonon band structures, with an optional DOS panel
mt.band reads VASP output from a directory (-i, default: current), preferring it over BAND.dat / PBAND*.dat / PDOS*.dat; -d adds DOS, -r -p Mo-d adds projections, -D -d makes a spin-polarized mirror plot, -m calculates effective masses, and two or three directories compare calculations.--no-shift disables this); -l sets k-path labels (from KPOINTS / KLABELS or computed automatically) and --export-dat DIR exports vaspkit-style data. For combined SCF-mesh/band-path calculations, only zero-weight path points are plotted (--keep-weights keeps every k point); vaspkit .dat files are used unchanged.mt.phband reads BAND.dat written by phonopy-bandplot --gnuplot; -l labels high-symmetry points, -y sets the frequency window, -d [FILE] adds a DOS panel sharing the axis (projected_dos.dat / total_dos.dat auto-detected), and -B start end breaks the axis for optical branches; two or three files are compared side by side.mt.band # bands of the current directory
mt.band -i calc_PBE -d -z # bands + DOS (DOSCAR or PDOS*.dat)
mt.band -i calc_PBE -r -p Mo-d # projected bands from PROCAR
mt.band -i calc_PBE -D -d # spin-polarized bands + mirror DOS
mt.band -i calc_PBE -m 0.15 # effective masses from EIGENVAL
mt.band -i calc_PBE calc_HSE # compare calculations
mt.phband -i BAND.dat -o BAND.png -l g m k g -d projected_dos.dat -z
mt.phband -B 23 100 -l g m k g -y -2 110 # broken axis
mt.phband -i BAND1.dat BAND2.dat -B 20 100 # several files
mt.dos / mt.phdos: standalone DOS figures for electrons or phonons, energy / frequency on the horizontal axis
mt.dos reads DOSCAR (needs LORBIT = 11) or vaspkit PDOS*.dat / TDOS*.dat, from a directory or .dat files via -i; -p picks projections, -e renames the legend, -x sets the DOS range, -y the energy window, and -z fills the curves. -n exchanges the axes for the mt.band -d orientation, and --no-mirror keeps the spin-down DOS positive.mt.phdos reads projected_dos.dat / total_dos.dat; -e, -x, -y (frequency), -z work as above, and -n matches the mt.phband -d orientation.mt.dos -i calc # DOS from DOSCAR / PDOS*.dat (energy on x)
mt.dos -i calc -p d -x 0 30 # d-orbital PDOS with a fixed DOS range
mt.dos -i calc -o PDOS.png -z # filled curves
mt.dos -i calc -n # energy vertical (mt.band -d orientation)
mt.phdos -i calc -z # filled curves
mt.phdos -i calc -x 0 0.6 # fix the DOS range
mt.phdos -i calc -n # frequency vertical (mt.phband -d orientation)
mt.ph / mt.ph3: phonopy and phono3py workflow helpers
mt.ph runs the interactive supercell → force constants → band → DOS workflow; -b -d writes band.conf + mesh.conf, -Y skips confirmation, and -R only prints commands. The unit cell is auto-detected (POSCAR-unitcell → CONTCAR → POSCAR) or set with -c; commands adapt to phonopy v3/v4.mt.ph fs collects force data (one vasprun.xml uses --fc, several files or displacement directories use --sp -f; sources come from names, -n, or -x); other steps include band, dos, tprop, born, symmetry, qha, and gruneisen (see mt.ph -h).mt.ph3 guides supercell generation, force collection, and thermal conductivity, adapting to phono3py v3/v4 with the same -Y / -R; -s / -S set FC3 / FC2 supercell dimensions, -c the unit cell, and --rd creates random-direction displacements. cf3 / cf2 collect forces, cfs and fs2f2 convert force-set formats, and --sp writes phono3py_params.yaml.kappa runs RTA by default (--lbte for direct LBTE), kaccum writes cumulative conductivity, and kdeplot shows lifetime distributions; w / W query the offline English/Chinese wordbook (w c lists setting tags, --path shows its location, MT_PH_DOCS selects a custom JSON file).mt.ph # interactive workflow (default: supercell)
mt.ph -b -d # write band.conf + mesh.conf
mt.ph fs 001-003 # collect forces from displacement directories
mt.ph w --dim BAND_LABELS # English original, then Chinese translation
mt.ph3 supercell -s 2 2 2 -S 4 4 4 # separate FC3 and FC2 supercells
mt.ph3 kappa -m 11 11 11 # RTA -> kappa-m111111.hdf5
mt.ph3 kaccum -k kappa-m111111.hdf5 # cumulative conductivity -> kaccum.dat
mt.ph3 w --br --symfc # English original, then Chinese translation
mt.seek / mt.sqs / mt.skl: structure retrieval, SQS generation, and data-driven analysis
mt.seek: Materials Project retrieval and curation, run directly on the server. Retrieves structures and writes one export directory <name>/ in the working root — containing README.md, manifest.csv, mt.seek.db and one <id>/ directory per structure (CIF / POSCAR / JSON, plus INCAR / KPOINTS / job script when requested; POTCAR is concatenated into the POSCAR directory with mt.sh po when a pseudopotential directory is configured). No tarball, no upload; internal cache/state stay hidden in .mt.seek/. Also filters or deduplicates local datasets; no calculations run locally. Set the API key once (free account at https://next-gen.materialsproject.org).mt.sqs: special quasirandom structures from a custom unit cell. Reads POSCAR / CONTCAR / CIF / JSON, expands a supercell, and randomises one sublattice toward a target composition using sqsgenerator; no network access is required.mt.skl: data-driven analysis of exported structures with scikit-learn. Runs two regression tasks (ehull stability and band_gap) with a random forest and 5-fold cross-validation, writing results to <home>/ml/; --home DIR sets the working root (default: current directory).mkdir -p ~/.config/mcta
echo 'MP_API_KEY=your-key' >> ~/.config/mcta/config
chmod 600 ~/.config/mcta/config
mt.seek -c Ti-C -k 3 -n ti-c # search by chemical system, export top 3
mt.seek -f MoS2 -k 5 -F cif,poscar # search by formula
mt.seek -r -D 8 -o my-pick # deduplicate + pick 8 diverse structures
mt.sqs -c cell.vasp -a "Cu:0.5,Au:0.5" -x 4,4,4 -n cuau-sqs
mt.sqs -c LaAlO3.cif --host La -a "La:0.5,Sr:0.5" -x 2,2,2 # A-site only
mt.sqs -c cell.vasp -a Cu,Au --iterations 1000 --number 5 -R # dry-run: no disk write
mt.skl # analyse <name>/manifest.csv from each export bundle
mt.seek exports land in <name>/ directly under the working root (no exports/, no .tar.gz, no upload): each bundle holds README.md, manifest.csv, mt.seek.db, and one <id>/ directory per structure containing that id's CIF / POSCAR / JSON (INCAR / KPOINTS / job script are written into the same <id>/ when requested; POTCAR is generated there by mt.sh po only when a pseudopotential directory such as PBE_PATH is set and exists). -I accepts MP IDs, -t accepts natural-language tasks, and -T downloads more structures. mt.sqs bundles additionally contain sqs.json and sqs_summary.csv. mt.seek -h lists all options, LLM engines, and MT_SEEK_* environment variables; short options are case-sensitive; mt.sqs -h lists every flag and default.
Structure data comes from the Materials Project: A. Jain et al., APL Materials 1, 011002 (2013).
mt.mc: Monte Carlo simulation of phase transitions in 2D/3D magnetic materials
-s POSCAR -A Fe -D 3.0 3.6 -x 2 -y 2 -z 2); any of -a, -J, -K switches to the Heisenberg model. Requires numba (pip install mcta[mc]); ASE is needed for structure mode.-x/-X, -y/-Y, -z/-Z set the lattice size or supercell multiplier (default 32, -z ignored for 2D); -e/-w set equilibration/sampling sweeps, -p/-J/-K couplings, -a anisotropy, -i initial state, and -C / -W / -S control parallel chains, replica exchange and reproducibility. -t accepts a count (35), a range (20 25), start/stop/step (20 26 2), separate temperatures (20 25 30), or chained ranges.-s) reads any ASE-supported file, picks magnetic atoms (-A Fe,Co or auto d/f-block), expands the supercell and builds the neighbor table by distance bins (-D); --mom sets nominal moments (default 2 → S=±1) and --ini the initial state (fm / afm / random or a ±1 list); -c is ignored with -s. Plots are automatic unless -R, and -o FILE -I pdf re-plots a finished run.mt.mc -x 128 -y 128 -t 0 40 2 -C 6 -S 42 # 6 parallel chains, reproducible
mt.mc -c triangular -t 0 60 2 -S 42 # triangular lattice
mt.mc -c square -a 0.1 -t 20 40 2 -p 5 -J 4 -K 3 # vector spins with anisotropy
mt.mc -s POSCAR -A Fe -D 2.7 3.2 -x 2 -y 2 -z 2 -t 10 30 10 -p 5 2 # from crystal
mt.mc -o square_Ising_32_32.log -I pdf # re-plot a finished run
mt.sh: run bash helper scripts by short name
mt.sh NAME [args...] runs NAME.sh with bash; local ./NAME.sh overrides $MTSH_SCRIPTS, then bundled scripts. Bare mt.sh lists available scripts.x|y|xy [POSCAR] [NPOINTS] [STEP] write <factor>/POSCAR under x/, y/, or xy/; defaults are 4 points per side and step 0.01.kb [POSCAR] [a [b [c]]] [OUT] expands the structure with ASE and writes SPOSCAR by default; missing multipliers default to 1.sy [POSCAR] [symprec] reports spglib space-group and Wyckoff-site information; the default tolerance is 1e-3 Å.sed / awk / bc available.mt.sh x # x strain: x/0.960 ... x/1.040 (8 points, step 0.01)
mt.sh y POSCAR 2 0.02 # y strain, 2 points per side, step 0.02
mt.sh xy POSCAR # x and y strained together
mt.sh kb POSCAR 2 2 1 # POSCAR -> SPOSCAR (2x2x1)
mt.sh sy POSCAR # space group + Wyckoff sites (symprec 1e-3)
mt.sh sy CONTCAR 0.0001 # tighter tolerance: may lower the symmetry
mt.server: local file service, structure viewer and terminal in the browser
mt.server runs a token-protected web service for browsing, editing and downloading files from the -d directory, a browser PTY terminal, and a 3Dmol.js viewer for structures, trajectories and VASP charge densities; it listens on port 9068 by default (-p), can run in the foreground (-f) or over a Unix socket (-c|--socket), and is stopped with -S (--status lists ports, -S --all stops them all).-R user@host[:port] it browses and transfers remote files over parallel SSH/SFTP channels using key or prompted-password login (-i KEY selects a private key; otherwise ssh-agent and ~/.ssh defaults are tried), opens a remote mt.server for 3D parsing through a Unix-socket tunnel, can forward a remote web service with -P or --socket, and keeps a persistent per-host cache; -D [RPORT [LPORT]] uses SSH's built-in SOCKS5 to share the local network with the remote host (remote port first, local port second, both 9069 by default)..json open as read-only highlighted text, Materials Studio .xsd opens as a 3D structure by default (read-only XML via "Open text"), and large files are paged on demand (2 MB text windows, 256 MB structures, 512 MB volumetric files, 1000 trajectory frames / 5 million atoms).mt.server # background on port 9068; the tokenized URL is printed
mt.server -d ./examples # serve a different directory
mt.server -p 8080 # another port
mt.server -L 0.0.0.0 # listen on all interfaces (asks for yes, then prints a warning)
mt.server -f # foreground; Ctrl+C to stop
mt.server -N # no token (asks for yes): open http://127.0.0.1:9068/ directly
mt.server -o run.log # keep the startup output in run.log (overwritten each start)
mt.server -R user@host:22 -d /home/user/project
mt.server -S # stop the service on port 9068
mt.server --status # list every port where mt.server is running
mt.server -S --all # stop all of them
Third-party components
mt.server bundles two browser assets, each redistributed under its own license. The full license texts ship with the package:
mcta/server/3Dmol.LICENSE.txt.mcta/server/xterm.LICENSE.txt.McTa itself is licensed under the MIT License (LICENSE).
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.