174 lines
6.9 KiB
Markdown
174 lines
6.9 KiB
Markdown
# HubSpot MCP Server - Tools Summary
|
|
|
|
All tool files have been successfully created and verified with TypeScript compilation.
|
|
|
|
## Total Tools: 108 (exceeds target of 60-80)
|
|
|
|
## Breakdown by Category
|
|
|
|
### 1. **contacts.ts** (8 tools)
|
|
- `hubspot_list_contacts` - List contacts with pagination
|
|
- `hubspot_get_contact` - Get single contact by ID
|
|
- `hubspot_create_contact` - Create new contact
|
|
- `hubspot_update_contact` - Update existing contact
|
|
- `hubspot_delete_contact` - Archive contact
|
|
- `hubspot_search_contacts` - Search contacts with filters
|
|
- `hubspot_batch_create_contacts` - Batch create contacts
|
|
- `hubspot_batch_update_contacts` - Batch update contacts
|
|
|
|
### 2. **companies.ts** (8 tools)
|
|
- `hubspot_list_companies` - List companies with pagination
|
|
- `hubspot_get_company` - Get single company by ID
|
|
- `hubspot_create_company` - Create new company
|
|
- `hubspot_update_company` - Update existing company
|
|
- `hubspot_delete_company` - Archive company
|
|
- `hubspot_search_companies` - Search companies with filters
|
|
- `hubspot_batch_create_companies` - Batch create companies
|
|
- `hubspot_batch_update_companies` - Batch update companies
|
|
|
|
### 3. **deals.ts** (9 tools)
|
|
- `hubspot_list_deals` - List deals with pagination
|
|
- `hubspot_get_deal` - Get single deal by ID
|
|
- `hubspot_create_deal` - Create new deal
|
|
- `hubspot_update_deal` - Update existing deal
|
|
- `hubspot_delete_deal` - Archive deal
|
|
- `hubspot_move_deal_stage` - Move deal to different stage
|
|
- `hubspot_search_deals` - Search deals with filters
|
|
- `hubspot_batch_create_deals` - Batch create deals
|
|
- `hubspot_batch_update_deals` - Batch update deals
|
|
|
|
### 4. **tickets.ts** (6 tools)
|
|
- `hubspot_list_tickets` - List tickets with pagination
|
|
- `hubspot_get_ticket` - Get single ticket by ID
|
|
- `hubspot_create_ticket` - Create new ticket
|
|
- `hubspot_update_ticket` - Update existing ticket
|
|
- `hubspot_delete_ticket` - Archive ticket
|
|
- `hubspot_search_tickets` - Search tickets with filters
|
|
|
|
### 5. **emails.ts** (7 tools)
|
|
- `hubspot_list_emails` - List marketing emails
|
|
- `hubspot_get_email` - Get single email by ID
|
|
- `hubspot_create_email` - Create new email
|
|
- `hubspot_update_email` - Update existing email
|
|
- `hubspot_send_email` - Send or schedule email
|
|
- `hubspot_clone_email` - Clone/duplicate email
|
|
- `hubspot_get_email_stats` - Get email statistics
|
|
|
|
### 6. **engagements.ts** (15 tools)
|
|
**Notes:**
|
|
- `hubspot_list_notes` - List engagement notes
|
|
- `hubspot_get_note` - Get single note
|
|
- `hubspot_create_note` - Create new note
|
|
- `hubspot_update_note` - Update existing note
|
|
- `hubspot_delete_note` - Archive note
|
|
|
|
**Calls:**
|
|
- `hubspot_list_calls` - List call engagements
|
|
- `hubspot_create_call` - Create new call
|
|
- `hubspot_delete_call` - Archive call
|
|
|
|
**Meetings:**
|
|
- `hubspot_list_meetings` - List meeting engagements
|
|
- `hubspot_create_meeting` - Create new meeting
|
|
- `hubspot_delete_meeting` - Archive meeting
|
|
|
|
**Tasks:**
|
|
- `hubspot_list_tasks` - List task engagements
|
|
- `hubspot_create_task` - Create new task
|
|
- `hubspot_update_task` - Update existing task
|
|
- `hubspot_delete_task` - Archive task
|
|
|
|
### 7. **pipelines.ts** (11 tools)
|
|
**Deal Pipelines:**
|
|
- `hubspot_list_deal_pipelines` - List all deal pipelines
|
|
- `hubspot_get_deal_pipeline` - Get deal pipeline by ID
|
|
- `hubspot_create_deal_pipeline` - Create new deal pipeline
|
|
- `hubspot_update_deal_pipeline` - Update deal pipeline
|
|
- `hubspot_delete_deal_pipeline` - Archive deal pipeline
|
|
- `hubspot_create_deal_stage` - Create new stage in pipeline
|
|
|
|
**Ticket Pipelines:**
|
|
- `hubspot_list_ticket_pipelines` - List all ticket pipelines
|
|
- `hubspot_get_ticket_pipeline` - Get ticket pipeline by ID
|
|
- `hubspot_create_ticket_pipeline` - Create new ticket pipeline
|
|
- `hubspot_update_ticket_pipeline` - Update ticket pipeline
|
|
- `hubspot_delete_ticket_pipeline` - Archive ticket pipeline
|
|
|
|
### 8. **lists.ts** (8 tools)
|
|
- `hubspot_list_lists` - List all contact lists
|
|
- `hubspot_get_list` - Get single list by ID
|
|
- `hubspot_create_static_list` - Create static contact list
|
|
- `hubspot_create_active_list` - Create dynamic contact list
|
|
- `hubspot_update_list` - Update existing list
|
|
- `hubspot_delete_list` - Delete list
|
|
- `hubspot_add_contacts_to_list` - Add contacts to list
|
|
- `hubspot_remove_contacts_from_list` - Remove contacts from list
|
|
|
|
### 9. **forms.ts** (6 tools)
|
|
- `hubspot_list_forms` - List all forms
|
|
- `hubspot_get_form` - Get single form by ID
|
|
- `hubspot_create_form` - Create new form
|
|
- `hubspot_update_form` - Update existing form
|
|
- `hubspot_delete_form` - Archive form
|
|
- `hubspot_get_form_submissions` - Get form submissions
|
|
|
|
### 10. **campaigns.ts** (5 tools)
|
|
- `hubspot_list_campaigns` - List all campaigns
|
|
- `hubspot_get_campaign` - Get single campaign by ID
|
|
- `hubspot_create_campaign` - Create new campaign
|
|
- `hubspot_update_campaign` - Update existing campaign
|
|
- `hubspot_get_campaign_stats` - Get campaign statistics
|
|
|
|
### 11. **blog.ts** (8 tools)
|
|
**Blog Posts:**
|
|
- `hubspot_list_blog_posts` - List blog posts
|
|
- `hubspot_get_blog_post` - Get blog post by ID
|
|
- `hubspot_create_blog_post` - Create new blog post
|
|
- `hubspot_update_blog_post` - Update blog post
|
|
- `hubspot_delete_blog_post` - Archive blog post
|
|
- `hubspot_publish_blog_post` - Publish/schedule blog post
|
|
|
|
**Blog Authors:**
|
|
- `hubspot_list_blog_authors` - List all blog authors
|
|
- `hubspot_get_blog_author` - Get blog author by ID
|
|
|
|
### 12. **analytics.ts** (6 tools)
|
|
- `hubspot_get_analytics_views` - Get page view analytics
|
|
- `hubspot_get_traffic_analytics` - Get traffic analytics
|
|
- `hubspot_get_sources_analytics` - Get traffic sources
|
|
- `hubspot_get_page_analytics` - Get page-specific analytics
|
|
- `hubspot_get_social_analytics` - Get social media analytics
|
|
- `hubspot_get_conversion_analytics` - Get conversion analytics
|
|
|
|
### 13. **workflows.ts** (6 tools)
|
|
- `hubspot_list_workflows` - List all workflows
|
|
- `hubspot_get_workflow` - Get workflow by ID
|
|
- `hubspot_create_workflow` - Create new workflow
|
|
- `hubspot_activate_workflow` - Activate workflow
|
|
- `hubspot_deactivate_workflow` - Deactivate workflow
|
|
- `hubspot_enroll_contact_in_workflow` - Enroll contact in workflow
|
|
|
|
### 14. **webhooks.ts** (5 tools)
|
|
- `hubspot_list_webhooks` - List all webhook subscriptions
|
|
- `hubspot_get_webhook` - Get webhook by ID
|
|
- `hubspot_create_webhook` - Create new webhook subscription
|
|
- `hubspot_update_webhook` - Update webhook subscription
|
|
- `hubspot_delete_webhook` - Delete webhook subscription
|
|
|
|
## Quality Standards Met
|
|
|
|
✅ All files export `getTools(client: HubSpotClient)` function
|
|
✅ Import client type from `'../clients/hubspot.js'`
|
|
✅ Use HubSpot CRM v3 API conventions
|
|
✅ Search API with filterGroups + sorts
|
|
✅ Batch operations with proper endpoints
|
|
✅ Pagination with `after` cursor + `limit`
|
|
✅ TypeScript compilation passes with `npx tsc --noEmit`
|
|
✅ Consistent naming: `hubspot_verb_noun`
|
|
✅ Proper error handling in responses
|
|
✅ Well-documented inputSchema for each tool
|
|
|
|
## Next Steps
|
|
|
|
The server foundation files (`src/server.ts`, `src/main.ts`) need to be updated to import and register all these tool modules for lazy loading.
|