Pylon MCP Server
# pylon-mcp
<img src="https://raw.githubusercontent.com/justinbeckwith/pylon-mcp/main/pylon-mcp.png" alt="pylon-mcp" width="400" />
MCP (Model Context Protocol) server for [Pylon](https://www.usepylon.com/) customer support platform.
## Installation
```bash
corepack enable
pnpm install
pnpm run build
```
## Configuration
1. Copy the example environment file:
```bash
cp .env.example .env
```
2. Edit `.env` and add your Pylon API token:
```
PYLON_API_TOKEN=your_api_token_here
```
You can generate an API token from the [Pylon dashboard](https://app.usepylon.com/settings/api-tokens). Note: Only Admin users can create API tokens.
## Usage
### With Claude Desktop
Add to your Claude Desktop configuration (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS):
```json
{
"mcpServers": {
"pylon": {
"command": "node",
"args": ["--env-file", "/path/to/pylon-mcp/.env", "/path/to/pylon-mcp/dist/index.js"]
}
}
}
```
### With Claude Code
Add to your Claude Code MCP settings:
```json
{
"mcpServers": {
"pylon": {
"command": "node",
"args": ["--env-file", "/path/to/pylon-mcp/.env", "/path/to/pylon-mcp/dist/index.js"]
}
}
}
```
## Available Tools
### Organization
- `pylon_get_organization` - Get information about your Pylon organization
### Accounts
- `pylon_list_accounts` - List all accounts with pagination
- `pylon_get_account` - Get a specific account by ID
- `pylon_create_account` - Create a new account
- `pylon_update_account` - Update an existing account
- `pylon_delete_account` - Delete an account
- `pylon_search_accounts` - Search accounts with filters
### Contacts
- `pylon_list_contacts` - List all contacts with pagination
- `pylon_get_contact` - Get a specific contact by ID
- `pylon_create_contact` - Create a new contact
- `pylon_update_contact` - Update an existing contact
- `pylon_delete_contact` - Delete a contact
- `pylon_search_contacts` - Search contacts with filters
### Issues
- `pylon_list_issues` - List issues within a time range
- `pylon_get_issue` - Get a specific issue by ID
- `pylon_create_issue` - Create a new issue/ticket
- `pylon_update_issue` - Update an existing issue
- `pylon_delete_issue` - Delete an issue
- `pylon_search_issues` - Search issues with filters
Pass a non-empty field-keyed filter, for example:
```json
{"filter":{"assignee_id":{"equals":"user-uuid"},"state":{"in":["new","waiting_on_you"]}},"limit":25}
```
All fields and operators are combined with AND. The server translates these
arguments into Pylon's `field`/`operator`/`value` (or `values`) API format.
`time_range` takes `{ "start": "...", "end": "..." }`; `is_set` and `is_unset`
take booleans (`false` selects the opposite condition). Unknown fields/operators,
empty filters, and empty value lists are rejected before sending a request.
- `pylon_snooze_issue` - Snooze an issue until a specific time
- `pylon_get_issue_followers` - Get issue followers
- `pylon_update_issue_followers` - Add/remove issue followers
### Messages
- `pylon_redact_message` - Redact a message from an issue
### Tags
- `pylon_list_tags` - List all tags
- `pylon_get_tag` - Get a specific tag by ID
- `pylon_create_tag` - Create a new tag
- `pylon_update_tag` - Update an existing tag
- `pylon_delete_tag` - Delete a tag
### Teams
- `pylon_list_teams` - List all teams
- `pylon_get_team` - Get a specific team by ID
- `pylon_create_team` - Create a new team
- `pylon_update_team` - Update an existing team
## Requirements
- Node.js 24+
- Pylon API token (Admin access required)
## License
MIT
TDQS
Scored across 33 tools
Each tool targets a distinct resource+action, and descriptions explicitly route between siblings (e.g. pylon_get_issue vs pylon_get_issue_body, list vs search variants). The main ambiguity is the near-parallel list_/search_ pairs for issues, accounts, and contacts, where an agent must infer that 'list' is time-scoped and 'search' is filter-based.
All 33 tools follow a uniform pylon_verb_noun pattern (pylon_get_issue_body, pylon_update_issue_followers, pylon_delete_tag). No style mixing or bare verbs; the prefix and snake_case are applied consistently across every resource.
33 tools exceeds a comfortable surface for an agent to scan, though each maps to a concrete resource/action across roughly six entities (issues, contacts, accounts, teams, tags, org). The count is defensible for a full CRUD CRM/support domain but heavy, with granular sub-tools like get_issue_body and follower management inflating it.
CRUD lifecycle is largely covered for contacts, accounts, tags, and issues, including followers and snoozing. Gaps exist around teams (no delete), and notably no tool to create or reply to a message/comment on an issue, which is central to a support ticketing domain.