Skip to content

Set up the Dockview integration

This page stands up, on your own machine, a development deployment of Open Meridian with Dockview's panel layouts running as one of its plugins, the desk: a blotter of orders, placements and fills, positions, a watchlist, a price chart and an instrument picker, in panels you dock, tab and float. It is read-only and places no order. The data is your deployment's own: reference rates from the European Central Bank, and plugin-truefx's sample data, which is made up, for the chart's bars.

Give a coding agent this page's address. It runs the steps marked Agent and hands you each step marked You.

You need a deployment on chart 0.1.632 and CLI 0.1.61; a plugin you build needs SDK 0.37.1.

For the agent

  • Work through the steps in order. Before each, run its check: if it passes, the step is done, so skip it. Every step is safe to run again.
  • At a step marked You, stop. Tell the person what to do and why only they can, wait until they say it is done, then run its check.
  • Never type, read or ask for a password, a code or a key, and never take a step that spends money.
  • Pass --yes to meridian plugin launch only after the person has approved the roles you showed them.
  • A command that exits 3 needs the person to run meridian connect.

What you need

  • macOS or Linux, with Docker and git.
  • A Kubernetes cluster on this machine with an ingress controller, such as Rancher Desktop, Docker Desktop or k3s, with kubectl pointing at it, and helm 3.14 or newer.
  • An account on https://open-meridian.com. Signing up is free.

1. Check this machine

Agent.

meridian --version

If meridian is not found, install it. It goes in ~/.local/bin and needs no sudo:

curl -fsSL https://open-meridian.com/install | sh

Then check Docker, the cluster and everything an install needs:

docker version --format '{{.Server.Version}}'
kubectl config current-context
meridian doctor

Check: meridian --version says 0.1.61 or later, Docker prints a version, and meridian doctor ends doctor: nothing here would stop an install. For each line it marks stops, do what it says and run it again. If there is no cluster at all, hand over to the person: installing one is theirs.

2. Register the deployment

You. Only you can make an account on the platform and take a code it issues.

  1. Sign in at https://open-meridian.com, or sign up, and open a project where you are an Owner or Admin.
  2. Open Deployments, choose Register deployment, name it, and choose Register.
  3. Copy its identifier, which starts DEP-, and give it to your agent.
  4. On the deployment's menu, choose Issue enrolment code. It is shown once and lasts a day. Keep it to yourself: it is a credential, and you use it in the next step.

Agent: stop here and ask the person for the DEP- identifier. Never ask for the code.

3. Install the deployment

You. Run this in your own terminal: it reads the enrolment code from your environment, and it may ask you to trust this machine's certificate authority, which on macOS asks for your password.

export MERIDIAN_ENROLMENT_CODE=ENR-XXXX-XXXX-XXXX
meridian up --id DEP-XXXXXXXXXXXXXXXXXXXXXXXXXX --development --no-archive --chart-version 0.1.632

--development lets plugins run code as it is written, which nobody has reviewed. Never use it on a deployment your firm depends on. See Development deployments.

Agent: before the person runs it, check whether it is done already:

meridian status

Check: broker, conductor, dashboard and first-run are 1/1 and key is Completed. Until the next step, street, instrument and migrate stay in CreateContainerConfigError; that is expected.

4. Answer the first-run wizard

You. The wizard makes your account and sets your password, and its code comes from the platform.

  1. On the platform, check the deployment shows Connected, then choose Issue first-run code on its menu.
  2. Open https://meridian.localhost/first-run. Check that the fingerprint it shows matches the platform's, enter the code, and choose Continue.
  3. Database: Start one inside this cluster.
  4. Signing in: We have no directory: make me an account, with a password of at least 12 characters.
  5. Address: https://meridian.localhost.
  6. Review and apply: choose Test, fix what it names, then Apply.

Check (agent): a couple of minutes after Apply, meridian status shows every component ready.

5. Sign the CLI in

You. It signs in through your browser, so an agent cannot.

meridian connect

Sign in, then choose Allow to let the CLI on this computer act as you. Every command your agent runs after this acts on that delegation, recorded as yours.

Check (agent):

meridian plugin list

It exits 0. Exit 3 means not connected: ask the person to run meridian connect again.

6. Connect your agent to the deployment

You. Signing in and consenting are yours.

  1. In your agent, add the deployment's MCP surface as a connector, at https://meridian.localhost/mcp. If your agent has to restart to load it, start it again with this page's address: every step already done passes its check.
  2. Sign in when it asks. On Allow a client to act as you, choose everything you hold, as that changes, or tick Deployment admin and each plugin this page launches.

Check (agent): the deployment's tools are listed to you, and dashboard__list_plugins answers. If your agent cannot use an MCP connector, each later step that names a tool says what the person does instead, on the dashboard at https://meridian.localhost.

7. Bring in the ECB's reference rates

Agent, with the person's yes to the plugin's role. plugin-ecb records the European Central Bank's euro reference rates. It needs no key and no account.

[ -d plugin-ecb ] || git clone --quiet --depth 1 --branch v0.6.1 https://github.com/open-meridian/plugin-ecb.git
meridian plugin list

Unless Versions: lists ecb 0.6.1, upload it. It builds the image with Docker:

