Skip to main content

abstract-toolserver

Abstract Toolserver makes host tools available through HTTP and a stdio MCP bridge. It combines the portable Hugpy Tools catalog with persistent services for sessions, messages, ledgers, handoffs and capability providers.

Installation

Use Python 3.11 or later. The base distribution provides the client. Install the server extra on the host that will serve tools.

python -m pip install 'abstract-toolserver[server]'

Quick start

Configure TOOLSERVER_OPERATOR_TOKEN in the service environment, then start the local Flask service.

abstract-toolserver serve --host 127.0.0.1 --port 7004

From another terminal, check liveness and inspect the endpoint catalog with the configured credential.

curl -fsS http://127.0.0.1:7004/healthz
curl -fsS -H "Authorization: Bearer $TOOLSERVER_OPERATOR_TOKEN" http://127.0.0.1:7004/endpoints

Client connections

abstract-toolserver endpoint --json reports the advertised local endpoint. abstract-toolserver ensure finds or starts the host service. MCP clients can launch abstract-toolserver-mcp as a stdio subprocess with the Toolserver URL and operator token in its environment. The bridge exposes the tools returned by the service.

Capabilities and access

The endpoint catalog describes the tools installed on this host. Backend extras include documents, images, render, postgres and fileshare. Browser and desktop operations require their corresponding host runtimes. Clients can use the public health probe for readiness and authenticated discovery to select a tool.

The operator credential grants access to protected routes. Provide it only to trusted clients and keep it out of request URLs and logs. Shared channel links and enrolled clients use their own scoped credentials. For the per-host terminal console, run toolserver.

Application integration

A Python host can construct the Flask application directly:

from abstract_toolserver import get_toolserver_app

app = get_toolserver_app()

Inspect the catalog before selecting an operation so the client uses the inputs advertised by the running service. Session, channel and ledger data are stored by Toolserver. The browser, media and document backends expose their own runtime capabilities through the same catalog.

Metadata

Release files for abstract-toolserver 0.0.123

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

Source distribution (sdist)

Source distribution for abstract-toolserver 0.0.123
File Size Uploaded Provenance Actions
abstract_toolserver-0.0.123.tar.gz 601.3 kB Without provenance Details for abstract_toolserver-0.0.123.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abstract-toolserver 0.0.123
File Interpreter ABI Platform Actions
abstract_toolserver-0.0.123-py3-none-any.whl Python 3 none any Details for abstract_toolserver-0.0.123-py3-none-any.whl

Total release size: 1.1 MB

Release files / abstract_toolserver-0.0.123.tar.gz

Download URL abstract_toolserver-0.0.123.tar.gz
Size 601.3 kB
Tags Source
SHA-256 checksum
How to use checksums
66286bbc2da65d9db330296e947ff028039e6931ae5c991511faa0402e2463f9
BLAKE2b-256 checksum
How to use checksums
74e8ac6491828a1ad92990b8a7d8c23ac4378aefdf1684166cc16a0e38c2db7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / abstract_toolserver-0.0.123-py3-none-any.whl

Download URL abstract_toolserver-0.0.123-py3-none-any.whl
Size 517.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adb5ec756ed85d0ef68a7dcb2da5a140c8cdcaa74eb6194dfcd4db69ea5d53c9
BLAKE2b-256 checksum
How to use checksums
e7484cc92bd063103b5421b3615951769ed622ebae797fc8eba78ff8aba6059d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for abstract-toolserver 0.0.123

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.123 This release

2 release files No provenance

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