22 Commits

Author SHA1 Message Date
Dominik Jain
74ff6a12df Add PenpotApiInfoTool 2025-10-08 00:10:25 +02:00
Dominik Jain
5ab14ffb9e Allow code execution to use the console, returning the full log 2025-10-08 00:10:25 +02:00
Dominik Jain
3d29e42251 Improve prompts 2025-10-08 00:10:25 +02:00
Dominik Jain
bc28e116c8 Add HighLevelOverviewTool 2025-10-08 00:10:25 +02:00
Dominik Jain
b94f29fcf1 Switch from low-level Server to McpServer 2025-10-08 00:10:25 +02:00
Dominik Jain
5ffaabd728 Add code execution tool 2025-10-08 00:09:42 +02:00
Dominik Jain
23d2270df0 Improve error handling in PluginTask execution 2025-09-12 18:36:13 +02:00
Dominik Jain
736c25ecc2 Refactoring: Separate the plugin bridge (WebSocket server abstraction) from the MCP server 2025-09-12 17:01:32 +02:00
Dominik Jain
48955b67a9 Apply formatter 2025-09-12 16:58:17 +02:00
Dominik Jain
b7d1171654 Establish return channel when executing plugin tasks
and package 'common' for representations used in both subprojects
2025-09-12 16:42:13 +02:00
Dominik Jain
283f01b0ac Refactoring: Move every concrete plugin task to a separate source file 2025-09-12 13:41:31 +02:00
Dominik Jain
0468381d2b Improve build to not require .js extensions in imports 2025-09-12 13:37:20 +02:00
Dominik Jain
2985bb75c5 Refactoring: Remove interfaces folder (inaccurate naming) 2025-09-12 13:22:02 +02:00
Dominik Jain
f93d2af5c9 Refactoring: Move PenpotMcpServer to its own file 2025-09-12 13:12:27 +02:00
Dominik Jain
6636544f88 Refactoring
* Handle plugin task execution centrally in MCP server
 * Centrally handle exceptions in Tool base class, returning an error message
2025-09-12 13:02:07 +02:00
Dominik Jain
472dcd7890 Refactoring: Rename Tool -> ToolInterface, TypeSafeTool -> Tool 2025-09-12 13:00:59 +02:00
Dominik Jain
e714caaef2 Improve handling of tool responses, adding explicit classes 2025-09-11 13:55:33 +02:00
Dominik Jain
f8b6c05df4 Apply formatter 2025-09-11 11:38:39 +02:00
Dominik Jain
4a9700d445 Implement initial WebSocket interaction between MCP server and Penpot plugin
(Example: Writing and selecting a text object to the Penpot project)
2025-09-10 23:02:57 +02:00
Dominik Jain
a99851e7dd Fully typed tool interfaces 2025-09-10 15:21:14 +02:00
Dominik Jain
d1045b28b3 Apply formatter with identation 4 2025-09-10 14:47:07 +02:00
Dominik Jain
c41d92785a Add initial server implementation 2025-09-10 12:24:46 +02:00