feat(globalStateStore): implement global state management with persistence
- refactor state structure to include app, layout, navigation, owner, program, session, and user - add slices for managing program, session, owner, user, layout, navigation, and app states - create context provider for global state with automatic fetching and throttling - implement persistence using IndexedDB with localStorage fallback - add comprehensive README documentation for usage and API
This commit is contained in:
86
mcp-server.json
Normal file
86
mcp-server.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"name": "@warkypublic/oranguru-mcp",
|
||||
"version": "0.0.31",
|
||||
"description": "MCP server for Oranguru component library documentation and code generation",
|
||||
"mcpServers": {
|
||||
"oranguru-docs": {
|
||||
"command": "node",
|
||||
"args": ["mcp/server.js"],
|
||||
"env": {}
|
||||
}
|
||||
},
|
||||
"tools": [
|
||||
{
|
||||
"name": "get_component_docs",
|
||||
"description": "Get documentation for a specific Oranguru component",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"component": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"MantineBetterMenu",
|
||||
"Gridler",
|
||||
"Former",
|
||||
"FormerControllers",
|
||||
"Boxer",
|
||||
"ErrorBoundary",
|
||||
"GlobalStateStore"
|
||||
],
|
||||
"description": "The component name"
|
||||
}
|
||||
},
|
||||
"required": ["component"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "get_component_example",
|
||||
"description": "Generate code example for a specific Oranguru component",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"component": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"MantineBetterMenu",
|
||||
"Gridler",
|
||||
"Former",
|
||||
"FormerControllers",
|
||||
"Boxer",
|
||||
"ErrorBoundary",
|
||||
"GlobalStateStore"
|
||||
],
|
||||
"description": "The component name"
|
||||
},
|
||||
"variant": {
|
||||
"type": "string",
|
||||
"description": "Example variant (e.g., 'basic', 'advanced', 'with-api')"
|
||||
}
|
||||
},
|
||||
"required": ["component"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "list_components",
|
||||
"description": "List all available Oranguru components",
|
||||
"inputSchema": {
|
||||
"type": "object",
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"resources": [
|
||||
{
|
||||
"uri": "oranguru://docs/readme",
|
||||
"name": "Oranguru Documentation",
|
||||
"description": "Main documentation for the Oranguru library",
|
||||
"mimeType": "text/markdown"
|
||||
},
|
||||
{
|
||||
"uri": "oranguru://docs/components",
|
||||
"name": "Component List",
|
||||
"description": "List of all available components",
|
||||
"mimeType": "application/json"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user