AGENTS.md · alisaitteke/photoshop-mcp
AGENTS.md from alisaitteke/photoshop-mcp: 135 lines covering Entry strategy, Architecture (agent view), Recommended workflow, MCP client configuration and more.
Template by alisaitteke
Chalk Labs
Need help deploying AGENTS.md · alisaitteke/photoshop-mcp?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/alisaitteke/photoshop-mcp/master/AGENTS.md -o AGENTS.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documentation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
An AGENTS.md file: instructions coding agents (Codex, Cursor, Copilot, Gemini CLI and others) read before working in a repo.
- For
- Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Claude Code
- Length
- 135 lines
- File
AGENTS.md
Sections
- Entry strategy
- Architecture (agent view)
- Recommended workflow
- MCP client configuration
- Troubleshooting (common agent blockers)
- Distribution
- Key files
- Contributing (agents editing this repo)
First lines (shown under the repo's MIT license)
# AGENTS.md — photoshop-mcp
> **Navigation map, not a reference manual.**
> Start with [llms.txt](llms.txt) or the site index [llms.txt](https://photoshop-mcp.com/llms.txt), then follow links as needed.
## Entry strategy
| Scenario | Path |
| -------- | ---- |
| Cursor | Install the `photoshop-mcp` plugin (Customize → Plugins / Marketplace) so the Photoshop logo appears in the MCP list. Fallback: `mcpServers` → `npx -y @alisaitteke/photoshop-mcp` (stdio, generic icon) |
| Claude Desktop / VS Code | Configure `mcpServers` → `npx -y @alisaitteke/photoshop-mcp` (stdio) |
| Claude Code | Install this repo as a plugin (skills + MCP). Tools only: `claude mcp add photoshop -- npx -y @alisaitteke/photoshop-mcp` |
| Standalone chat UI (no IDE) | `npx -p @alisaitteke/photoshop-mcp ui` |
| Local development | `npm install && npm run build && node dist/index.js` — see [docs/development.md](docs/development.md) |
**Prerequisites:** Photoshop running on Windows or macOS, Node.js 18+. This is unofficial and not affiliated with Adobe.
**Tool surface:** 128 MCP tools — 111 atomic `photoshop_*` + 17 recipe `photoshop_recipe_*`; 24 MCP prompt templates (`ps.*`).
## Architecture (agent view)
```
AI host (Cursor / Claude / UI)
│ MCP stdio
▼
PhotoshopMCPServer (Node.js)
│ ExtendScript via AppleScript (macOS) or COM (Windows)
▼
Adobe Photoshop
Optional: UXP bridge plugin (uxp-plugin/) on 127.0.0.1:38452 for Neural Filters only.
```
Deep dive: [docs/architecture.md](docs/architecture.md).
## Recommended workflow
Follow the server `instructions` advertised on MCP `initialize` ([src/prompts/instructions.ts](src/prompts/instructions.ts)). Plugin installs also load [skills/photoshop-remove-background](skills/photoshop-remove-background/SKILL.md) and [skills/photoshop-recipes](skills/photoshop-recipes/SKILL.md) when the request matches; those hold the phrase-to-tool glossary. The initialize text stays the session contract.
```
1. DISCOVER: tools/list + prompts/list (or get_capabilities once per session)
2. STATE: photoshop_get_state before mutating; photoshop_get_preview after major steps
3. ACT: prefer photoshop_recipe_* for multi-step outcomes (single undo step)
4. RECOVER: on error, read structured envelope (code, suggested_next_tool) → get_state → retry one step
```
### Tool selection
| Need | Use |
| ---- | --- |
| Multi-step outcome (remove BG, export for web, portrait enhance) | `photoshop_recipe_*` |
| Single precise edit | atomic `photoshop_*` |
| Vague user intent | MCP prompt `prompts/get` (e.g. `ps.remove_background`) then call linked recipe/tool |
| Generative AI (Fill, Remove, Expand) | `photoshop_generative_*` — requires Adobe account + credits |
| Neural Filters (skin smooth, colorize, …) | `photoshop_neural_filter` — requires UXP bridge loaded |
| Version / feature check | `photoshop_get_capabilities` |
| Tracking, leading, paragraph box | `photoshop_set_text_style` (or those fields on `photoshop_create_text_layer`) |
| Mixed fonts/colors in one text layer | `photoshop_set_text_ranges` |
Full catalog: [docs/available-tools.md](docs/available-tools.md). Prompt layer: [docs/prompt-layer.md](docs/prompt-layer.md).
## MCP client configuration
Cursor: prefer the `photoshop-mcp` plugin (Customize → Plugins) so the Photoshop logo appears in the MCP list. Other hosts and the install-mcp deeplink use:
```json
{
"mcpServers": {
"photoshop": {
"command": "npx",
"args": ["-y", "@alisaitteke/photoshop-mcp"],
"env": { "LOG_LEVEL": "1" }
}
}
}
```
Examples: [examples/cursor-config.json](examples/cursor-config.json), [examples/claude-desktop-config.json](examples/claude-desktop-config.json).
### Environment variables
| Variable | Purpose |
| -------- | ------- |
| `LOG_LEVEL` | `0`=DEBUG, `1`=INFO, `2`=WARN, `3`=ERROR |
| `PHOTOSHOP_PATH` | Optional custom Photoshop install path |
| `PHOTOSHOP_SCRIPT_TIMEOUT` | Default ExtendScript timeout in ms (default `30000`, max `600000`) |
| `PSMCP_UI_TOKEN` | Pin standalone UI API token (see README) |
| `PSMCP_FEEDBACK` | Set `0` to disable the product-feedback ping question (on by default) |
| `PSMCP_UPDATE_CHECK` | Set `0` to disable the daily npm version check and the `UPDATE_AVAILABLE` ping notice (on by default; also off with `NO_UPDATE_NOTIFIER` or `CI`) |
## Troubleshooting (common agent blockers)
| Symptom | Fix |
| ------- | --- |
| Photoshop not found | Start Photoshop; set `PHOTOSHOP_PATH` if non-standard install |
| Tool times out | Retry `photoshop_ping` until it succeeds. Ping runs a short script and returns `extendscript_timeout` while Photoshop is still busy; only then call `get_state`. Pass `timeout_ms` on `photoshop_execute_script` (max 600s), or set `PHOTOSHOP_SCRIPT_TIMEOUT`; batch recipes already use 600s. |
| Scratch disk full | `scratch_disk_full` means Photoshop froze or refused the command because the scratch disk is full. Free at least 100 GB on the OS drive (the default scratch disk), then restart Photoshop. Ping again only after that restart. |
| Font not in the list | `font_not_found`. Photoshop only lists fonts installed for this user. `photoshop_install_font` copies a `.ttf`/`.otf`/`.ttc` the user already has into the current-user font folder and calls `app.refreshFonts()` so an open Photoshop sees it. Use the returned `postScriptName`. |
| `generative_unavailable` / `version_unsupported` | Call `get_capabilities`; feature may need newer Photoshop or Adobe login |
| Neural filter fails | **Add Plugin** → `uxp-plugin/manifest.json` → **Load** in UXP Developer Tools — see [docs/development.md](docs/development.md#uxp-bridge-plugin-neural-filters) |
| No active document | Ask user to open/create a document, then `get_state` |
More: [docs/troubleshooting.md](docs/troubleshooting.md).
## Distribution
| Channel | Identifier |
| ------- | ---------- |
| npm | `@alisaitteke/photoshop-mcp` |
| MCP Registry | `io.github.alisaitteke/photoshop-mcp` |
| GitHub | https://github.com/alisaitteke/photoshop-mcp |
| Cursor Marketplace | plugin `photoshop-mcp` (submit via [CONTRIBUTING.md](CONTRIBUTING.md#cursor-marketplace)) |
## Key files
| File | Purpose |
| ---- | ------- |
| [llms.txt](llms.txt) | LLM-oriented project summary |
| [README.md](README.md) | Human docs, install, example prompts |
| [server.json](server.json) | MCP Registry metadata |
| [src/core/server.ts](src/core/server.ts) | MCP server entry |
| [src/tools/](src/tools/) | Tool implementations |
| [src/prompts/](src/prompts/) | MCP prompt templates |
| [CONTRIBUTING.md](CONTRIBUTING.md) | PR and release workflow |
| [`.cursor-plugin/plugin.json`](.cursor-plugin/plugin.json) | Cursor Plugin manifest (MCP list logo) |
| [`.claude-plugin/plugin.json`](.claude-plugin/plugin.json) | Claude Code plugin manifest (same `skills/`) |
| [`skills/`](skills/) | Plugin skills: remove-background hard rule detail and recipe routing |
| [`mcp.json`](mcp.json) | Cursor Plugin stdio server config |
## Contributing (agents editing this repo)
- Canonical language for code, comments, commits, and PRs: **English**.
- Before PR: `npm run lint`, `npm run build:server`, `npm run verify:photoshop-prompts`, `npm run verify:pack`.
- Do not add AI-attribution footers to commits or PR descriptions.Signals
- Stars
- 727
- Forks
- 76
- Open issues
- 3
- Contributors
- 8
- Last commit (this folder)
- Oct 8, 2026 (22 days ago)
- Last release
- Oct 15, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/alisaitteke/photoshop-mcp
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from alisaitteke
- 0.810score
photoshop-recipes
alisaitteke
Route a Photoshop request to the matching recipe.
SkillAFreshness: A★ 727Claude Code +9 - 0.808score
photoshop-remove-background
alisaitteke
Remove a Photoshop background in one recipe call.
SkillAFreshness: A★ 727Claude Code +9 - 0.642score
Photoshop MCP
alisaitteke
MCP server for Adobe Photoshop — 128 tools (generative AI + recipes), standalone web UI.
ConnectorAFreshness: ALocal★ 727↓ 4.9K/wkClaude Code +5 - 0.517score
Noun MCP
alisaitteke
Production MCP server for The Noun Project — search & download icons in Cursor/Claude with OAuth…
ConnectorBFreshness: BLocal★ 7↓ 30/wkClaude Code +5 - 0.385score
Docker MCP
alisaitteke
MCP server for managing Docker containers, images, networks, volumes, and registries
ConnectorDFreshness: DLocal★ 2↓ 64/wkClaude Code +5 - 0.382score
npm MCP
alisaitteke
MCP server for npm package management, security analysis, and compatibility checking
ConnectorDFreshness: DLocal★ 3↓ 25/wkClaude Code +5
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get AGENTS.md · alisaitteke/photoshop-mcp running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
AGENTS.md · alisaitteke/photoshop-mcp. Agent Mart. https://agentmart.dev/templates/alisaitteke-photoshop-mcp-agents-md (last updated 2026-10-24)