Conversation
mcp/loopy-shell.policy.toml
Outdated
| "git", | ||
| "ls", | ||
| "pwd", | ||
| "rg", |
There was a problem hiding this comment.
we dont even have git and rg and uv commands wtf. what is this for?
|
|
||
|
|
||
| @dataclass(frozen=True) | ||
| class ShellPolicy: |
There was a problem hiding this comment.
our shellpolicy here is very limited to just the shell commands that we support baesd on README - make suer thats respected
|
|
||
| from policy import ShellPolicy | ||
|
|
||
|
|
There was a problem hiding this comment.
how will this change now that we have a file backed feature?
|
Simplified the policy: removed deny/env sections, switched to a single list aligned to the README shell commands, and dropped env overrides in the server (uses process env). Re: file-backed Loopy — not wired into this MCP server yet; that would be a separate MCP tool that calls against a path. Happy to add that in a follow-up if you want it here. |
|
Simplified the policy: removed deny/env sections, switched to a single allowed_commands list aligned to the README shell commands, and dropped env overrides in the server (uses process env). Re: file-backed Loopy — not wired into this MCP server yet; that would be a separate MCP tool that calls loopy.shell.run against a FileBackedLoopy path. Happy to add that in a follow-up if you want it here. |
Summary
mcp/uv project for a shell MCP serverTesting