We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/gergelyszerovay/mcp-id-date'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
setAppState.ts•382 B
import type { AppState } from './AppState';
import { currentAppState } from './internal/currentAppState';
/**
* Sets a new application state
*
* @param newState - The new application state to set
* @returns The updated application state
*/
export function setAppState(newState: AppState): AppState {
currentAppState.appState = newState;
return currentAppState.appState;
}