Intelligent clipboard with URL extraction
## Clipboard Smart MCP Server: Intelligent Clipboard Operations The **Clipboard Smart MCP Server** provides enhanced clipboard functionality with intelligent content processing directly within Google Antigravity. This integration adds smart features like content transformation, format detection, and contextual clipboard operations to your development workflow. ### Why Clipboard Smart MCP? - **Content Detection**: Automatically detect content type (code, URLs, JSON, etc.) - **Smart Transformations**: Transform clipboard content based on context - **Template Expansion**: Expand templates and snippets from clipboard triggers - **Format Conversion**: Convert between formats (Markdown to HTML, JSON to YAML, etc.) - **Contextual Actions**: Suggest actions based on clipboard content type ### Key Features #### 1. Content Analysis ```python from anthropic import Anthropic client = Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Analyze the clipboard content and identify what type of data it contains" }], tools=[{ "name": "clipboard_smart_analyze", "description": "Analyze clipboard content" }] ) ``` #### 2. Smart Transform ```python # Transform content response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Convert the JSON in my clipboard to a formatted YAML file" }], tools=[{"name": "clipboard_smart_transform", "description": "Transform content"}] ) ``` #### 3. Template Expansion ```python # Expand templates response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "Expand the template trigger in clipboard with current context" }], tools=[{"name": "clipboard_smart_expand", "description": "Expand templates"}] ) ``` #### 4. Contextual Suggestions ```python # Get smart suggestions response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=1024, messages=[{ "role": "user", "content": "What can I do with the URL currently in my clipboard?" }], tools=[{"name": "clipboard_smart_suggest", "description": "Content suggestions"}] ) ``` ### Configuration ```json { "mcpServers": { "clipboard-smart": { "command": "npx", "args": ["-y", "@anthropic/mcp-clipboard-smart"], "env": { "ENABLE_TEMPLATES": "true", "TEMPLATE_PATH": "~/.clipboard-templates" } } } } ``` ### Use Cases **Code Formatting**: Automatically format and beautify code from clipboard. **Data Conversion**: Convert clipboard data between common formats on the fly. **Snippet Workflow**: Create powerful text expansion workflows with templates. **Smart Paste**: Paste content transformed for the target context. The Clipboard Smart MCP Server brings intelligent clipboard operations directly into your development workflow, enabling context-aware content manipulation.
{
"mcpServers": {
"clipboard-smart": {
"mcpServers": {
"clipboard-smart": {
"args": [
"-y",
"clipboard-mcp"
],
"command": "npx"
}
}
}
}
}