Fill-Rite MCP
Enables AI agents to interact with a user's Fill-Rite fuel management system, with token refresh handling for continuous access.
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
- 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
- Register the MCP with Claude Code:
claude mcp add fillrite -- uv run --directory {path_to_repo} main.py
- 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.
- 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
- 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
- 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.
- In the same directory, make a file called
.env. Paste the following into it:
BASE_URL=https://fmsapi.fillrite.com/rest/v1.0/
- Navigate to your claude desktop config file. If it does not exist, create it.
~/Library/Application\ Support/Claude/claude_desktop_config.json
- 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.
- Restart your Claude Desktop app. After restart the MCP should function.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.