$ timeahead.in
/ servers/npm/@goke/mcp
npm

@goke/mcp

Dynamically generate CLI commands from MCP server tools

53 stars6k/wkupdated 8d agogithub ↗
84good
▣ Overview

What it does

goke is a TypeScript CLI framework with a Hono-inspired API for chaining middleware and command handlers. Its primary value as an MCP server is that it exposes any CLI as an MCP tool in two lines of code via createMcpAction({ cli }). Every command automatically becomes a tool callable from Claude, Cursor, VS Code, and other MCP clients. The framework provides Zod-based type safety for command options, zero runtime dependencies, agent detection to adjust behavior inside AI coding agents, and includes shell completions and JustBash sandboxing support.

Who it's for

TypeScript developers who build CLI tools and want to expose them to AI agents without separate integration work. Teams using Claude, Cursor, or VS Code agents that need command-line operations available as MCP tools.

Common use cases

  • Export a custom CLI as MCP tools for use in Claude Desktop or other MCP clients
  • Build multi-command CLIs with shared middleware, applying REST API design patterns to the terminal
  • Create agent-aware tools that detect when running inside Claude or Cursor and skip prompts
  • Add shell completions and sandboxed execution via JustBash to existing command-line tools

Setup pitfalls

  • Filesystem access: the server reads and writes files, so audit permissions before exposing to untrusted agent contexts
  • Requires a schema library (Zod, Valibot, ArkType) for option validation; no built-in schema
  • Repository has no passing CI—review recent activity (last commit 8 days ago, 53 stars) before adopting in production
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
85
21.3
Adoption
20%
63
12.6
Quality
10%
100
10.0
Trust
10%
50
5.0
Total
83.8
⚿ Capabilities & Risk Explainer
fs readfs writeexecsecrets
◆ Risk level: medium· 1 tools · auth: API key
fs read + fs write + exec + secrets active — can execute code, access credentials, and make external network calls.
Tool nameDescriptionDestructive?
user_tool✓ no
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "gokemcp": {
      "command": "npx",
      "args": [
        "-y",
        "@goke/mcp"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
43/ 100 · is this project alive?
contributors (1y)1
top contributor share100%
releases (1y)35
last release9d ago
ci✗ none
⛁ Raw data
weekly downloads6k
github stars53
forks1
open issues0
license✓ present
readme length54039 chars
last publish8d ago
last commit8d ago
last updated1d ago
install verified✓ pass · 25d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points