Repository navigation
Conversation
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
The reason can end with a long ffmpeg log. This also applies to the upload tools, which wait for the result the same way. Co-Authored-By: Claude Opus 5 <[email protected]>
Clients built on the MCP TypeScript SDK cancel a tool call after 60 seconds by default. Co-Authored-By: Claude Opus 5 <[email protected]>
The API gives no total, so a full page may be the last one. Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Video jobs always get a Deepfakes client from _api, which mypy can't see, so ignore union-attr on the three lines that call video methods. Co-Authored-By: Claude Opus 5 <[email protected]>
Co-Authored-By: Claude Opus 5 <[email protected]>
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||
lefteris12
reviewed
Sep 22, 2026
lefteris12
reviewed
Sep 22, 2026
lefteris12
reviewed
Sep 22, 2026
… section - Pass --python ">=3.10" to uvx; it fails when the default Python is older. ">=3.10" uses any installed newer Python; "3.10" would download 3.10. - Add Codex setup with codex mcp add. - Move the uvx and pip run commands to "Running the MCP server manually" at the end; the assistant setups don't need them. Co-Authored-By: Claude Opus 5 <[email protected]>
lefteris12
approved these changes
Sep 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Adds an optional MCP server, so AI assistants (Claude Code, Claude Desktop, Cursor) can use the Behavioral Signals API directly. Also adds files that help coding agents work in this repo.
behavioralsignals-mcpcommand. Install withpip install "behavioralsignals[mcp]", or run withuvx --from "behavioralsignals[mcp]" behavioralsignals-mcp. It readsBEHAVIORALSIGNALS_CIDandBEHAVIORALSIGNALS_API_KEY.analyze_behavior: uploads audio (a local file or an S3 presigned URL) for behavioral analysis.detect_deepfake: uploads audio or video for deepfake detection.get_result: returns a process's results in pages, optionally only for some tasks.list_processes: lists processes, newest first, with the reason when one failed.wait_seconds(45 by default). If the job takes longer, they return the pid, and the assistant callsget_resultlater.mcpis an optional extra (mcp>=2.2.0,<3). The SDK never imports it, so normal installs are unchanged.AGENTS.md(repo map, commands, rules), and aCLAUDE.mdthat points to it.After merging:
uvxcommand installs 0.6.0, which has no MCP server.uv lock, fix a small README badge conflict, and change the setup line inAGENTS.mdtouv sync -p 3.10 --extra dev.Related issue or ticket
ALTO-5540
How it was tested
tests/test_mcp_server.py. They use an in-memory MCP client and a fake SDK client, so there are no API calls and no credentials. Full suite: 94 passed.ruff checkandruff format --checkpass.behavioralsignals-mcpover stdio. It lists the 4 tools, andlist_processeswithout credentials returns a clear "Missing cid" error.Checklist
ruff check,ruff formatandpytestREADME.mdandexamples/, if usage changed (README only; SDK usage is unchanged)versioninpyproject.toml, if this needs a release