1. Conduid
  2. Healthcare
  3. MS MCP
MCP server · Healthcare

MS MCP

MCP stdio server for Microsoft SQL Server with multi-database query support and safe-mode write protection

45Fair

Scored 19 hours ago · breakdown

About MS MCP

MS MCP is an MCP server published by DrYe1109 in the Healthcare category: mCP stdio server for Microsoft SQL Server with multi-database query support and safe-mode write protection. Conduid read 33 tools from its source: ms_castep, ms_codex_config, ms_create_molecule, ms_enqueue_materialscript, ms_forcite, ms_gui_add_vacuum_current and 27 more. No package is published for it, so it installs from a source checkout.

The repository has 32 stars and 2 forks, and its last commit was on 18 Jul 2026. Conduid has no tagged release on record for it. Its topics include mssql and sql-server.

Install

From source
git clone https://github.com/DrYe1109/MS-MCP

Tools (33)

ms_castepRun a CASTEP task or preset calculation on an input document located under the MS-MCP work root. Presets include Energy, GeometryOptimization, Frequency/phonons, DOS, band structure, charge density, and density difference.
ParameterTypeDescription
coresnumber
inputDocument *string
projectboolean
settingsobject
taskstringCASTEP task name or high-level preset. Presets are mapped to the correct CASTEP task and property settings.
ms_codex_configReturn an MCP server config snippet that can be pasted into Codex settings.
ms_create_moleculeCreate a standalone molecule/crystal document from explicit atoms and bonds using MaterialsScript. For the already-open GUI project, prefer ms_gui_create_current to avoid duplicate GUI documents.
ParameterTypeDescription
atomsarray
bondsarray
documentName *string
projectboolean
ms_enqueue_materialscriptQueue a MaterialsScript Perl command for the optional in-Materials-Studio mcp_loop_gui.pl runner. Disabled unless MS_MCP_ALLOW_ARBITRARY_SCRIPT=1.
ParameterTypeDescription
namestring
script *string
ms_forciteRun a Forcite task on an input document located under the MS-MCP work root.
ParameterTypeDescription
coresnumber
inputDocument *string
projectboolean
settingsobject
taskstring
ms_gui_add_vacuum_currentAdd vacuum to the current GUI periodic document in place only when the user explicitly asks for vacuum. For an already-built 3D cell, extend_lattice increases the chosen lattice length while preserving Cartesian atom positions; for 2D surfaces, vacuum_slab uses CrystalBuilder VacuumSlab.
ParameterTypeDescription
axisstring
ballAndStickboolean
documentNamestring
exportFilestring
modestring
reorientAfterVacuumSlabboolean
slabPositionnumber
thickness *numberVacuum thickness to add in Angstrom.
transferSymmetryboolean
ms_gui_apply_currentQueue a MaterialsScript body that modifies the current GUI document in place. Use this for 'on this molecule...' edits.
ParameterTypeDescription
ballAndStickboolean
body *stringMaterialsScript body. A variable named $doc is bound to the current target document.
documentNamestring
exportFilestring
labelstring
saveboolean
ms_gui_castep_currentQueue a CASTEP calculation on the current GUI document. Supports Energy, GeometryOptimization, phonon/frequency, DOS, band structure, charge density, and density difference presets.
ParameterTypeDescription
calculationNamestring
calculationTypestringHigh-level CASTEP calculation preset.
coresnumber
documentNamestring
exportFilestring
extraSettingsobject
kPointQualitystring
qualitystring
resultDocumentstring
ms_gui_cleave_surface_vacuum_currentCleave a surface from the current GUI crystal and build a vacuum slab through Materials Studio SurfaceBuilder + CrystalBuilder. Use only when the user explicitly asks to cleave/build a surface or create a vacuum slab by the manual surface workflow.
ParameterTypeDescription
ballAndStickboolean
capBondsboolean
capTypestring
cleaveRulestring
documentNamestring
exportFilestring
hnumber
knumber
lnumber
reorientAfterVacuumSlabboolean
slabThickness *numberThickness of the cleaved slab in Angstrom.
transferSymmetryboolean
vacuumAxisstring
vacuumThickness *numberVacuum thickness in Angstrom.
ms_gui_create_crystal_currentCreate or replace the current GUI document as a periodic crystal/unit cell from lattice parameters and atom coordinates. Before using this for a new crystal, first try ms_gui_find_cif_import_current against open CIF sources; use manual construction only when no reliable open CIF is found or the user provides credentials/API access for a restricted source. Do not add vacuum here unless the user explicitly requested vacuum in the initial cell parameters.
ms_gui_create_currentCreate or replace the current GUI document from a MaterialsScript body. Before using this for a new structure, first try ms_gui_find_cif_import_current against open CIF sources; use manual construction only when no reliable open CIF is found or the user provides credentials/API access for a restricted source. By default it reuses the existing current/same-name document and rebuilds it in place to avoid duplicate .xsd files.
ms_gui_dmol3_optimize_currentQueue a DMol3 GeometryOptimization on the current GUI document and organize calculation outputs under a dedicated calculation name/folder.
ParameterTypeDescription
calculationNamestring
chargenumber
coresnumber
documentNamestring
exportFilestring
extraSettingsobject
qualitystring
resultDocumentstring
theoryLevelstring
ms_gui_download_cif_import_currentDownload a CIF from an open supported source or direct CIF URL, store it once in the active task session, optionally import it into the open GUI project, and make it current. Use this before modeling when a reliable database CIF is available. Do not use this to bypass login/license walls; credentialed databases require user-provided existing credentials/API configuration.
ParameterTypeDescription
ballAndStickboolean
codIdstringCOD numeric id, required when source=cod.
documentNamestringOptional Materials Studio document name. Defaults to the CIF file name with .xsd.
fileNamestringOptional local CIF base name without path.
importToGuibooleanIf true, queue an import into the current GUI project after download.
sourcestringCIF source. Use cod for Crystallography Open Database numeric IDs, or url for a direct CIF link.
urlstringDirect CIF URL, required when source=url.
ms_gui_edit_currentQueue a basic molecule-building edit on the current GUI document, such as adding/deleting bonds, changing an atom element, adding/deleting atoms, recalculating bonds, Clean, or AdjustHydrogen.
ParameterTypeDescription
adjustHydrogenAfterboolean
allowPeriodicBondGuessbooleanAllow broad CalculateBonds on periodic documents. Keep false unless the user explicitly accepts periodic bond guessing.
atomstringAtom selector by atom Name or 1-based atom index.
atom1stringFirst atom selector by atom Name or 1-based atom index.
atom2stringSecond atom selector by atom Name or 1-based atom index.
ballAndStickboolean
bondTypestring
cleanAfterboolean
cleanIterationsnumber
documentNamestring
elementstring
exportFilestring
namestring
operationstring
xnumber
ynumber
znumber
ms_gui_find_cif_import_currentSearch open crystallographic databases for a reliable CIF, download it once, import it into the current GUI project, and make it current. Use this before manually building a new crystal or molecular crystal. It only uses open sources; if the requested structure appears to require credentialed databases such as ICSD/CSD/Materials Project API, return candidates/reason so the user can provide access instead of bypassing login walls.
ParameterTypeDescription
ballAndStickboolean
documentNamestringOptional Materials Studio document name. Defaults to the CIF file name with .xsd.
fileNamestringOptional local CIF base name without path.
formulastringOptional chemical formula used to raise confidence and reject unrelated search hits.
importToGuiboolean
maxResultsnumber
minConfidencenumber
query *stringMaterial, mineral, compound, molecule, or structure name to search for.
ms_gui_forcite_optimize_currentQueue a Forcite GeometryOptimization on the current GUI document using a manual-like calculation folder layout.
ParameterTypeDescription
calculationNamestring
chargeAssignmentstring
coresnumber
documentNamestring
exportFilestring
extraSettingsobject
forcefieldstring
maxIterationsnumber
optimizeCellboolean
qualitystring
resultDocumentstring
ms_gui_import_currentQueue an import into the open Materials Studio GUI project and make the imported document the current document. Import external source files only; do not import XSD files that MS-MCP just exported from the current GUI document.
ParameterTypeDescription
ballAndStickboolean
documentNamestring
exportFilestring
file *string
ms_gui_make_supercell_currentBuild a supercell from the current GUI periodic document in place, using Materials Studio BuildSuperCell.
ParameterTypeDescription
anumberMultiplier along lattice A.
bnumberMultiplier along lattice B.
ballAndStickboolean
cnumberMultiplier along lattice C. Use 1 for 2D slabs/surfaces.
calculateBondsbooleanFor periodic supercells this defaults to false to avoid incorrect cross-boundary bonding; use explicit bonding or a later targeted bond calculation when needed.
documentNamestring
exportFilestring
surface2DbooleanUse the two-parameter surface form BuildSuperCell(a,b).
ms_gui_model_currentQueue a basic Materials Studio modeling-toolbar operation on the current GUI document, such as Clean or AdjustHydrogen, without creating a new document.
ParameterTypeDescription
ballAndStickboolean
cleanIterationsnumber
documentNamestring
exportFilestring
operationstring
ms_gui_new_structure_currentUnified entry point for creating a new GUI structure. Decision order: if an open and reliable CIF can be found, download it and import it as the initial XSD/current GUI document; if a likely source exists but requires an account/API such as ICSD/CSD/Materials Project/OQMD, return candidates and ask the user for access instead of bypassing authentication; if no usable CIF source is available, fall back to controlled MCP GUI manual creation when manual atoms/cell data are provided. Build the primitive/base document first; do not name the initial document after a planned supercell size. Prefer this tool over direct create/import tools for first-time structure creation.
ms_gui_prepare_remote_castep_batchPrepare independent native CASTEP geometry-optimization jobs or compatibility Script Job drivers. The default native_castep mode stages one XSD plus one CASTEP settings document per structure/spin task for separate submission from the CASTEP Calculation dialog, giving each calculation its own CASTEP Job Control entry and native convergence graphs.
ParameterTypeDescription
batchNamestring
commonSettingsobject
stopGuiLoopAfterPrepareboolean
submissionModestring
tasksarray
ms_gui_project_dirEnsure and return the current MS-MCP task/session output directory under the workspace.
ms_gui_set_current_documentSet the current Materials Studio GUI document for subsequent stateful operations. This does not create a file.
ParameterTypeDescription
documentName *string
exportFilestring
ms_gui_set_lattice_currentSet lattice parameters on the current GUI crystal document in place.
ParameterTypeDescription
anumber
alphanumber
bnumber
ballAndStickboolean
betanumber
cnumber
documentNamestring
exportFilestring
gammanumber
ms_gui_start_project_sessionStart a new MS-MCP task/session folder under the workspace, such as YYYY-MM-DD-1, for subsequent GUI modeling and calculation outputs. Use only when the user explicitly asks for a new task/session; normal modeling should reuse the Dashboard/current session.
ParameterTypeDescription
allowExistingSessionSwitchbooleanRequired when a session already exists. Prevents accidental folder creation/switching during normal modeling.
folderNamestringOptional explicit folder name. If omitted, MS-MCP chooses the next YYYY-MM-DD-N folder.
ms_gui_stateGet the stateful GUI session target: current document, current exported file, last job, and history.
ms_list_workspaceList files under the MS-MCP work root.
ParameterTypeDescription
maxFilesnumber
subdirstring
ms_queue_statusInspect the optional MS-MCP GUI queue folders.
ms_read_textRead a text output file under the MS-MCP work root.
ParameterTypeDescription
file *string
maxBytesnumber
ms_remote_castep_batch_statusRead the local preparation markers, submission receipt, and downloaded result summary available for a remote CASTEP batch.
ParameterTypeDescription
batchName *string
ms_remote_castep_record_submissionRecord one Materials Studio Job Control receipt. For native_castep preparation, call this once per calculationName after submitting its XSD from the CASTEP Calculation dialog.
ParameterTypeDescription
batchName *string
calculationNamestring
driverDocumentstring
gateway *string
jobId *string
serverTypestring
statusstring
structureDocumentstring
submissionModestring
submittedAtstring
ms_run_materialscriptRun a MaterialsScript Perl script through RunMatScript. Disabled by default unless MS_MCP_ALLOW_ARBITRARY_SCRIPT=1.
ParameterTypeDescription
argsarray
coresnumber
namestring
projectboolean
script *string
ms_statusCheck Materials Studio paths, RunMatScript availability, and MS-MCP workspace.

Security checks

6 checks have not been run yet.

Questions

About MS MCP

How do I install MS MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is MS MCP safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is MS MCP still maintained?

Yes — the last commit was 4 months ago. The repository has 32 stars and 2 forks.

What tools does MS MCP provide?

Conduid read 33 tools from the source: ms_castep, ms_codex_config, ms_create_molecule, ms_enqueue_materialscript, ms_forcite, ms_gui_add_vacuum_current, ms_gui_apply_current, ms_gui_castep_current and 25 more. 25 of them publish their parameters, listed under Tools above.