MCPcopy Create free account
hub / github.com/ShipSecAI/studio / createInitialState

Function createInitialState

frontend/src/store/mcpServerStore.ts:92–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90};
91
92const createInitialState = (): McpServerStoreState => ({
93 servers: [],
94 tools: [],
95 isLoading: false,
96 error: null,
97 lastFetched: null,
98 filters: { ...INITIAL_FILTERS },
99});
100
101// API helpers
102async function apiRequest<T>(path: string, options: RequestInit = {}): Promise<T> {

Callers 2

mcpServerStore.tsFile · 0.70
resetMcpServerStoreStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected