npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@efficy/tribecrm-mcp-server

v0.3.0

Published

Model Context Protocol server for TribeCRM API - enables AI assistants to interact with TribeCRM

Readme

TribeCRM MCP Server

npm version TypeScript MCP SDK License: MIT

Model Context Protocol (MCP) server for TribeCRM API integration. This server enables AI assistants like Claude to interact with TribeCRM entities, perform searches, and manage connectors.

🚀 Features

Tools

  • Entity Management (CRUD operations)
    • Create, read, update, and delete CRM entities
    • Support for contacts, companies, deals, activities, and more
  • Advanced Search & Query
    • Search across entities with filters and pagination
    • Complex filter criteria support
  • Connector Management
    • List available integration connectors
    • Get connector details and status

Resources

  • Entity Type Definitions: Access schema and field information for entity types
  • Dynamic Resources: Entity data exposed as MCP resources for context

📋 Prerequisites

  • Node.js 18 or higher
  • TribeCRM API credentials (Client ID and Secret)
  • Access to a TribeCRM instance

🔧 Installation

Option 1: Using npx (Recommended)

No installation required! The server can be run directly using npx.

Option 2: Local Development

git clone https://github.com/efficy-sa/tribecrm-mcp-server.git
cd tribecrm-mcp-server
npm install
npm run build

⚙️ Configuration

Claude Desktop Configuration

Add to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Using npx (Recommended)

{
  "mcpServers": {
    "tribecrm": {
      "command": "npx",
      "args": ["-y", "@efficy/tribecrm-mcp-server"],
      "env": {
        "TRIBECRM_API_URL": "https://api.tribecrm.nl",
        "TRIBECRM_AUTH_URL": "https://auth.tribecrm.nl",
        "TRIBECRM_CLIENT_ID": "your_client_id",
        "TRIBECRM_CLIENT_SECRET": "your_client_secret",
        "TRIBECRM_ORGANIZATION_ID": "your_org_id"
      }
    }
  }
}

Using Local Installation

{
  "mcpServers": {
    "tribecrm": {
      "command": "node",
      "args": ["/absolute/path/to/tribecrm-mcp-server/dist/index.js"],
      "env": {
        "TRIBECRM_API_URL": "https://api.tribecrm.nl",
        "TRIBECRM_AUTH_URL": "https://auth.tribecrm.nl",
        "TRIBECRM_CLIENT_ID": "your_client_id",
        "TRIBECRM_CLIENT_SECRET": "your_client_secret",
        "TRIBECRM_ORGANIZATION_ID": "your_org_id"
      }
    }
  }
}

Getting TribeCRM Credentials

  1. Log in to your TribeCRM instance
  2. Navigate to Settings > Integrations > OAuth2 Apps
  3. Create a new OAuth2 application with "Service Account" type
  4. Copy the Client ID and Client Secret
  5. Add required scopes: read write offline

Environment Variables

  • TRIBECRM_API_URL (required): Your TribeCRM API URL (e.g., https://api.tribecrm.nl or https://api-staging.tribecrm.nl)
  • TRIBECRM_AUTH_URL (required): Your TribeCRM OAuth2 authentication URL (e.g., https://auth.tribecrm.nl or https://auth-staging.tribecrm.nl)
  • TRIBECRM_CLIENT_ID (required): OAuth2 Client ID
  • TRIBECRM_CLIENT_SECRET (required): OAuth2 Client Secret
  • TRIBECRM_ORGANIZATION_ID (optional): Organization UUID for multi-tenant setups

📚 Available Tools

Entity Operations

tribecrm_get_entity

Retrieve a specific entity by ID

Parameters:

  • entityType (string): Entity type (e.g., 'contact', 'company', 'deal')
  • entityId (string): Unique entity identifier

Example:

{
  "entityType": "contact",
  "entityId": "12345"
}

tribecrm_create_entity

Create a new entity

Parameters:

  • entityType (string): Entity type to create
  • data (object): Entity data as key-value pairs

Example:

{
  "entityType": "contact",
  "data": {
    "name": "John Smith",
    "email": "[email protected]",
    "phone": "+1234567890"
  }
}

tribecrm_update_entity

Update an existing entity

Parameters:

  • entityType (string): Entity type
  • entityId (string): Entity ID to update
  • data (object): Updated entity data

Example:

{
  "entityType": "contact",
  "entityId": "12345",
  "data": {
    "email": "[email protected]"
  }
}

tribecrm_delete_entity

Delete an entity

Parameters:

  • entityType (string): Entity type
  • entityId (string): Entity ID to delete

Search Operations

tribecrm_search_entities

Search for entities with filters and pagination

Parameters:

  • entityType (string, required): Entity type to search
  • query (string, optional): Search query string
  • filters (object, optional): Filter criteria
  • page (number, optional): Page number (default: 1)
  • pageSize (number, optional): Results per page (default: 20, max: 100)

Example:

{
  "entityType": "company",
  "query": "tech",
  "filters": {
    "location": "New York",
    "status": "active"
  },
  "page": 1,
  "pageSize": 20
}

Connector Operations

tribecrm_list_connectors

List all available connectors

Parameters: None

tribecrm_get_connector

Get details of a specific connector

Parameters:

  • connectorId (string): Connector ID

📖 Documentation

🏗️ Architecture

┌─────────────────┐
│  MCP Client     │
│  (Claude, etc.) │
└────────┬────────┘
         │
         │ MCP Protocol (stdio)
         │
┌────────▼────────────────┐
│  TribeCRM MCP Server    │
│  ┌──────────────────┐   │
│  │  Tool Handlers   │   │
│  │  - Entity CRUD   │   │
│  │  - Search        │   │
│  │  - Connectors    │   │
│  └──────────────────┘   │
│  ┌──────────────────┐   │
│  │ Resource Handler │   │
│  │ - Entity Types   │   │
│  └──────────────────┘   │
│  ┌──────────────────┐   │
│  │  API Client      │   │
│  │  - OAuth2 Auth   │   │
│  │  - HTTP Requests │   │
│  └──────────────────┘   │
└────────┬────────────────┘
         │
         │ HTTPS + OAuth2
         │
┌────────▼────────────┐
│  TribeCRM API       │
│  (REST API)         │
└─────────────────────┘

🔐 Authentication

The server uses OAuth2 Client Credentials flow:

  1. Authenticates with TribeCRM API using client credentials
  2. Obtains access token
  3. Automatically refreshes token before expiry
  4. Includes token in all API requests

🛠️ Development

Project Structure

tribecrm-mcp-server/
├── src/
│   ├── index.ts          # Main MCP server implementation
│   ├── client.ts         # TribeCRM API client
│   └── types.ts          # TypeScript type definitions
├── docs/
│   ├── EXAMPLES.md       # Usage examples
│   └── TROUBLESHOOTING.md # Troubleshooting guide
├── dist/                 # Compiled JavaScript (generated)
├── .env.example          # Environment template
├── package.json          # Dependencies and scripts
├── tsconfig.json         # TypeScript configuration
└── README.md            # This file

Tech Stack

  • TypeScript - Type-safe development
  • @modelcontextprotocol/sdk - MCP protocol implementation
  • axios - HTTP client for API requests
  • dotenv - Environment variable management

🤝 Contributing

Contributions are welcome! Please see CONTRIBUTING.md for guidelines.

📝 License

MIT License - see LICENSE file for details

🔗 Links

📧 Support

For issues and questions:


Note: This is an unofficial MCP server for TribeCRM. For official API documentation, please refer to your TribeCRM instance documentation.