AgentFEM

v0.1.0
io.github.haoming-luo/agentfem Checked 3 days ago Published 2 months ago

Build, run, inspect, and verify finite-element simulations with AgentFEM.

Values you need

VariableWhat it is
AGENTFEM_MCP_ROOTSoptional Approved AgentFEM project roots, separated by the platform path separator.
AGENTFEM_COMMANDoptional Absolute path to the AgentFEM executable when it is not on PATH.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add agentfem -- uvx agentfem-mcp==0.1.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "agentfem": {
      "args": [
        "agentfem-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "agentfem": {
      "args": [
        "agentfem-mcp==0.1.0"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "agentfem": {
      "args": [
        "agentfem-mcp==0.1.0"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.agentfem]
command = "uvx"
args = ["agentfem-mcp==0.1.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: describe_system, create_project, validate_project, inspect_project, submit_run, get_run_status, get_result_summary.
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json