meridian plugin upload --dir plugin-ecb

Unless Launches: lists ecb ecb 0.6.1 launched, tell the person it asks for one role, data, which records a vendor's data in the deployment, and wait for their yes. Then:

meridian plugin launch ecb 0.6.1 --instance ecb --yes

Check: meridian plugin list lists ecb ecb 0.6.1 launched.

8. Bring in TrueFX's prices and bars

Agent, with the person's yes to the plugin's role. plugin-truefx records TrueFX's FX prices, and each pair's day as a bar. It needs no key and no account. Leave its one secret setting, a TrueFX username, empty.

[ -d plugin-truefx ] || git clone --quiet --depth 1 --branch v0.7.1 https://github.com/open-meridian/plugin-truefx.git
meridian plugin list

Unless Versions: lists truefx 0.7.1, upload it:

meridian plugin upload --dir plugin-truefx

Unless Launches: lists truefx truefx 0.7.1 launched, tell the person it asks for one role, data, which records a vendor's data in the deployment, and wait for their yes. Then:

meridian plugin launch truefx 0.7.1 --instance truefx --yes

Check: meridian plugin list lists truefx truefx 0.7.1 launched.

9. Switch on plugin-truefx's sample data

Agent. On a development deployment, plugin-truefx offers sample data: a made-up feed and the history files it carries, in place of TrueFX, so the chart has bars at once. Read the settings with dashboard__read_plugin_settings for truefx, then call dashboard__set_plugin_settings with plugin_instance_id truefx, value {"sample_data": true}, against_updated_at_ns as read, and a note saying why. With no MCP connection, the person does it: Manage on truefx, Settings, Sample data on, a note, Save.

Check: dashboard__read_plugin_settings for truefx shows sample_data true.

10. Get the integration

Agent.

[ -d dockview ] || git clone --quiet --depth 1 --branch open-meridian https://github.com/open-meridian/dockview.git
sed -n 's/^version = "\(.*\)"/\1/p' dockview/open-meridian/plugin/pyproject.toml

Check: it prints 0.1.2.

11. Build its front end

Agent. This builds the desk's front end into the plugin, inside Docker. It takes a few minutes.

dockview/open-meridian/ci/frontend.sh

Check: it ends frontend: built into open-meridian/plugin/web, and dockview/open-meridian/plugin/web/index.html exists. Skip the step when that file does.

12. Upload and launch it

Agent, with the person's yes to the plugin's role.

meridian plugin list

Unless Versions: lists desk 0.1.2, upload it:

meridian plugin upload --dir dockview/open-meridian/plugin

Unless Launches: lists desk desk 0.1.2 launched, tell the person it asks for one role, reporting, which reads the book, the lake and the master and records nothing. Wait for their yes, then:

meridian plugin launch desk 0.1.2 --instance desk --yes

Check: meridian plugin list lists desk desk 0.1.2 launched.

13. License the datasets and give yourself access

You. Only a person who has read the vendor's terms records them, and no tool changes who holds access. In the dashboard at https://meridian.localhost, open Settings, the gear at the top right.

  1. Data sources, Datasets: on ecb:ecb_fx, then on truefx:daily, choose Licence. Hover its vendor to read the terms as the plugin describes them, tick what they allow, add a note, and Save.
  2. Access groups, + Add: name it Desk read, set Read on desk's row, reporting, and choose Create.
  3. Permissions, + Add: User group Deployment admins, On accounts All accounts, Access Desk read, and choose Grant.

Check (agent): at least 30 seconds after the grant, this prints a link and exits 0:

meridian plugin open --instance desk --level view

14. Entitle the desk to the datasets

Agent. For each of ecb:ecb_fx and truefx:daily, call dashboard__set_dataset_entitlement with that dataset, instance desk, allowed true and a note saying why. With no MCP connection, the person does it: on Data sources, each dataset's Entitle, instance desk, a note, Save.

Check: dashboard__list_datasets lists desk among the entitlements of both.

15. See the data

Agent. Call desk__read_instrument with query EUR/USD. Pass the pair it finds, its base and quote, to desk__read_latest_price and to desk__read_bars.

Check: the pair is found, the latest price comes with its time and dataset, and there are bars. With no MCP connection, go on to the person's check.

You. Open the link meridian plugin open --instance desk --level view prints, or choose View on desk on the dashboard's home. Pick EUR/USD: the watchlist shows its latest price with its time, and the chart its daily bars. The blotter and positions are empty until an account you may read holds orders.

If something is not right

Each panel that cannot read says why rather than showing an empty table:

It says Do
Refused: This plugin is not entitled to … Step 14.
The deployment's master holds nothing for EUR/USD … Step 14, then wait a few minutes after steps 7 and 8.
No bars Step 9; the chart asks again every 30 seconds.

For anything else, see Troubleshoot an install, and the integration's own README.

Dockview is licensed under MIT, and OpenAlgo Charts, which draws the chart, under Apache-2.0. TrueFX is a trademark of Integral Development Corp. This integration is not affiliated with or endorsed by Dockview's authors, OpenAlgo, TrueFX or Integral. It is not affiliated with or endorsed by the European Central Bank.