JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 24
  • Score
    100M100P100Q98948F
  • License MIT

A command line tool for setting up Maton MCP server

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@maton/mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Maton Model Context Protocol

    The Maton Model Context Protocol server allows you to integrate with Maton APIs through function calling. This protocol supports various apps and actions to interact with different Maton services.

    You can get your API key in your Maton Dashboard and check out documentation.

    Setup

    To run the Maton MCP server using npx, use the following command:

    API Agent (Beta)

    # To use API agent
    npx -y @maton/mcp hubspot --agent --api-key=YOUR_MATON_API_KEY

    API Action

    # To set up all available API actions
    npx -y @maton/mcp hubspot --actions=all --api-key=YOUR_MATON_API_KEY
    
    # To set up all available API actions
    npx -y @maton/mcp hubspot --actions=create-contact,list-contacts --api-key=YOUR_MATON_API_KEY

    Make sure to replace YOUR_MATON_API_KEY with your actual Maton API key. Alternatively, you could set the MATON_API_KEY in your environment variables. You can get your API key in your Maton Dashboard.

    Usage with Claude Desktop

    Add the following to your claude_desktop_config.json. See here for more details.

    {
      "mcpServers": {
        "maton": {
          "command": "npx",
          "args": [
            "-y",
            "@maton/mcp@latest",
            "hubspot",
            "--actions=all",
            "--api-key=YOUR_MATON_API_KEY"
          ]
        }
      }
    }

    Make sure to replace YOUR_MATON_API_KEY with your actual Maton API key. Alternatively, you could set the MATON_API_KEY in env variables. You can get your API key in your Maton Dashboard.

    Debugging the Server

    To debug your server, you can use the MCP Inspector.

    First build the server

    npm run build

    Run the following command in your terminal:

    # Start MCP Inspector and server with all tools
    npx @modelcontextprotocol/inspector node dist/index.js salesforce --actions=all --api-key=YOUR_MATON_API_KEY

    Instructions

    1. Replace YOUR_MATON_API_KEY with your actual Maton API secret key.
    2. Run the command to start the MCP Inspector.
    3. Open the MCP Inspector UI in your browser and click Connect to start the MCP server.
    4. You can see the list of tools you selected and test each tool individually.

    Available API actions

    App Action
    hubspot create-contact
    hubspot get-contact
    hubspot list-contacts
    hubspot search-contacts
    hubspot merge-contacts
    hubspot update-contact
    hubspot delete-contact
    hubspot create-deal
    hubspot get-deal
    hubspot list-deals
    hubspot search-deals
    hubspot merge-deals
    hubspot update-deal
    hubspot delete-deal
    jira list-clouds
    jira get-issue
    jira list-issues
    jira add-comment-to-issue
    jira list-comments
    jira update-comment
    jira list-projects
    jira get-user
    jira list-users
    klaviyo add-profiles-to-list
    klaviyo assign-template-to-campaign-message
    klaviyo create-campaign
    klaviyo create-list
    klaviyo create-profile
    klaviyo create-template
    klaviyo get-campaign-messages
    klaviyo get-campaign-send-job
    klaviyo get-campaigns
    klaviyo get-lists
    klaviyo get-profiles-for-list
    klaviyo get-profiles
    klaviyo get-templates
    klaviyo send-campaign
    salesforce create-contact
    salesforce get-contact
    salesforce list-contacts