MCPcopy Create free account
hub / github.com/chokcoco/iCSS / showUsageInstructions

Function showUsageInstructions

MCP/bin/install.js:127–158  ·  view source on GitHub ↗
(configFile)

Source from the content-addressed store, hash-verified

125
126// 显示使用说明
127function showUsageInstructions(configFile) {
128 console.log('\n🎉 Installation completed successfully!\n');
129
130 console.log('🆕 What\'s new in v1.1.1:');
131 console.log(' - 🎨 Integrated CSS-Inspiration with 160+ complete demos');
132 console.log(' - 🔍 Search both iCSS articles and CSS-Inspiration demos');
133 console.log(' - 💾 Complete runnable code for all demos');
134 console.log(' - 📊 Smart categorization by difficulty and type\n');
135
136 console.log('📋 Next steps:');
137 console.log('1. Restart Cursor IDE completely');
138 console.log('2. The iCSS MCP Server should be available automatically');
139 console.log('3. Try asking Cursor about CSS techniques from both libraries\n');
140
141 console.log('🛠️ Configuration details:');
142 console.log(` Config file: ${configFile}`);
143 console.log(` Server path: ${path.join(getPackagePath(), 'server.js')}`);
144
145 console.log('\n💡 Enhanced usage examples:');
146 console.log(' - "Show me CSS techniques for flex layout"');
147 console.log(' - "Find 3D animation demos from CSS-Inspiration"');
148 console.log(' - "Get complete code for demo ID 25"');
149 console.log(' - "Search for border effects with runnable code"');
150 console.log(' - "Get a random CSS tip from both libraries"');
151
152 console.log('\n🔧 Manual testing:');
153 console.log(' Run: npx icss-mcp-server');
154 console.log(' Or: icss-mcp');
155
156 console.log('\n📚 More info: https://github.com/chokcoco/iCSS');
157 console.log('📚 CSS-Inspiration: https://github.com/chokcoco/CSS-Inspiration');
158}
159
160// 主安装流程
161async function main() {

Callers 1

mainFunction · 0.85

Calls 1

getPackagePathFunction · 0.85

Tested by

no test coverage detected