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.122

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.122
File Size Uploaded Provenance Actions
abstract_toolserver-0.0.122.tar.gz 596.0 kB Without provenance Details for abstract_toolserver-0.0.122.tar.gz

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / abstract_toolserver-0.0.122.tar.gz

Download URL abstract_toolserver-0.0.122.tar.gz
Size 596.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1f23418a93b94ab3a442775d8c05774e21860d73756e45bd650e06469eb4fdaf
BLAKE2b-256 checksum
How to use checksums
e7dae20eeb2e5d90fe4bdb33760482978591cc65aab68279c174ce16c35009ef
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.122-py3-none-any.whl

Download URL abstract_toolserver-0.0.122-py3-none-any.whl
Size 514.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae012aa3842cd92c76ab7b2c27a22b8aa1b66f4203e8d9d54208aef562bc2a31
BLAKE2b-256 checksum
How to use checksums
e139276551ab71bca69c4ed3c6aa16e5704948b355c5162531bb1a4fd38aec99
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.122

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.122 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