Skip to main content
Glama
Folk CRM MCP Server

Folk CRM MCP Server

by joshuayoes
README.md
# Folk CRM MCP Server

An MCP (Model Context Protocol) server that enables Claude to interact with your Folk CRM workspace. Manage contacts, companies, groups, notes, reminders, and more directly from your AI assistant.

Works with **Claude Code** (CLI), **Claude Desktop**, and **Claude Cowork**.

## Prerequisites

- **Folk Account**: You need a Folk CRM account with API access
- **API Key**: Generate an API key from your [Folk API settings](https://app.folk.app/apps/contacts/network/settings/api-keys)
- **Node.js**: Version 18 or higher
- **Claude Code**: Desktop or CLI with MCP support

## Installation

### Quick Start with npx

```bash
npx folk-crm-mcp
```

### Local Development

```bash
git clone https://github.com/joshuayoes/folk-crm-mcp.git
cd folk-crm-mcp
npm install
npm run build
```

## Configuration

Set your Folk API key as an environment variable:

```bash
export FOLK_API_KEY=your_api_key_here
```

### Environment Variables

| Variable | Required | Description |
|----------|----------|-------------|
| `FOLK_API_KEY` | Yes | Your Folk CRM API key |
| `FOLK_BASE_URL` | No | Custom API base URL |
| `FOLK_CRM_MCP_FILTERED_TOOLS` | No | Comma-separated list of tools to disable |

## Registering with Claude Code

```bash
claude mcp add folk-crm -e FOLK_API_KEY=your_api_key -- npx folk-crm-mcp
```

Or for local development:

```bash
claude mcp add folk-crm -e FOLK_API_KEY=your_api_key -- node /path/to/folk-crm-mcp/build/index.js
```

## Using with Claude Desktop & Cowork

[Claude Cowork](https://support.claude.com/en/articles/13345190-getting-started-with-cowork) extends Claude's agentic capabilities to Claude Desktop, allowing Claude to execute complex, multi-step tasks on your behalf.

### Setup

1. **Open Claude Desktop settings**
   - Click the Claude menu → Settings → Developer → Edit Config
   - Or manually edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS)

2. **Add the Folk CRM server configuration:**

```json
{
  "mcpServers": {
    "folk-crm": {
      "command": "npx",
      "args": ["-y", "folk-crm-mcp"],
      "env": {
        "FOLK_API_KEY": "your_api_key_here"
      }
    }
  }
}
```

3. **Restart Claude Desktop** completely (quit and reopen)

4. **Verify the connection**
   - Look for the MCP icon (hammer) in the chat input area
   - Click it to see available Folk CRM tools

### Configuration File Locations

| OS | Path |
|----|------|
| macOS | `~/Library/Application Support/Claude/claude_desktop_config.json` |
| Windows | `%APPDATA%\Claude\claude_desktop_config.json` |
| Linux | `~/.config/Claude/claude_desktop_config.json` |

### Troubleshooting

Check the MCP server logs if you encounter issues:

```bash
# macOS
cat ~/Library/Logs/Claude/mcp-server-folk-crm.log

# Windows
type %APPDATA%\Claude\logs\mcp-server-folk-crm.log
```

#### "Failed to spawn process: No such file or directory"

This error occurs when Claude Desktop can't find `npx` because it doesn't have access to your full shell PATH. This is common when using version managers like **asdf**, **nvm**, **fnm**, or **volta**.

**Solution:** Use the full path to `npx` in your config:

1. Find your `npx` path:
   ```bash
   which npx
   ```

2. Update your config to use the full path:
   ```json
   {
     "mcpServers": {
       "folk-crm": {
         "command": "/Users/yourname/.asdf/shims/npx",
         "args": ["-y", "folk-crm-mcp"],
         "env": {
           "FOLK_API_KEY": "your_api_key_here"
         }
       }
     }
   }
   ```

3. Restart Claude Desktop completely (Cmd+Q / quit and reopen)

## Available Tools

### People Management
| Tool | Description |
|------|-------------|
| `list_people` | List people with search and pagination |
| `get_person` | Get a person by ID |
| `create_person` | Create a new person |
| `update_person` | Update an existing person |
| `delete_person` | Delete a person |

### Company Management
| Tool | Description |
|------|-------------|
| `list_companies` | List companies with pagination |
| `get_company` | Get a company by ID |
| `create_company` | Create a new company |
| `update_company` | Update an existing company |
| `delete_company` | Delete a company |

### Groups
| Tool | Description |
|------|-------------|
| `list_groups` | List all groups in your workspace |
| `list_group_custom_fields` | Get custom fields for a group |

### Notes
| Tool | Description |
|------|-------------|
| `list_notes` | List notes with filtering |
| `get_note` | Get a note by ID |
| `create_note` | Create a note on a person or company |
| `update_note` | Update an existing note |
| `delete_note` | Delete a note |

### Reminders
| Tool | Description |
|------|-------------|
| `list_reminders` | List reminders with filtering |
| `get_reminder` | Get a reminder by ID |
| `create_reminder` | Create a reminder |
| `update_reminder` | Update a reminder |
| `delete_reminder` | Delete a reminder |

### Users
| Tool | Description |
|------|-------------|
| `list_users` | List workspace users |
| `get_current_user` | Get the authenticated user |
| `get_user` | Get a user by ID |

### Interactions
| Tool | Description |
|------|-------------|
| `create_interaction` | Log an interaction with a contact |

### Webhooks
| Tool | Description |
|------|-------------|
| `list_webhooks` | List all webhooks |
| `get_webhook` | Get a webhook by ID |
| `create_webhook` | Create a webhook subscription |
| `update_webhook` | Update a webhook |
| `delete_webhook` | Delete a webhook |

### Deals/Custom Objects
| Tool | Description |
|------|-------------|
| `list_deals` | List deals in a group |
| `get_deal` | Get a deal by ID |
| `create_deal` | Create a deal |
| `update_deal` | Update a deal |
| `delete_deal` | Delete a deal |

## Example Usage

Once registered with Claude Code, you can use natural language:

```
"List all my contacts in Folk"
"Create a new person named John Doe with email john@example.com"
"Add a note to the contact with ID xyz saying 'Follow up next week'"
"Show me all my groups"
"Create a reminder to call John Doe on Friday"
```

## Development

```bash
# Build the project
npm run build

# Run with MCP Inspector for testing
FOLK_API_KEY=your_key npm run dev

# Watch mode for development
npm run watch
```

## Filtering Tools

To disable specific tools, set the `FOLK_CRM_MCP_FILTERED_TOOLS` environment variable:

```bash
export FOLK_CRM_MCP_FILTERED_TOOLS=delete_person,delete_company,delete_note
```

## License

MIT

TDQS

B3.2/5.0

Scored across 36 tools

Disambiguation5/5

Each tool targets a distinct resource and action: people, companies, notes, reminders, deals, webhooks, users, groups, and custom fields are cleanly separated. Potential overlaps such as get_user vs get_current_user or list_groups vs list_group_custom_fields are clarified by the tool names and descriptions.

Naming Consistency5/5

The server uses a consistent snake_case verb_noun pattern throughout, e.g. create_company, update_person, list_deals, delete_webhook. Minor special cases like get_current_user still fit the same readable convention.

Tool Count2/5

With 36 tools, the surface is heavy for a CRM MCP server and exceeds the typical well-scoped range. While many tools are justified by multiple CRUD entities, the count is large enough that discoverability and selection burden become significant.

Completeness4/5

Core CRM entities have strong lifecycle coverage: people, companies, deals, notes, reminders, and webhooks all include create/list/get/update/delete variants. The main gap is interactions, which only has create_interaction with no list/get/update/delete counterparts, and groups/custom fields are read-only.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues