matlab-simulink-mcp 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
File without changes
@@ -0,0 +1,13 @@
1
+ import argparse
2
+ import matlab_simulink_mcp.server as server
3
+
4
+ def main():
5
+ parser = argparse.ArgumentParser()
6
+ parser.add_argument("--console", action="store_true", help="Keep console open.")
7
+ args = parser.parse_args()
8
+
9
+ server.console = args.console
10
+ server.run()
11
+
12
+ if __name__ == "__main__":
13
+ main()
File without changes
@@ -0,0 +1,39 @@
1
+ # The commands mentioned in this file are not allowed to be used by the LLM for safety reasons.
2
+ # The LLM is also not allowed to use absolute paths (and thus access anything not on MATLAB path).
3
+ # ! is only blocked in the code when used at the beginning of the line i.e. as a proper command
4
+
5
+ !
6
+ eval
7
+ rehash
8
+ feval
9
+ system
10
+ unix
11
+ dos
12
+ builtin
13
+ str2func
14
+ perl
15
+ python
16
+ pyenv
17
+ py.
18
+ javaobject
19
+ javamethod
20
+ javamethodedt
21
+ javaclasspath
22
+ javaaddpath
23
+ matlab.desktop.editor.opendocument
24
+ matlab.desktop.editor.save
25
+ addpath
26
+ rmpath
27
+ cd
28
+ userpath
29
+ path
30
+ savepath
31
+ restoredefaultpath
32
+ genpath
33
+ which
34
+ what
35
+ matlabroot
36
+ uigetdir
37
+ uigetfile
38
+ uiopen
39
+ uiputfile