-
Notifications
You must be signed in to change notification settings - Fork 2
feat: implement photoshop mcp #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…ation: Introduce new exception classes for Photoshop MCP Server, enhancing error handling capabilities, and update the Blender MCP error documentation for consistency.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…unication, replace socket implementation with WebSocket handling, and remove legacy Photoshop plugin code. Enhance client connection management and command handling for improved interaction with Photoshop.
…buttons for adding rectangles and circles, along with a color picker for shape customization. Update styles for better UI consistency and enhance JavaScript logic to handle shape creation using Photoshop's batchPlay API.
…executing scripts received from the MCP, including error handling and logging. Introduce new functions for executing UXP JavaScript code and sending execution results back to the server. Update existing error handling for improved clarity and maintainability.
|
@CodeRabbit start review |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 1198 🏁 Script executed: Length of output: 3733 🏁 Script executed: Length of output: 46757 @jeevanpillay I've completed my review of PR #3 "feat: implement photoshop mcp". Here's my assessment: OverviewThis PR implements a Model Context Protocol (MCP) integration for Adobe Photoshop, enabling AI models to control and interact with Photoshop. The implementation consists of a Python server and a Photoshop UXP addon that communicate via WebSockets. Strengths
Suggestions for ImprovementPython Server
Photoshop Plugin
General Recommendations
ConclusionThis PR provides a solid foundation for Photoshop integration with the Model Context Protocol. With a few minor adjustments, it will be ready to merge. The architecture is sound and follows good practices. |
…nd button names for clarity, enhance connection status messaging, and improve error handling in server communication. Introduce functionality to retrieve document details from Photoshop, adapting existing logic for better integration with the MCP.
…ted message processing for individual clients, improve error handling and logging, and ensure proper cleanup of connections. Enhance connection management to prevent duplicate client entries and streamline response handling for commands.
…on checks and enhance logging for better diagnostics. Temporarily bypass problematic state checks while maintaining connection status reporting.
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…clarity of log messages by enhancing formatting and ensuring consistent error propagation. Streamline connection management and response handling for better diagnostics and maintainability.
…c tests for connection handling, command execution, and error scenarios. Introduce fixtures for mock WebSocket connections and client management, ensuring robust testing of server functionalities and error handling in various conditions.
…nate buttons and associated JavaScript logic for adding rectangles and circles, streamlining the UI and reducing complexity in the main script.
… the installation section to enhance documentation and provide users with clearer guidance on available applications.
* main: Update Python version classifiers in pyproject.toml: Add support for Python 3.10, 3.11, 3.12, and 3.13 to enhance compatibility and clarity. Update GitHub Actions CI workflow: Simplify test command by removing the Python module prefix for improved readability. Fix GitHub Actions CI workflow: Update test command syntax for improved compatibility with matrix Python versioning. Enhance GitHub Actions CI workflow: Add fail-fast option and improve test step naming for clarity, specifying Python version in the test run command. Improve error handling in BlenderConnection: Enhance JSON error messages by adding clarity and formatting for malformed responses in `blender_mcp_server.py`. Refactor BlenderConnection and mock_server: Update type hints to use union types for optional parameters and improve error handling in JSON response processing. Update Nox configuration and CI workflow: Set Python version to 3.12 for linting, type checking, and building sessions in `noxfile.py`. Enhance GitHub Actions workflow to include dedicated jobs for linting and building with the specified Python version. Remove Photoshop documentation: Deleted the `photoshop.mdx` file to streamline the documentation and remove outdated content related to Lightfast MCP integration with Photoshop. ⬆️: migrate config renovate.json ⬆️ Update rinchsan/renovate-config-validator action to v0.2.0 Implement renovate.json and workflow file for testing and onboarding Update development setup and requirements: Modify Python version requirement to 3.10 in `pyproject.toml`, `DEV.md`, and `README.md`. Add Nox for automated testing and development tasks, including detailed instructions in `DEV.md`. Update CI workflow to support multiple Python versions and integrate Nox for linting, type checking, testing, and building.
Implements #1