원클릭으로
setup-mekara-mcp
Set up mekara MCP server and hook integration with Claude Code and OpenCode for the current project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Set up mekara MCP server and hook integration with Claude Code and OpenCode for the current project.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | setup-mekara-mcp |
| description | Set up mekara MCP server and hook integration with Claude Code and OpenCode for the current project. |
Set up mekara MCP server and hook integration with Claude Code and OpenCode for the current project.
$ARGUMENTS
Check that the mekara command is available in PATH (suppress path output):
which mekara > /dev/null
If not available, inform the user they need to install mekara first (e.g., pipx install mekara or add it to the project's dev dependencies).
Create ~/.claude.json (or update if it exists) to declare the mekara MCP server:
{
"mcpServers": {
"mekara": {
"type": "stdio",
"command": "mekara",
"args": ["mcp"]
}
}
}
If ~/.claude.json already exists, merge the mekara server into the existing mcpServers object rather than overwriting the file.
Create ~/.claude/settings.json (or update if it exists) with hooks and MCP tool permissions:
{
"hooks": {
"UserPromptSubmit": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "mekara hook reroute-user-commands"
}
]
}
],
"PreToolUse": [
{
"matcher": "Skill",
"hooks": [
{
"type": "command",
"command": "mekara hook reroute-agent-commands"
}
]
},
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "mekara hook auto-approve"
}
]
}
]
},
"permissions": {
"allow": [
"mcp__mekara__start",
"mcp__mekara__continue_script",
"mcp__mekara__finish_nl_script",
"mcp__mekara__status",
"mcp__mekara__write_bundled"
]
}
}
If ~/.claude/settings.json already exists:
hooks.UserPromptSubmit and hooks.PreToolUse arrayspermissions.allow array (avoid duplicates)Create ~/.config/opencode/opencode.json (or update if it exists) to declare the mekara MCP server for OpenCode:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mekara": {
"type": "local",
"command": ["mekara", "mcp"],
"enabled": true
}
},
"permission": {
"mcp__mekara__start": "allow",
"mcp__mekara__continue_script": "allow",
"mcp__mekara__finish_nl_script": "allow",
"mcp__mekara__status": "allow",
"mcp__mekara__write_bundled": "allow"
}
}
If ~/.config/opencode/opencode.json already exists:
mcp objectpermission object (avoid duplicates)Note: OpenCode does not have a UserPromptSubmit hook equivalent, so the automatic "script already running" context injection is not available. Scripts will still work via MCP.
Tell the user to restart Claude Code and/or OpenCode for the changes to take effect, then test by typing a mekara command like /test:random (if available) or any compiled script.
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Merges completed work back to main through a protected-branch pull request workflow.
Set up a new git worktree and install dependencies.
Prepares a Python package for PyPI release by updating the version, building, and verifying the distribution.
Prepare a release by updating the version, building, and verifying the distribution.