Package Exports
- @widgetic/mcp-client
- @widgetic/mcp-client/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@widgetic/mcp-client) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@widgetic/mcp-client
Model Context Protocol (MCP) client for Widgetic external integration with Cursor and other code generation tools.
Installation
npm install -g @widgetic/mcp-clientUsage
With Cursor
Add this to your .cursor/mcp.json:
{
"mcpServers": {
"widgetic": {
"command": "npx",
"args": [
"@widgetic/mcp-client",
"--api-key=your-widgetic-api-key-here"
]
}
}
}Replace your-widgetic-api-key-here with your actual Widgetic API key.
Command Line Options
--api-key(required): Your Widgetic API key--base-url(optional): Custom API endpoint (default: https://widgetic.com/api/v1/mcp/external-widgetic)--debug(optional): Enable debug logging--help: Show help information
Example
widgetic-mcp-client --api-key=wdg_1234567890abcdef --debugAvailable Tools
Once configured, you'll have access to 9 Widgetic tools in Cursor:
Existing Widget Tools
list_user_widgets- Browse your published widgetscreate_composition_from_widget- Create compositions from existing widgetsupload_content_to_composition- Upload files and media to compositionsgenerate_embed_code- Generate framework-specific embed code
Widget Creation Tools
create_widget_from_description- Create new widgets from natural languageget_widget_creation_status- Monitor widget creation progressadd_user_feedback_to_widget- Provide iterative feedback during creationpublish_widget_and_create_composition- Publish completed widgetscancel_widget_creation- Cancel in-progress widget creation
API Key
Get your Widgetic API key from your account settings at widgetic.com.
Support
For issues or questions, visit widgetic.com/support.
License
MIT