Connect lab instruments to AI assistants
Project description
teasel
Connect lab instruments to AI assistants.
teasel is a CLI and TUI for configuring which instruments are available to your AI assistant. It browses the community instrument registry, prompts for connection details, and writes a .mcp.json file that Claude Code (or any MCP-compatible assistant) picks up automatically.
Quick start
uvx teasel
This opens the interactive TUI. Browse instruments, select one, enter your connection details, and the config is written.
CLI commands
# Add an instrument (prompts for required config)
uvx teasel add lecroy-wavesurfer
# Add with config inline
uvx teasel add lecroy-wavesurfer --set LECROY_HOST=192.168.1.111
# List configured instruments
uvx teasel list
# Remove an instrument
uvx teasel remove lecroy-wavesurfer
# Regenerate .mcp.json from saved state
uvx teasel apply
What it generates
teasel writes a .mcp.json in the current directory:
{
"mcpServers": {
"lab": {
"command": "uvx",
"args": ["teasel-server"],
"env": {
"LECROY_HOST": "192.168.1.111",
"PM5190_PORT": "/dev/ttyUSB0"
}
}
}
}
Claude Code reads this file and starts teasel-server automatically. You only need to run teasel once per project, or whenever your instrument setup changes.
Instrument state
Configured instruments are saved to ~/.config/teasel/instruments.toml. Running teasel apply in any directory regenerates .mcp.json from this state.
License
AGPL v3 — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file teasel-0.2.8.tar.gz.
File metadata
- Download URL: teasel-0.2.8.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d928c999dd0c248b3d84aca6390a923db23822dd9bb08004968a86ddf5415c00
|
|
| MD5 |
04979a62180c4d5192158efa5fa3cadb
|
|
| BLAKE2b-256 |
f9c1a2101bb4500f3b74a9372b7225c9244f9c41acf5a2901f32f4c82c12e68a
|
Provenance
The following attestation bundles were made for teasel-0.2.8.tar.gz:
Publisher:
release.yml on teasel-tools/teasel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
teasel-0.2.8.tar.gz -
Subject digest:
d928c999dd0c248b3d84aca6390a923db23822dd9bb08004968a86ddf5415c00 - Sigstore transparency entry: 1438233794
- Sigstore integration time:
-
Permalink:
teasel-tools/teasel@301b7f1510914bcf3eab0c87815a40f7019857e6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/teasel-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@301b7f1510914bcf3eab0c87815a40f7019857e6 -
Trigger Event:
push
-
Statement type:
File details
Details for the file teasel-0.2.8-py3-none-any.whl.
File metadata
- Download URL: teasel-0.2.8-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef16b6b487027a22ef8f04ccce1eb5c380b4e068e8fdd0c39389828ada7d77e4
|
|
| MD5 |
cdeed5f18653848ce9e75bdb8c10fd55
|
|
| BLAKE2b-256 |
21216db78ffff311ef23247d24f8e183bb3e21de804ab1804f006d584377e5b2
|
Provenance
The following attestation bundles were made for teasel-0.2.8-py3-none-any.whl:
Publisher:
release.yml on teasel-tools/teasel
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
teasel-0.2.8-py3-none-any.whl -
Subject digest:
ef16b6b487027a22ef8f04ccce1eb5c380b4e068e8fdd0c39389828ada7d77e4 - Sigstore transparency entry: 1438233879
- Sigstore integration time:
-
Permalink:
teasel-tools/teasel@301b7f1510914bcf3eab0c87815a40f7019857e6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/teasel-tools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@301b7f1510914bcf3eab0c87815a40f7019857e6 -
Trigger Event:
push
-
Statement type: