# MCP Integration

Connect AI assistants (Claude, ChatGPT, Cursor, Raycast) to your X (Twitter) bookmarks over the Model Context Protocol to search, filter, and label saved posts.

The Tweetsmash MCP server exposes these tools:

- `list_bookmarks`
- `search_bookmarks`
- `get_bookmark`
- `get_bookmark_count`
- `setup_vector_store`
- `list_labels`
- `add_labels_to_tweets`
- `remove_labels_from_tweets`
- `tag_bookmarks_by_filter`
- `archive_bookmarks`
- `archive_bookmarks_by_filter`
- `list_smart_views`
- `get_smart_view`
- `get_smart_view_bookmarks`
- `create_smart_view`
- `update_smart_view`
- `delete_smart_view`
- `create_share_link`
- `revoke_share_link`
- `trigger_pdf_export`
- `trigger_csv_export`
- `trigger_json_export`
- `list_digest_preferences`
- `update_digest_preference`
- `delete_digest_preference`
- `list_past_digests`
- `list_twitter_lists`
- `get_list_tweets`
- `get_list_digests`
- `send_list_digest`
- `get_sync_status`
- `get_bookmark_sync_status`
- `get_me`
- `remember`
- `recall`
- `forget`
- `get_library_overview`
- `list_skills`
- `get_skill`
- `search_docs`

Connect over MCP or call REST directly at `https://api.tweetsmash.com/v1` with an `Authorization: Bearer` header.

Full guide: https://www.tweetsmash.com/api-docs/mcp-integration
