Skip to content

Release v1.2.0 - #46

Merged
Baraujo25 merged 2 commits into
mainfrom
development
Sep 10, 2026
Merged

Release v1.2.0#46
Baraujo25 merged 2 commits into
mainfrom
development

Conversation

@diego-ferrand

@diego-ferrand diego-ferrand commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces support for running Perfecto MCP over a streamable HTTP transport in addition to the default stdio mode. It adds per-request authentication using Bearer tokens, allows targeting multiple Perfecto clouds via request headers, and provides operator documentation for HTTP deployment. Several internal helpers and environment variable options are added to support flexible configuration and context resolution.

HTTP Transport & Authentication:

  • Added streamable HTTP transport, allowing MCP to serve multiple users and clouds concurrently via HTTP, with per-request Bearer authentication and cloud targeting using the Perfecto-Cloud-Name header. Includes unauthenticated health probe endpoints.

  • Implemented BearerAuthMiddleware for HTTP requests, parsing and attaching PerfectoToken from the Authorization header, and resolving the cloud name from headers or environment.

  • Updated error messages and documentation to clarify how security tokens and cloud names are provided in HTTP mode (headers) versus stdio (env vars or files).

Build & Packaging:

  • Updated build.py to ensure all necessary uvicorn submodules are collected for PyInstaller packaging, supporting the new HTTP transport.

Scriptless Formatter Improvements:

  • Improved AI scriptless formatter documentation and argument handling, including clearer parameter validation, help text, and display logic for command arguments and loop/condition steps.

Token Handling:

  • Added from_bearer_credentials to PerfectoToken for parsing tokens from HTTP headers.

Documentation:

  • Added docs/hosted-http.md with detailed operator and client instructions for HTTP deployment, including environment variables, configuration, and limitations.

These changes collectively enable MCP to run in modern cloud and multi-tenant environments with robust, per-request authentication and configuration.

3dgiordano and others added 2 commits September 2, 2026 15:26
* Update uv.lock

* Initial Transport support

* Streamable HTTP support

* Extract HTTP bind settings from MCP server construction.

---------

Co-authored-by: diego-ferrand <diego.ferrand@abstracta.com.uy>
* Better handling of ambiguity in arguments

* Update tests

* Update uv.lock version

* Better handling of ambiguity in arguments

* Accept arguments as a cmd_arguments alias and cover normalize_action_args.

* Enhancements to AI Scriptless (#45)

* Support dual store and data type

* Improve status, condition and error policy

* Support condition statement and error policy

* Variable, command contract and validations

* Update hint notes

* Contract and others improvements

* Contract/spec and improvements

---------

Co-authored-by: diego-ferrand <diego.ferrand@abstracta.com.uy>
@Baraujo25 Baraujo25 changed the title Development Release v1.2.0 Sep 10, 2026
@Baraujo25
Baraujo25 merged commit 11dce56 into main Sep 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants