Skip to main content

salpa-mcp

Let your own AI agent drive your own Salpa, over the Model Context Protocol.

Salpa runs scientific workflows (molecular simulation, docking and similar) on your computer, one step per node on a canvas. With salpa-mcp, an agent you already use can list Salpa's workflow templates, prepare a workflow from one, change its steps' settings, run it, and read what each step made, through the same local API the app's own window uses.

Setting it up

Add it to your agent's MCP configuration as a stdio server, with the command:

uvx salpa-mcp

For example, in a client that reads an mcpServers table:

{
  "mcpServers": {
    "salpa": { "command": "uvx", "args": ["salpa-mcp"] }
  }
}

Start Salpa before you ask your agent to use it. salpa-mcp reaches the Salpa running on this computer, as you, on port 18000 unless SALPA_PORT or SALPA_APP_URL says otherwise. When Salpa is not running, every tool says so.

It needs Python 3.10 or later, which uvx chooses for you, and Salpa 0.12.0 or later. Changing a step's settings (set_node_options) needs Salpa 0.15.0 or later.

The tools

Tool What it does
list_templates The workflow templates Salpa offers, and whether each one's packages are installed
list_nodes The steps installed in Salpa, with their default settings; optionally filtered
load_template Prepare a new workflow from a template, in a folder you name
read_workflow A workflow's steps, their settings, the links between them, its folder
set_node_options Change settings of one step of a workflow that is not open in Salpa
run Run a workflow, or one step of it
job_status Where a run stands
history The latest runs of a workflow or of one step
outputs The files a step's run made
cancel Stop a run

What it will not do

  • Change a workflow you have open in Salpa. Salpa's canvas keeps its own copy of a workflow it has open, and would put the change back. Salpa refuses the edit, and the tool tells your agent to ask you to close the workflow's tab, or to make the change in Salpa.
  • Reach anything but your own Salpa. It talks only to the app on this computer, with the app's per-launch local API token, which only you can read and which it sends only to the app that issued it.

A run starts work on your computer, and a cloud step (Salpa Compute) uses your account's Salpa Compute allowance. salpa-mcp tells your agent to ask you before it runs anything, and most agents also ask before each tool call.

Licence

Apache-2.0.

Metadata

Release files for salpa-mcp 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for salpa-mcp 0.1.1
File Size Uploaded
salpa_mcp-0.1.1.tar.gz 11.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for salpa-mcp 0.1.1
File Interpreter ABI Platform
salpa_mcp-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / salpa_mcp-0.1.1.tar.gz

Download URL salpa_mcp-0.1.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4989ef06de817a85efbfe85fae2a363539bacfb3e2edd747ba7c685f1f72fa87
BLAKE2b-256 checksum
How to use checksums
9355998105284aaeb70440aa97ed4dc92730ae84e037039d7855b4a0879b98fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / salpa_mcp-0.1.1-py3-none-any.whl

Download URL salpa_mcp-0.1.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81eb748015ab866d5c8419f18b32cb83c40ea9dea7ebe38692969bba09ec259a
BLAKE2b-256 checksum
How to use checksums
3dd8fdb3dcdcd2a47f27c1d1edfdf139ff6ffc68f25aee5754b077942e1bd657
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page