MCPcopy Create free account
hub / github.com/modelcontextprotocol/inspector / getInitialCommand

Function getInitialCommand

client/src/utils/configUtils.ts:83–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

81};
82
83export const getInitialCommand = (): string => {
84 const param = getSearchParam("serverCommand");
85 if (param) return param;
86 return localStorage.getItem("lastCommand") || "mcp-server-everything";
87};
88
89export const getInitialArgs = (): string => {
90 const param = getSearchParam("serverArgs");

Callers

nothing calls this directly

Calls 1

getSearchParamFunction · 0.85

Tested by

no test coverage detected