Fill-Rite MCP

Fill-Rite MCP

Enables AI agents to interact with a user's Fill-Rite fuel management system, with token refresh handling for continuous access.

Category
Visit Server

README

Fill-Rite MCP

This project is an MCP to allow agents to interact with a user's Fill-Rite.

Access Tokens

Fill-Rite access tokens go stale in 30 minutes, and refresh tokens go stale in 7 days. You must run the refresh_tokens() function at least once per week (before the 7 days are up!) otherwise you will need to add new tokens to your tokens.json file.

Tokens are checked for staleness at every tool call, and refreshed if needed, so as long as the MCP is used once per week you will be fine.

You could also set up a cron job to refresh your token every 3-4 days, or you could set a scheduled prompt on your AI agent that makes any tool call in this MCP at least once per week.

Setup

I have only tested this on macOS, and these setup steps assume you use macOS. In the future I plan to write an install script that will make setup simple.

Claude Code

  1. Navigate to the directory you want to run the MCP in and clone the repo:
   git clone https://github.com/ribeck18/fill-rite-mcp.git
  1. Register the MCP with Claude Code:
   claude mcp add fillrite -- uv run --directory {path_to_repo} main.py
  1. In the directory you just cloned, make a new file called tokens.json. Paste the following into it, replacing the placeholders with your API tokens from Fill-Rite:
   {
       "access_token": {
           "token": "{your_access_token}",
           "expires_at": ""
       },
       "refresh_token": {
           "token": "{your_refresh_token}"
       }
   }

Make sure your access token starts with "Bearer ". Leave expires_at blank for now.

  1. In the same directory, make a file called .env. Paste the following into it:
   BASE_URL=https://fmsapi.fillrite.com/rest/v1.0/

Your MCP should now function properly in Claude Code.

Claude Desktop

  1. Navigate to the directory you want to run the MCP in and clone the repo:
   git clone https://github.com/ribeck18/fill-rite-mcp.git
  1. In the directory you just cloned, make a new file called tokens.json. Paste the following into it, replacing the placeholders with your API tokens from Fill-Rite:
   {
       "access_token": {
           "token": "{your_access_token}",
           "expires_at": ""
       },
       "refresh_token": {
           "token": "{your_refresh_token}"
       }
   }

Make sure your access token starts with "Bearer ". Leave expires_at blank for now.

  1. In the same directory, make a file called .env. Paste the following into it:
   BASE_URL=https://fmsapi.fillrite.com/rest/v1.0/
  1. Navigate to your claude desktop config file. If it does not exist, create it.
    ~/Library/Application\ Support/Claude/claude_desktop_config.json
  1. Add the following to that file.
    {
        "mcpServers": {
            "Fill-Rite": {
                "command": "{path_to_uv}",
                "args": [
                    "run",
                    "--directory",
                    "{path_to_cloned_repo}",
                    "main.py"
                ]
            }
        }
    }

Your path to uv can be found with which uv.

  1. Restart your Claude Desktop app. After restart the MCP should function.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured