AnyEvent-MCP

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

	  sprintf and append source directly via sysread without extra argv.
	- raise sort_create/sort_page UID page maximum from 100 to 1000,
	  keeping the default at 100 and leaving message fetching and MOVE
	  batches capped at 100.
	- enable multibroker-managed idle exit in mcp-http and mcp-ask-user
	  after 300 seconds, and mcp-imap after 3600 seconds (mcp-fs already
	  supported 300 seconds). Retain ask-user continuations; disposable
	  IMAP SORT snapshots are lost on idle exit. Retry declined idle
	  shutdown after the interval.
	- add worker-local immutable UID SORT (SUBJECT DATE) snapshots for
	  subject-grouped classification: sort_create returns the first 100
	  UIDs, sort_page pages without re-sorting, sort_discard frees the
	  snapshot; one snapshot per worker, invalidated on restart.
	- expose read-only UID THREAD ORDEREDSUBJECT through mcp-imap:
	  group by base subject with optional SEARCH filter and UID range,
	  retaining the complete nested server order without pagination.
	- keep mcp-imap connections alive with an idle NOOP (250 seconds by
	  default, configurable via --keepalive, 0 disables); stop pinging
	  on failure, and reconnect on the next tool call without retrying
	  interrupted operations.
	- allow shell-friendly instance names (ASCII alphanumerics, underscore,
	  hyphen, dot, @ and +), with separate strict managed-user names.
	- fold small state-file locking and atomic replacement helper into
	  MCP.pm instead of a separate AnyEvent::MCP::File module.
	- make --ask a shared common option, with per-option exclusion;
	  add --ask none to deny unresolved permissions and decline
	  downstream elicitation without prompting.
	- document mcp-imap login keys individually in --help and manpage;
	  support tls connect/starttls/none (including explicit unencrypted IMAP)
	  and reset default ports on TLS mode changes.
	- report LOGINDISABLED with no supported SASL mechanism cleanly on
	  IMAP password login, without obscure Authen::SASL warnings.
	- add mcp_permissions to Simple: default permission engine, explicit
	  object or explicit undef; apply --ask and automatic rule overrides
	  centrally without dropping application-supplied automatic rules.
	- give mcp-fs writable private /tmp and /var/tmp (mode 1777) even
	  with world-read; only shared-tmp or world-write exposes host
	  temporary directories. Make world-write formally imply shared-tmp
	  for permission checks; document the private/host lifetime distinction.
	- add read-only mcp-imap previews for 25 UIDs, with bounded partial
	  MIME decoding, HTML link preservation and grouped IMAP FETCH calls.
	- allow mcp-imap messages to fetch selected UIDs without SEARCH.
	- actually truncate bounded IMAP part/raw responses to max_bytes,
	  not just flag them as truncated.
	- use a 15-second HTTP read-inactivity timeout by default, suspended
	  while processing complete requests; respect explicit handle rtimeout.
	- load MIME::Base64 in the HTTP server itself for encoded modern
	  Mcp-Name headers, without depending on the HTTP client loading it.
	- log ordinary HTTP 404 responses at trace rather than warn,
	  including GET /; keep other HTTP rejection warnings.
	- return 404 to GET / even when / is the MCP POST endpoint; drop
	  the unhelpful connection object address from HTTP rejection logs
	  while retaining the remote address and sanitized URI.
	- reuse the latest saved per-dimension scope as the next permission
	  rule editor's default where offered, otherwise keep the original
	  conservative choice; native, YAD and terminal forms agree.
	- handle the common token-only HTTP endpoint in warning logs:
	  redact known tokens without misclassifying unrelated paths.
	- include bounded, JSON-escaped request paths in rejected HTTP request
	  warnings; omit queries and redact configured and attempted URL tokens.
	- show captured helper status, stderr and stdout when the permission
	  UI test fails, and report remote file-patch results and file content
	  when the mock remote filesystem test fails (CPAN Testers diagnostics).

