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

Function getInitialArgs

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

Source from the content-addressed store, hash-verified

87};
88
89export const getInitialArgs = (): string => {
90 const param = getSearchParam("serverArgs");
91 if (param) return param;
92 return localStorage.getItem("lastArgs") || "";
93};
94
95// Returns a map of config key -> value from query params if present
96export const getConfigOverridesFromQueryParams = (

Callers

nothing calls this directly

Calls 1

getSearchParamFunction · 0.85

Tested by

no test coverage detected