Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions codemcp/tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
from .git_show import git_show
from .mv import mv
from .rm import rm
from .run_command import run_command

__all__ = [
"chmod",
Expand All @@ -17,4 +18,5 @@
"git_show",
"mv",
"rm",
"run_command",
]
2 changes: 2 additions & 0 deletions codemcp/tools/run_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@

from ..code_command import get_command_from_config, run_code_command
from ..common import normalize_file_path
from ..mcp import mcp
from .commit_utils import append_commit_hash

__all__ = [
"run_command",
]


@mcp.tool()
async def run_command(
project_dir: Optional[str] = None,
command: str = "",
Expand Down
Loading