# benchling-tools

> Manage Benchling notebook entries, results, and containers with safe, previewed writes via CLI or MCP.

benchling-tools is a free AI agent skill on Agensi by John Amodeo, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [John Amodeo](https://www.agensi.io/creators/john-amodeo)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/benchling-tools
- Tags: automation, api, research, benchling, eln, cli, mcp, lab-notebook

## About this skill

Unofficial. Not affiliated with or endorsed by Benchling, Inc.

benchling-tools is a JSON-first command-line tool for a Benchling notebook, also mirrored as a local MCP server. Coding agents and people can list, read, and export entries, containers, tables, and assay results, and can preview a change as an immutable local plan before applying it.

Install the `benchling-tools` package (Python 3.11+), then save an environment with `benchling-tools auth login --env NAME`. The client secret stays in the OS keychain and is never a command argument. There is no default environment: pass `--env NAME` on every API command. The MCP server is read-only unless it was started with `--allow-writes ENV`.

The results table must exist in the entry before results can be written to it. Check with `results tables`, create a missing table with a document plan, then plan the results. A results plan against a missing table fails at plan time with `results_table_missing` and saves nothing; the table insert is a separate write that needs its own approval. Newly created results land as pending and must be accepted in the Benchling table; the public API has no call for that accept step.

`results list --include-pending` and `results diff --include-pending` include pending results from this environment. `results rows` has no pending option.

A labeled Comments area is not always a text box. `text_boxes` lists only text-box parts. If Comments is a heading followed by paragraphs, find that heading in `entry inspect` and read the paragraphs with `section get` or `part get`.

This toolkit uses the public Benchling HTTP API only and does not drive a browser. It has no public Python API; for Python scripts, use the official Benchling SDK.

## Requires

- Python 3.11+
- uv (Python tool runner)
- benchling-tools
- benchlingtk
- benchling-toolkit

## Known limitations

- Requires a saved Benchling app environment (tenant URL, client ID, and a client secret in the OS keychain). It will not work until the person has run `auth login`.
- Does not sign, submit, or accept results in the Benchling UI. Accepting pending results is a review step for a person.
- Does not automate the Benchling website.
- Writes only go through `changes apply` after the person accepts a specific plan id, and only when the MCP server was started with `--allow-writes` for that environment.
- Identifiers in the skill examples are placeholders, not records from any tenant.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the benchling-tools skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Is this an official Benchling product?

No. It is unofficial and not affiliated with or endorsed by Benchling, Inc.

### Where do credentials go?

The person runs `benchling-tools auth login --env NAME` in their own terminal. The client secret is stored in the OS keychain, not in the skill files.

### Why did a results plan fail with results_table_missing?

The entry has no results table for that schema. Create the table first with a document plan, then plan the results. That table insert is a separate write and needs its own approval.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
