# MDEngine MCP server

> Lets an AI client inspect molecular dynamics trajectories, render simulation videos, and run LAMMPS simulations as detached background jobs.

- Repository: https://github.com/forcefieldsilicon/mdengine
- Page: https://hostedmcp.org/servers/forcefieldsilicon/mdengine
- Transport: stdio, remote
- Stars: 0
- Latest version: 0.7.1

## Install

### Claude Code

```sh
claude mcp add --transport http mdengine https://api.forcefieldsilicon.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mdengine": {
      "url": "https://api.forcefieldsilicon.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mdengine": {
      "type": "http",
      "url": "https://api.forcefieldsilicon.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mdengine","type":"http","url":"https://api.forcefieldsilicon.com/mcp"}'
```

### Codex

```sh
codex mcp add mdengine --url https://api.forcefieldsilicon.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mdengine]
url = "https://api.forcefieldsilicon.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mdengine https://api.forcefieldsilicon.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mdengine": {
      "url": "https://api.forcefieldsilicon.com/mcp",
      "type": "http"
    }
  }
}
```

## FAQ

### Can I run simulations on a GPU without installing anything?

Yes, the hosted tier allows you to send simulation decks to the hosted GPU endpoint and receive results back via an MCP client.

### Is it safe to inspect a simulation while it is still running?

Yes, trajectory readers can safely parse in-flight dumps, allowing you to inspect a run mid-flight by reading complete frames.

### What are the security risks of using the LAMMPS job runner?

LAMMPS decks are programs that can invoke arbitrary shell commands; an AI agent connected to the server can run decks with your user's full privileges.

### How do I authenticate with the hosted GPU tier?

You can use OAuth 2.1 via a consent page where you paste your API key, or pass the key directly as a Bearer token in the authorization header.
