Skip to content

Conversation

@ChrisPenner
Copy link
Member

@ChrisPenner ChrisPenner commented Oct 22, 2025

Overview

Adds a "run" mcp tool.

https://claude.ai/share/cb8f95db-57c7-49b4-aac8-a530bff1d97a

Note: I've marked the command as destructive, but there are otherwise no safeguards against how agents can choose to call this.

Implementation notes

  • Adds a "run" mcp tool
  • Allows choosing what to run, and a list of string args
  • Returns the function's returned value.
  • Captures and returns stdout/stderr from the computation.

Test coverage

transcript

Loose Ends

We can probably allow replacing stdin with text or a file or something if we like.

@ChrisPenner ChrisPenner marked this pull request as ready for review October 22, 2025 00:51
@ChrisPenner ChrisPenner requested a review from aryairani October 22, 2025 00:52
@ChrisPenner ChrisPenner changed the title Add "run" command Add Run tool to MCP Oct 23, 2025
@ChrisPenner ChrisPenner added the ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved label Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Apply this to a PR and it will get merged automatically once CI passes and 1 reviewer has approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants