Bentrix Docs
HomePricingDashboard

MCP tools: settings

The application's settings read and set, by the same names the Settings window uses.

Reached from a connected client as client.settings in Python, client.settings in JavaScript, client.settings() in Rust — each tool below shows its call in every language.

keys_list#

Read the keyboard's keys

readplan: freesince 3.7.0reads only

Answers every action Bentrix reads a key for, as Settings > Keyboard lists them: its token (chart.zoom_in), its group (everywhere, chart, tools, replay, trade, dialogs, editor, desk), what it does, its keys now, its default keys and whether they were changed - with the most keys an action may have and the operating system's own keys, which are refused.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "keys_list",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def keys_list(self) -> Dict[str, Any]

JavaScript

client.settings
keysList(args)

C#

client.Settings
public Task<JsonNode?> KeysList(CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) KeysList(ctx context.Context) (any, error)

Java

client.settings
public Object keysList()

C++

client.settings
Json keys_list()

Julia

client.settings
keys_list = ()

R

client$settings
`keys_list` = function()

Rust

client.settings()
pub fn keys_list(&self) -> Result<Value, Error>

keys_reset#

Put keys back to the defaults

adminplan: freesince 3.7.0

Puts one action's keys back to Bentrix's default, or every action's when none is named - Settings > Keyboard's Reset and Reset all to defaults. Answers the keys.

ArgumentTypeRequiredDefaultWhat it is
actionstring——The action whose keys go back to Bentrix's default; omitted, every action's.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "keys_reset",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def keys_reset(self, *, action: Optional[str] = None) -> Dict[str, Any]

JavaScript

client.settings
keysReset(args)

C#

client.Settings
public Task<JsonNode?> KeysReset(string? action = null, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) KeysReset(ctx context.Context, args SettingsKeysResetArgs) (any, error)

Java

client.settings
public Object keysReset(KeysResetArgs args)

C++

client.settings
Json keys_reset(const KeysResetArgs &args)

Julia

client.settings
keys_reset = (; action = nothing)

R

client$settings
`keys_reset` = function(action = NULL)

Rust

client.settings()
pub fn keys_reset(&self, args: SettingsKeysResetArgs) -> Result<Value, Error>

keys_set#

Change an action's keys

adminplan: freesince 3.7.0

Gives one action its keys, as Settings > Keyboard does: at most two, any combination of Ctrl, Alt and Shift with one key, or none. A key another action holds where both are read at once is refused naming that action, unless replace moves it here; the operating system's own keys are always refused. Kept with the account. Answers the action's row.

