axom_mcp_exec
Execute file operations and shell commands with chain-reaction support for automated workflows. Read files, write data, or run commands while maintaining security restrictions on allowed directories.
Instructions
Execute file operations and shell commands with chain-reaction support.
Operations:
read: Read file contents from allowed directories
write: Write data to files (unless AXOM_READ_ONLY=true)
shell: Execute shell commands (unless AXOM_READ_ONLY=true)
Chain Reactions: Chain multiple operations together using the chain parameter. Each step can reference the previous result using ${_result} variable substitution.
Example: { "operation": "read", "target": "/file.txt", "chain": [ { "tool": "axom_mcp_transform", "args": {"input": "${_result.content}", "output_format": "json"} } ] }
Security:
File operations restricted to allowed directories (cwd, ~/)
Shell/write operations enabled by default (set AXOM_READ_ONLY=true to disable)
Input size limits: 10MB max for files
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | Operation type | |
| target | Yes | File path or command | |
| data | No | Data to write (for write operation) | |
| chain | No | Chain of subsequent operations |