Skip to main content
Glama

Fergus MCP Server

by Jayco-Design

Fergus MCP Server

A Model Context Protocol (MCP) server that integrates with the Fergus API, enabling AI assistants like Claude to interact with Fergus's job management platform.

Features

  • πŸ” Secure authentication using Personal Access Tokens

  • πŸ“‹ Access to jobs, customers, quotes, sites, and more

  • πŸ› οΈ Tools for creating and managing Fergus resources

  • πŸ”„ Real-time data synchronization with Fergus API

Installation

Using with Claude Desktop

The easiest way to use this MCP server with Claude Desktop is via npx:

claude mcp add fergus-mcp -- npx -y fergus-mcp --api-token YOUR_API_TOKEN

Or add it manually to your Claude Desktop config:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "fergus": { "command": "npx", "args": ["-y", "fergus-mcp", "--api-token", "YOUR_API_TOKEN"] } } }

Using with Other MCP Clients

For other MCP clients that support the stdio transport:

{ "mcpServers": { "fergus": { "command": "npx", "args": ["-y", "fergus-mcp", "--api-token", "YOUR_API_TOKEN"] } } }

Local Development

  1. Clone this repository

  2. Install dependencies:

    pnpm install
  3. Build the project:

    pnpm run build
  4. Run in development mode:

    pnpm run dev -- --api-token YOUR_API_TOKEN

Configuration

Authentication

You need a Personal Access Token (PAT) from Fergus to use this server. Get yours from your Fergus account settings.

Option 1: Command-line argument (Recommended)

npx fergus-mcp --api-token YOUR_API_TOKEN

Option 2: Environment variable

Create a .env file:

FERGUS_API_TOKEN=your_fergus_api_token_here

Optional Configuration

  • --base-url: Override the default Fergus API base URL

  • FERGUS_BASE_URL: Environment variable for base URL

Available Tools

Jobs

  • get-job: Get details for a specific job by ID

  • list-jobs: List all jobs with optional filtering

Resources

  • fergus://jobs: List of all jobs in Fergus

  • fergus://customers: List of all customers in Fergus

More tools and resources coming soon!

Usage Examples

Once connected to Claude Desktop, you can ask:

  • "Show me all active jobs in Fergus"

  • "Get details for job #12345"

  • "List all customers"

  • "Create a new job for customer ABC Corp"

Development

Project Structure

fergus-mcp/ β”œβ”€β”€ src/ β”‚ β”œβ”€β”€ index.ts # Main server entry point β”‚ β”œβ”€β”€ config.ts # Configuration management β”‚ β”œβ”€β”€ fergus-client.ts # Fergus API client wrapper β”‚ β”œβ”€β”€ resources/ # MCP resource handlers β”‚ └── tools/ # MCP tool handlers β”œβ”€β”€ package.json β”œβ”€β”€ tsconfig.json └── README.md

Building

pnpm run build

Running in Dev Mode

pnpm run dev -- --api-token YOUR_API_TOKEN

Security

  • Never commit your Personal Access Token to version control

  • Use environment variables or CLI arguments for configuration

  • The server runs locally and communicates directly with the Fergus API

  • No data is stored or transmitted to third parties

License

MIT

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

Support

For issues and questions:

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Enables AI assistants to interact with Fergus job management platform through secure API integration. Supports managing jobs, customers, quotes, and sites with real-time data synchronization.

  1. Features
    1. Installation
      1. Using with Claude Desktop
      2. Using with Other MCP Clients
      3. Local Development
    2. Configuration
      1. Authentication
      2. Optional Configuration
    3. Available Tools
      1. Jobs
      2. Resources
    4. Usage Examples
      1. Development
        1. Project Structure
        2. Building
        3. Running in Dev Mode
      2. Security
        1. License
          1. Contributing
            1. Support

              MCP directory API

              We provide all the information about MCP servers via our MCP API.

              curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jayco-Design/fergus-mcp'

              If you have feedback or need assistance with the MCP directory API, please join our Discord server