ArgumentTypeRequiredDefaultWhat it is
actionstringyes—The action's token, as keys_list answers it: chart.zoom_in.
keysarray of stringyes—Its keys, at most two, each written as Ctrl+Alt+K, Shift+F12 or Space; an empty list leaves the action with no key.
replaceboolean—falseTake a key another action holds where both are read at once, as Settings > Keyboard's Replace does; otherwise such a key is refused, naming that action.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "keys_set",
    "arguments": {
      "action": "…",
      "keys": []
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def keys_set(self, action: str, keys: List[str], *, replace: Optional[bool] = None) -> Dict[str, Any]

JavaScript

client.settings
keysSet(args)

C#

client.Settings
public Task<JsonNode?> KeysSet(string action, IReadOnlyList<string> keys, bool? replace = null, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) KeysSet(ctx context.Context, args SettingsKeysSetArgs) (any, error)

Java

client.settings
public Object keysSet(KeysSetArgs args)

C++

client.settings
Json keys_set(const KeysSetArgs &args)

Julia

client.settings
keys_set = (action, keys; replace = nothing)

R

client$settings
`keys_set` = function(action, keys, replace = NULL)

Rust

client.settings()
pub fn keys_set(&self, args: SettingsKeysSetArgs) -> Result<Value, Error>

profile_delete#

Delete a settings profile

adminplan: freesince 3.7.0destructive

Deletes a settings profile - never the last one, never the one in use - as Settings > Profiles' Delete does. Answers the profiles.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—The profile's name, as profiles_list answers it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "profile_delete",
    "arguments": {
      "name": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def profile_delete(self, name: str) -> Dict[str, Any]

JavaScript

client.settings
profileDelete(args)

C#

client.Settings
public Task<JsonNode?> ProfileDelete(string name, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) ProfileDelete(ctx context.Context, args SettingsProfileDeleteArgs) (any, error)

Java

client.settings
public Object profileDelete(ProfileDeleteArgs args)

C++

client.settings
Json profile_delete(const ProfileDeleteArgs &args)

Julia

client.settings
profile_delete = (name)

R

client$settings
`profile_delete` = function(name)

Rust

client.settings()
pub fn profile_delete(&self, args: SettingsProfileDeleteArgs) -> Result<Value, Error>

profile_rename#

Rename a settings profile

adminplan: freesince 3.7.0

Renames a settings profile, as Settings > Profiles' Rename does. Answers the profiles.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—The profile's name now.
tostringyes—Its new name.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "profile_rename",
    "arguments": {
      "name": "…",
      "to": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def profile_rename(self, name: str, to: str) -> Dict[str, Any]

JavaScript

client.settings
profileRename(args)

C#

client.Settings
public Task<JsonNode?> ProfileRename(string name, string to, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) ProfileRename(ctx context.Context, args SettingsProfileRenameArgs) (any, error)

Java

client.settings
public Object profileRename(ProfileRenameArgs args)

C++

client.settings
Json profile_rename(const ProfileRenameArgs &args)

Julia

client.settings
profile_rename = (name, to)

R

client$settings
`profile_rename` = function(name, to)

Rust

client.settings()
pub fn profile_rename(&self, args: SettingsProfileRenameArgs) -> Result<Value, Error>

profile_save_as#

Save the settings in use as a new profile

adminplan: freesince 3.7.0

Makes a new settings profile from the settings in use, under a new name, and puts it in use - Settings > Profiles' Save as a new profile. At most 20 profiles, a name of at most 40 characters, never one another profile has. Answers the profiles.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—The profile's name, as profiles_list answers it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "profile_save_as",
    "arguments": {
      "name": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def profile_save_as(self, name: str) -> Dict[str, Any]

JavaScript

client.settings
profileSaveAs(args)

C#

client.Settings
public Task<JsonNode?> ProfileSaveAs(string name, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) ProfileSaveAs(ctx context.Context, args SettingsProfileSaveAsArgs) (any, error)

Java

client.settings
public Object profileSaveAs(ProfileSaveAsArgs args)

C++

client.settings
Json profile_save_as(const ProfileSaveAsArgs &args)

Julia

client.settings
profile_save_as = (name)

R

client$settings
`profile_save_as` = function(name)

Rust

client.settings()
pub fn profile_save_as(&self, args: SettingsProfileSaveAsArgs) -> Result<Value, Error>

profile_use#

Use a settings profile

adminplan: freesince 3.7.0

Puts a settings profile in use, as Settings > Profiles' Use does: every setting, default and template it holds is in force at once; the workbenches, this computer's settings and where the windows stand do not move. Answers the profiles.

ArgumentTypeRequiredDefaultWhat it is
namestringyes—The profile's name, as profiles_list answers it.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "profile_use",
    "arguments": {
      "name": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def profile_use(self, name: str) -> Dict[str, Any]

JavaScript

client.settings
profileUse(args)

C#

client.Settings
public Task<JsonNode?> ProfileUse(string name, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) ProfileUse(ctx context.Context, args SettingsProfileUseArgs) (any, error)

Java

client.settings
public Object profileUse(ProfileUseArgs args)

C++

client.settings
Json profile_use(const ProfileUseArgs &args)

Julia

client.settings
profile_use = (name)

R

client$settings
`profile_use` = function(name)

Rust

client.settings()
pub fn profile_use(&self, args: SettingsProfileUseArgs) -> Result<Value, Error>

profiles_list#

Read the settings profiles

readplan: freesince 3.7.0reads only

Answers the account's settings profiles, as Settings > Profiles lists them: each one's name, whether it is in use, when it last changed and when it was last synced, and where they are kept (this computer, or Bentrix's server too on Plus and Pro). A profile holds every setting, default and template, never the work.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "profiles_list",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def profiles_list(self) -> Dict[str, Any]

JavaScript

client.settings
profilesList(args)

C#

client.Settings
public Task<JsonNode?> ProfilesList(CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) ProfilesList(ctx context.Context) (any, error)

Java

client.settings
public Object profilesList()

C++

client.settings
Json profiles_list()

Julia

client.settings
profiles_list = ()

R

client$settings
`profiles_list` = function()

Rust

client.settings()
pub fn profiles_list(&self) -> Result<Value, Error>

settings_get#

Read the settings

readplan: freesince 1.0.0reads only

Answers the settings an agent may read: the theme, the network route (automatic, direct or proxy) and the proxy's address without its password, and the folder agents' exports go to.

Takes no arguments.

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "settings_get",
    "arguments": {},
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def get(self) -> Dict[str, Any]

JavaScript

client.settings
get(args)

C#

client.Settings
public Task<JsonNode?> Get(CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) Get(ctx context.Context) (any, error)

Java

client.settings
public Object get()

C++

client.settings
Json get()

Julia

client.settings
get = ()

R

client$settings
`get` = function()

Rust

client.settings()
pub fn get(&self) -> Result<Value, Error>

settings_set#

Set a setting

adminplan: freesince 1.0.0

Sets one setting through its own control's door: theme (night or day), adjusted_prices (on or off: charts on adjusted prices), route (automatic, direct or proxy), proxy_url (an address with no password - a password is never set by an agent) or exports (an absolute folder, or default). Answers the settings.

ArgumentTypeRequiredDefaultWhat it is
keystringyes—
valuestringyes—

MCP

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "settings_set",
    "arguments": {
      "key": "…",
      "value": "…"
    },
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Python

client.settings
def set(self, key: Literal["theme", "adjusted_prices", "route", "proxy_url", "exports"], value: str) -> Dict[str, Any]

JavaScript

client.settings
set(args)

C#

client.Settings
public Task<JsonNode?> Set(string key, string value, CancellationToken ct = default)

Go

client.Settings
func (a *SettingsAPI) Set(ctx context.Context, args SettingsSetArgs) (any, error)

Java

client.settings
public Object set(SetArgs args)

C++

client.settings
Json set(const SetArgs &args)

Julia

client.settings
set = (key, value)

R

client$settings
`set` = function(key, value)

Rust

client.settings()
pub fn set(&self, args: SettingsSetArgs) -> Result<Value, Error>

Bentrix 0.1.382Every number, name and default on these pages is read from the application itself.What is comingWhat changed