@thesage/mcp 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ Enable AI assistants like Claude Desktop, Cursor, and VS Code to browse, search,
|
|
|
6
6
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
|
-
- 🔍 **Browse all
|
|
9
|
+
- 🔍 **Browse all 89 components** across 7 core functional categories
|
|
10
10
|
- 🔎 **Semantic search** by keywords, use cases, or functionality
|
|
11
11
|
- 📖 **Detailed component info** including props, dependencies, and examples
|
|
12
12
|
- 📦 **Installation instructions** with all required dependencies
|
|
@@ -145,7 +145,7 @@ Once configured, you can interact with the server through your AI assistant:
|
|
|
145
145
|
|
|
146
146
|
> "Show me all components in the Sage UI"
|
|
147
147
|
|
|
148
|
-
The AI will use `list_components` to display all
|
|
148
|
+
The AI will use `list_components` to display all 89 components organized by category.
|
|
149
149
|
|
|
150
150
|
### Search for Specific Functionality
|
|
151
151
|
|
|
@@ -180,7 +180,7 @@ The AI will use `install_component` to provide:
|
|
|
180
180
|
|
|
181
181
|
The MCP server consists of:
|
|
182
182
|
|
|
183
|
-
1. **Component Registry** (`src/registry.ts`) - Metadata for all
|
|
183
|
+
1. **Component Registry** (`src/registry.ts`) - Metadata for all 89 @thesage/ui components
|
|
184
184
|
2. **MCP Server** (`src/index.ts`) - Model Context Protocol implementation
|
|
185
185
|
3. **Tool Handlers** - Four tools for listing, searching, viewing, and installing
|
|
186
186
|
|
|
@@ -204,7 +204,7 @@ The server runs in stdio mode, communicating via stdin/stdout per the MCP specif
|
|
|
204
204
|
|
|
205
205
|
## Documentation
|
|
206
206
|
|
|
207
|
-
- **Full Documentation**: https://
|
|
207
|
+
- **Full Documentation**: https://thesage.dev/
|
|
208
208
|
- **GitHub**: https://github.com/shalomormsby/ecosystem
|
|
209
209
|
- **MCP Specification**: https://modelcontextprotocol.io/
|
|
210
210
|
|
|
@@ -212,7 +212,7 @@ The server runs in stdio mode, communicating via stdin/stdout per the MCP specif
|
|
|
212
212
|
|
|
213
213
|
For issues or questions:
|
|
214
214
|
- GitHub Issues: https://github.com/shalomormsby/ecosystem/issues
|
|
215
|
-
- Documentation: https://
|
|
215
|
+
- Documentation: https://thesage.dev/#mcp-server
|
|
216
216
|
|
|
217
217
|
## License
|
|
218
218
|
|
|
@@ -220,4 +220,4 @@ MIT © Shalom Ormsby
|
|
|
220
220
|
|
|
221
221
|
---
|
|
222
222
|
|
|
223
|
-
**Part of the [Sage UI](https://
|
|
223
|
+
**Part of the [Sage UI](https://thesage.dev/) - Build lovable products at AI speed.**
|
package/dist/index.js
CHANGED
|
@@ -897,7 +897,7 @@ import { ${component.name} } from '@thesage/ui';
|
|
|
897
897
|
`;
|
|
898
898
|
output += `## Documentation
|
|
899
899
|
`;
|
|
900
|
-
output += `View full documentation at: https://
|
|
900
|
+
output += `View full documentation at: https://thesage.dev/#${component.category}/${component.name.toLowerCase().replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}
|
|
901
901
|
`;
|
|
902
902
|
return output;
|
|
903
903
|
}
|
|
@@ -966,7 +966,7 @@ function formatInstallationInstructions(component) {
|
|
|
966
966
|
output += `## Additional Resources
|
|
967
967
|
|
|
968
968
|
`;
|
|
969
|
-
output += `- **Documentation:** https://
|
|
969
|
+
output += `- **Documentation:** https://thesage.dev/#${component.category}/${component.name.toLowerCase().replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}
|
|
970
970
|
`;
|
|
971
971
|
output += `- **GitHub:** https://github.com/shalomormsby/ecosystem/tree/main/packages/ui/src/components/${component.category}
|
|
972
972
|
`;
|
package/dist/index.mjs
CHANGED
|
@@ -899,7 +899,7 @@ import { ${component.name} } from '@thesage/ui';
|
|
|
899
899
|
`;
|
|
900
900
|
output += `## Documentation
|
|
901
901
|
`;
|
|
902
|
-
output += `View full documentation at: https://
|
|
902
|
+
output += `View full documentation at: https://thesage.dev/#${component.category}/${component.name.toLowerCase().replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}
|
|
903
903
|
`;
|
|
904
904
|
return output;
|
|
905
905
|
}
|
|
@@ -968,7 +968,7 @@ function formatInstallationInstructions(component) {
|
|
|
968
968
|
output += `## Additional Resources
|
|
969
969
|
|
|
970
970
|
`;
|
|
971
|
-
output += `- **Documentation:** https://
|
|
971
|
+
output += `- **Documentation:** https://thesage.dev/#${component.category}/${component.name.toLowerCase().replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}
|
|
972
972
|
`;
|
|
973
973
|
output += `- **GitHub:** https://github.com/shalomormsby/ecosystem/tree/main/packages/ui/src/components/${component.category}
|
|
974
974
|
`;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thesage/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Model Context Protocol server for Sage UI - discover and integrate components with AI assistants",
|
|
5
5
|
"author": "Shalom Ormsby",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/shalomormsby/ecosystem.git",
|
|
9
|
-
"directory": "packages/
|
|
9
|
+
"directory": "packages/mcp"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://
|
|
11
|
+
"homepage": "https://thesage.dev/#mcp-server",
|
|
12
12
|
"bugs": "https://github.com/shalomormsby/ecosystem/issues",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|