0.82  Fri 06 Nov 2026 15:53:46 CET
	- add a first-permission-dialog walkthrough to Intro.pod, explaining
	  one-time versus persistent grants, rule scopes and exec stdin risks;
	  correct its description of logical workdir IDs.
	- add common repeatable -s/--set KEY=VALUE process-local overrides
	  for trusted instance configuration, after program/instance defaults.
	- key remote mcp-fs host permissions by --host alone, independent of
	  --rsh; add independent local/remote host scopes (this host by
	  default, or all hosts), retaining old unscoped saved rules.
	  Workdir scopes remain plain paths, independent of host.
	- omit single-choice permission scope selectors from native, YAD and
	  terminal rule dialogs, automatically retaining the sole match in
	  saved rules without broadening their applicability.
	- log rejected HTTP requests (status 400 and above) with method,
	  status and peer information, without leaking URL tokens; demote
	  ordinary connection/TLS errors to trace.
	- do not warn on routine GET / requests; keep the normal 404
	  response without exposing a server-identification page.
	- preserve mcp-vim subprocess stderr when its JSONL initialization
	  fails, instead of hiding the failure behind EOF and SIGPIPE.
	- bootstrap remote mcp-fs over a short Perl command, streaming the
	  launcher source over stdin. Avoid rsh command length limits and
	  preserve worker input across exec by using exact sysread.
	- format mcp-fs sandbox grants, tools, trusted configuration keys
	  and permission action classes as individually searchable POD items.
	- give the mock remote filesystem test its running Perl interpreter
	  explicitly, rather than assuming it is in a fixed Unix PATH.
	- avoid locale-dependent TCP error strings in reverse-connection tests,
	  and skip mcp-imap provider CLI tests when optional fork modules
	  are unavailable while retaining standalone provider parser tests.

0.81  Thu 05 Nov 2026 04:51:59 CET
	- keep OAuth2 tests working without optional Mail::IMAPTalk,
	  IO::Socket::SSL or Authen::SASL; skip only worker-specific checks.
	- support optional `mount-try.SUFFIX = ro:/path` or `rw:/path` in
	  mcp-fs configuration. Pass these directly as bubblewrap
	  --ro-bind-try/--bind-try for each invocation, without startup path
	  checks, locally and remotely; required mount.* entries are unchanged.
	- support one remote host per mcp-fs instance with -h/--host and
	  -e/--rsh; resolve remote workdirs and available tools in a single
	  startup probe, then execute existing workers through a binary-framed
	  remote Perl launcher without installing any MCP modules remotely.
	- use logical absolute pathnames (without resolving symlinks) as compact
	  workdir IDs across hosts; qualify remote permission scopes independently.
	  Named profiles remain shared between instances. Report cached remote
	  VCS markers and remote umask.
	- reserve -h for application-specific options; --help remains common.
	- test remote workers, external GNU utilities, permission isolation,
	  shell argument quoting and startup probing using a mock remote shell
	  and bubblewrap, including unsandboxed/auto behavior. Verify matching
	  workdir IDs for identical logical paths across local and remote
	  instances.
	- make mock remote-agent tests independent of a local SSH_AUTH_SOCK
	  inherited from the test runner (including CPAN Testers).
	- document --eager when starting mcp-webbrowser through multibroker;
	  defer possible downstream preferences for --eager and --hidden.

0.8   Thu 05 Nov 2026 01:52:48 CET
	- INCOMPATIBLE CHANGE: due to the added user management, existing
          url tokens have been invalidated.
        - limit distribution permission normalization to its staging
          directory, and supply proper CPAN author and abstract metadata.
        - give shared command-line switches their own reference in
          Server::Simple; use individually indexed POD items for executable
          options and application-specific shared-option behavior.
        - refresh the introductory guide and mcp-imap/mcp-http manuals
          with first-use workflows, OAuth2 setup, mailbox/search examples
          and reverse-TLS troubleshooting; correct stale retry documentation.
        - extend mcp-imap SEARCH filters with recursive AND/OR/NOT, header,
          text/body, date, size and flag criteria; use explicitly quoted
          IMAP arguments and bounded filter complexity.
        - capture deliberately triggered connection errors in test assertions,
          avoiding noisy successful test runs.
        - expose IMAP LSUB to inspect subscribed mailboxes, alongside
          subscribe/unsubscribe; return the same format as LIST.
        - remove superseded IMAP OAuth provider and pagination prototypes
          and their obsolete reference tests.
        - defer outgoing mail submission research (mcp-smtp or mcp-imap)
          in TODO.md.



( run in 0.859 second using v1.01-cache-2.11-cpan-60884a8df76 )