Atlas / MCP servers / remorses / Goke

GokeBLOCK

mcp/remorses/goke

simple, type safe, elegant command line framework. the CLI framework for agents

Verdict
BLOCK
Grade
D
Trust score
69 /100
Exposed tools
2 2r · 0w · 0d
Transport
stdio · streamable-http
License
—
Stars
61
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

goke Build CLIs like you'd build an API. Type-safe, chainable, zero dependencies.

goke is a TypeScript CLI framework with a Hono-like API. You chain .use() for middleware and .command() for routes — the same mental model as a REST API, applied to the terminal.

import { goke } from 'goke'
import { z } from 'zod'

const cli = goke('deploy')

// middleware — runs before every command
cli
.option('--env ', z.enum(['staging', 'production']).default('staging').describe('Target environment'))
.use((options, { console }) => {
console.log(`Environment: ${options.env}`)
})

// commands — like route handlers
cli
.command('up', 'Deploy the app')
.option('--dry-run', 'Preview without deploying')
.action((options, { console, process }) => {
console.log(`Deploying from ${process.cwd}`)
})

cli
.command('logs ', 'Stream logs')
.option('--lines ', z.number().default(100).describe('Lines to tail'))
.action((id, options) => streamLogs(id, options.lines))

cli.help()
cli.completions()
cli.parse()

Features

  • Hono-like chaining — .use() for middleware, .command() for handlers. Build a CLI the same way you'd design a REST API.
  • Zod type safety — pass a Zod schema to .option() and get automatic coercion, TypeScript inference, and help text for free. Works with Valibot, ArkType, or any Standard Schema library.
  • CLI from any MCP server — `@goke/mcp` connects to an MCP server, discovers tools, and generates typed CLI commands automatically.
  • MCP server in 2 lines — expose your entire CLI as an MCP server with createMcpAction({ cli }) from `@goke/mcp`. Every command becomes a tool, ready for Claude Desktop, Cursor, VS Code, and [any MCP client](https://github.com/supermemoryai/install-mcp#
Read from source at commit 92457a027876OBSERVED · 2026-10-12
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add goke --env GOKE_TEST_TOKEN=${GOKE_TEST_TOKEN} --env TOKEN=${TOKEN} -- npx -y goke
claude-desktop
{
  "mcpServers": {
    "goke": {
      "command": "npx",
      "args": [
        "-y",
        "goke"
      ],
      "env": {
        "GOKE_TEST_TOKEN": "${GOKE_TEST_TOKEN}",
        "TOKEN": "${TOKEN}"
      }
    }
  }
}
03

Exposed tools (2)

2 read · 0 write · 0 destructive.

ToolRiskDescription
find_bookmarksreadFind bookmarks
user_toolreadTool added directly by user
04

Trust audit

BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (3 observation(s))
Network
none-observed
Shell
declared (3 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (10)

HIGHCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
goke/src/runtime-node.ts:30
exec(cmd, { stdio: 'ignore' } as any, (err) => {
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInventory / provenance · inv.symlink · CWE-1104
goke/README.md
goke/README.md
Why it matters. link not followed
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
goke/src/__test__/index.test.ts:312
console.log(process.env.TOKEN)
LOWInformation disclosure · disclose.log_secret · CWE-209, CWE-532
goke/src/__test__/just-bash.test.ts:329
console.log(process.env.TOKEN)
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
mcp/src/__test__/add-mcp-commands-help.test.ts:46
url: `http://127.0.0.1:${addr.port}/mcp`,
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
goke/package.json
@types/node, just-bash, typescript, vitest, zod
Why it matters. 5 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
mcp/package.json
@modelcontextprotocol/sdk, js-yaml, @types/js-yaml, @types/node, vitest, zod
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
notion-mcp-cli/package.json
zod, @types/node, tsx, typescript
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
typescript
Why it matters. 1 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWPrompt injection · prompt.transfer_instruction · CWE-94, CWE-1427
mcp/README.md:202
Do **not** keep MCP session IDs. Streamable HTTP can run **stateless**: `sessionIdGenerator: undefined`. Each POST builds a fresh `Server` and transport, then closes them. That works on Cloudflare Wor
Why it matters. an instruction to move sensitive data to an outside destination
Fix. remove; a skill never needs the user's secrets off the machine

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 92457a027876full audit observations/trust-audit/mcp-server/remorses__goke.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-1292457a027876BLOCKD69first audit
06

Questions

What is the @goke/mcp MCP server?

simple, type safe, elegant command line framework. the CLI framework for agents

What tools does @goke/mcp expose?

2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is @goke/mcp safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (69/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on.

What credentials does @goke/mcp need?

It reads GOKE_TEST_TOKEN and TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does @goke/mcp run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as goke.

How current is this page?

The grade is for one exact copy of the source (92457a027876), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement