Provides MCP-based access to Maton APIs, enabling hub-specific actions via function calling.
Configuration
View docs{
"mcpServers": {
"maton-ai-agent-toolkit": {
"command": "npx",
"args": [
"-y",
"@maton/mcp",
"hubspot",
"--agent",
"--api-key",
"YOUR_MATON_API_KEY"
],
"env": {
"MATON_API_KEY": "YOUR_MATON_API_KEY"
}
}
}
}The Model Context Protocol (MCP) lets you connect your preferred client to Maton APIs through function calling, enabling dynamic, context-aware actions across apps. This server bridges your MCP client with Maton’s API capabilities, so you can perform configured actions like managing contacts, tasks, events, and more directly from your MCP-enabled workflow.
Use MCP with your Maton setup by running the MCP server commands via your shell. You provide your Maton API key and choose the hub you want to expose as MCP endpoints. Once started, your MCP client can invoke the available actions for that hub and receive structured responses that you can incorporate into your conversations, automations, or decision-making logic.
Prerequisites: Node.js 18 or newer must be installed on your machine.
Install the Maton MCP toolkit package locally to enable MCP server access.
Install the MCP server client package and prepare your environment as you follow these steps.
To run the MCP server for HubSpot API actions, use the following command pattern. You must replace YOUR_MATON_API_KEY with your actual API key from your Maton dashboard. You may also export MATON_API_KEY in your environment.
The MCP server exposes a wide range of actions across many apps. For HubSpot, you can access contact-related actions such as creating, retrieving, listing, merging, updating, and deleting contacts, as well as deal-related operations. Other apps provide analogous CRUD-like or retrieval actions for their respective resources.
Protect your Maton API key. Do not expose it in public logs or shared code. Use environment variables when possible, and restrict access to systems that run the MCP server.
Create a new contact in HubSpot using the Maton MCP hubspot integration.
Retrieve details for a specific HubSpot contact by ID or email.
List contacts in HubSpot with optional filtering and pagination.
Merge two HubSpot contacts based on specified criteria.
Update fields on an existing HubSpot contact.
Remove a HubSpot contact from HubSpot.
Create a new deal in HubSpot.
Fetch details for a specific HubSpot deal.
List deals in HubSpot with optional filters.
Search deals by criteria across HubSpot.
List projects in supported integrations where applicable.
Create a task in a connected app (e.g., project management tool).
Retrieve details of a specific task.
List tasks within a project or workspace.
List available workspaces in the connected app.