New: Automated Design is live

Use Your Rod-Lift Wells in Muse Code

Add PetroBench to your Muse Code settings. Muse Code can then find wells, read equipment, and run RodSim simulations with the permissions you already have.

Connect Muse Code in Three Steps

Muse Code is the Meta coding agent for your terminal.

MCP access is off by default. Your PetroBench account team turns it on for your organization.

  1. 1

    Add the config

    ~/.config/muse/settings.json
    {
      "schema_version": 1,
      "mcp_servers": {
        "petrobench": {
          "transport": "streamable_http",
          "url": "https://app.petrobench.com/mcp"
        }
      }
    }
  2. 2

    Sign in to PetroBench

    Terminal
    muse mcp login petrobench
  3. 3

    Check the connection

    Run /mcp in a session, then ask Muse Code to list your wells.

Try These on Your Wells

Start by asking Muse Code to list your wells. If it returns wells from your organization, the connection works. Then pick a job below.

See All Prompts

The same prompts work in

Muse Code and PetroBench

PERM-4821 shuts down on gearbox overload alarms. What is the root cause?

  • get-well
  • validate-well-data
  • get-well-production

Peak torque is at 94% of the gearbox rating at 5.0 SPM. The last fluid shot puts pump fillage at 71%, and the card shows fluid pound on the downstroke.

PERM-4821, latest dyno card
Load (klb) vs position (in)
Peak load
29.2 klb
Min load
8.5 klb
Fillage
71%
Net stroke
113 in
Example result

You Decide What Muse Code Can Do

You pick the permissions when you connect. Muse Code only sees tools that match them and your role.

Every call is recorded with your user and token. Disconnect at any time under Settings > Connected Apps.

Connecting Muse Code

Short answers for engineers and IT.

No. Muse Code signs in with OAuth. You approve the connection on the PetroBench consent screen in your browser.

No. MCP access is off by default. Your PetroBench account team turns it on when your organization asks.

Only what your role and the approved scopes allow, inside your organization. Without write scopes, Muse Code never sees write tools.

Only with write scopes that you tick when you connect. AI clients can make mistakes, so review any change before you confirm it, and keep write access to the users who need it.

Open Settings > Connected Apps in PetroBench and disconnect it. To change scopes, disconnect and connect again.

More questions? Contact Us

Connect Another AI Tool

Every tool uses the same server URL and the same PetroBench sign-in.

https://app.petrobench.com/mcp

Using another tool? Paste this URL into any MCP client that supports remote servers and OAuth.

Assistants

Coding agents

Use Muse Code on Your Own Wells

Your PetroBench account team turns on MCP access for your organization. Then ask your first question in plain words.