mcs-driver-rest
REST / OpenAPI driver for the Model Context Standard (MCS).
Parses any OpenAPI 3.x specification and exposes every endpoint as a structured tool that an LLM can call. Supports tag-based and path-based filtering for large APIs (e.g. GitHub, Stripe).
Installation
pip install mcs-driver-rest
Quick start
from mcs.driver.rest import RestDriver
driver = RestDriver(
url="https://api.example.com/openapi.json",
include_tags=["search"],
)
system_prompt = driver.get_driver_system_message()
Features
- Automatic tool discovery from OpenAPI specs
include_tags/include_pathsfiltering- Tool name sanitisation for LLM compatibility
- Interactive inspector CLI:
python -m mcs.driver.rest.inspector <URL>
Links
- Homepage: https://www.modelcontextstandard.io
- Source: https://github.com/modelcontextstandard/python-sdk
License
Apache-2.0
Metadata
Release files for mcs-driver-rest 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcs_driver_rest-0.3.2.tar.gz | 21.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcs_driver_rest-0.3.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.2 kB
Release files / mcs_driver_rest-0.3.2.tar.gz
| Download URL | mcs_driver_rest-0.3.2.tar.gz |
|---|---|
| Size | 21.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58f659c66118c241ed40f0e5b75017784039b4a4439a10653eb946d9cef929cf
|
|
BLAKE2b-256 checksum How to use checksums |
4241833c9ed94016d1d95e5180340d764b3020696a327694a12f77882bf87fac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / mcs_driver_rest-0.3.2-py3-none-any.whl
| Download URL | mcs_driver_rest-0.3.2-py3-none-any.whl |
|---|---|
| Size | 14.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
447077bde5c924f3ba68f6f6b42f849918e4347bbc6818b4337c9ab42e668021
|
|
BLAKE2b-256 checksum How to use checksums |
5d7027dae2901953f7a05380859b93a87e72cc622a30d5f7759219745b9043d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|