Maton Model Context Protocol (MCP) server enables integration with Maton APIs through function calling. This protocol supports various applications and actions for interacting with different Maton services, providing a streamlined way to connect with platforms like HubSpot, Google Workspace, Salesforce, and many others.
You can run the Maton MCP server using npx with either the API Agent or API Action approach.
npx -y @maton/mcp hubspot --agent --api-key=YOUR_MATON_API_KEY
Run with all available actions:
npx -y @maton/mcp hubspot --actions=all --api-key=YOUR_MATON_API_KEY
Or specify only the actions you need:
npx -y @maton/mcp hubspot --actions=create-contact,list-contacts --api-key=YOUR_MATON_API_KEY
Replace YOUR_MATON_API_KEY
with your actual API key from the Maton Dashboard. Alternatively, you can set the MATON_API_KEY
in your environment variables.
To use with Claude Desktop, add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"maton": {
"command": "npx",
"args": [
"-y",
"@maton/mcp@latest",
"hubspot",
"--actions=all",
"--api-key=YOUR_MATON_API_KEY"
]
}
}
}
Again, replace YOUR_MATON_API_KEY
with your actual API key or use environment variables.
For debugging purposes, you can use the MCP Inspector:
npm run build
npx @modelcontextprotocol/inspector node dist/index.js salesforce --actions=all --api-key=YOUR_MATON_API_KEY
The Maton MCP server supports numerous applications and actions. Here's a selection of the available integrations:
Each application offers specific actions. For example, with HubSpot you can create contacts, list contacts, search contacts, and more. With Google Calendar, you can create, delete, get, and update events.
To use a specific application, simply replace the app name in the installation command:
npx -y @maton/mcp APP_NAME --actions=all --api-key=YOUR_MATON_API_KEY
Where APP_NAME
is one of the supported applications like hubspot
, google-calendar
, etc.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "maton" '{"command":"npx","args":["-y","@maton/mcp@latest","hubspot","--actions=all","--api-key=YOUR_MATON_API_KEY"]}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"maton": {
"command": "npx",
"args": [
"-y",
"@maton/mcp@latest",
"hubspot",
"--actions=all",
"--api-key=YOUR_MATON_API_KEY"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"maton": {
"command": "npx",
"args": [
"-y",
"@maton/mcp@latest",
"hubspot",
"--actions=all",
"--api-key=YOUR_MATON_API_KEY"
]
}
}
}
3. Restart Claude Desktop for the changes to take effect