Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VCFD_AUTH_TOKENNoBearer token for protecting the MCP server when using HTTP transport.
VCFD_OPENFOAM_MODENoOpenFOAM execution mode: mock, docker, or native.mock

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_templatesA

List available OpenFOAM case templates (e.g. hagen_poiseuille).

list_casesA

List CFD cases in the workspace with mesh and time status.

create_caseA

Create a new OpenFOAM case from a template.

describe_caseB

Describe a case: template, mesh status, parameters, latest time, solver.

delete_caseA

Permanently delete a case directory. Requires confirm=true.

clean_caseA

Remove time directories and post-processing output; keep 0/, constant/, system/.

Requires confirm=true.

set_pipe_parametersC

Set Hagen–Poiseuille pipe geometry, fluid properties, and mesh resolution.

Units: meters, Pa·s (dynamic viscosity), kg/m³, m/s.

generate_meshA

Run blockMesh for the case. Use background=true for async job.

check_meshC

Run checkMesh and return a quality summary.

start_solverA

Start the OpenFOAM solver as a background job. Returns job_id immediately.

get_job_statusA

Get status of a job by job_id, or list jobs for a case / all jobs.

get_logsC

Return the tail of a solver/mesh job log (filtered residual-friendly).

stop_jobA

Stop a running job. force=true sends SIGKILL.

summarize_resultsC

Summarize latest results for spoken delivery (times, parameters, residuals).

compare_to_analyticalA

Compare numerical pipe flow to Hagen–Poiseuille analytical solution.

In mock mode, uses an ideal parabolic profile with small noise-free match. With real OpenFOAM results, samples from case parameters (MVP: uses bulk U and analytical profile as reference; full field sampling can be extended).

export_for_paraviewB

Export case for ParaView via foamToVTK and optional zip package on disk.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gpu7/vCFD'

If you have feedback or need assistance with the MCP directory API, please join our Discord server