Skip to content

Commit e342c8e

Browse files
mcp and custom models
1 parent b7c65e0 commit e342c8e

File tree

2 files changed

+53
-0
lines changed

2 files changed

+53
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
title: Custom bioreactor models
3+
slug: /custom-bioreactor-models
4+
---
5+
6+
:::tip
7+
This feature is actively under development - let us know what else you would like to see!
8+
:::
9+
10+
If you are building a novel bioreactor on top of our software, you can use the `~/.pioreactor/models` dir to add your own bioreactors. For example, add the following to `custom_100ml.yaml` in `~/.pioreactor/models`:
11+
12+
```yaml
13+
model_name: custom_100ml
14+
model_version: "1.0"
15+
display_name: "Custom 100 mL, v1.0"
16+
reactor_capacity_ml: 100.0
17+
reactor_max_fill_volume_ml: 95.0
18+
reactor_diameter_mm: 50.0
19+
max_temp_to_reduce_heating: 80.0
20+
max_temp_to_disable_heating: 85.0
21+
max_temp_to_shutdown: 90.0
22+
```
23+
24+
The UI's Inventory page should now show a this option in the model-selection dropdowns.
25+
26+
These values can be accessed throughout our software via `pioreactor.whoami.get_pioreactor_model()`.
27+

user-guide/30-Advanced/10-MCP.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: MCP and AI integrations
3+
slug: /mcp
4+
---
5+
6+
:::danger
7+
8+
Heads up! Giving AI agents control of your bioreactor is a big risk!
9+
10+
:::
11+
12+
The Pioreactor has the ability to allow authorized AI agents to control your cluster. This is possible because the Pioreactor has an MCP server running on it. The MCP server tells the AI agent what tools are available (running jobs, updating jobs, finding data, etc), and the the Agent uses those tools to help it accomplish their goals.
13+
14+
The MCP server's SSE endpoint url is
15+
16+
```
17+
http://<leader-address>/mcp/
18+
```
19+
20+
If running the Agent locally, you may need to use a tool like mcp-proxy to bridge between HTTP and STDIO.
21+
22+
:::tip
23+
24+
This is very new! Let us know if you have any questions, ideas, or issues!
25+
26+
:::

0 commit comments

Comments
 (0)