MCP tool server

Rule-Based File Validator Tools

For AI assistants that accept local MCP servers. Tested on macOS; expected to work the same on Windows.

2 tool servers in one download.

Rule-Based File Validator, Line Rule Checker. You run it on your own account or key. This download gives no access to any assistant.

Version 1.0.0 · Teranite Systems

$18.00 USD, one-time

Buying this pack gets you a licence to use it, not ownership of the files.

Read the full licence

Buy for $18.00

  • Download right after payment, and by email.
  • Runs on your own account or key.
  • Refund within 14 days, for any reason.
  • Payment is handled by Stripe.

What it does

  • Rule-Based File Validator: Takes a file and a set of rules (e.g., date formats, value ranges, required fields), then checks every line. Reports errors with line numbers and descriptions.
  • Line Rule Checker: It checks every line of a text file against a user-defined set of forbidden patterns or required keywords. It lists the exact line number and the rule violated.

What's inside

  • Rule-Based File Validator: RULES.txt, json_rpc_dispatcher.py, server.py, tool.json and 4 Python files.
  • Line Rule Checker: RULES.txt, json_rpc_dispatcher.py, server.py, tool.json and 4 Python files.

With a README and the Teranite Facet Buyer Licence.

Sample

Rule-Based File Validator

A real run, test “Successful validation”. Input:

valid.txt
10,Item A
20,Item B
rules=1:^\d+$:Numeric required
2:^Item .+$:Item prefix required

Output:

Total errors: 0
FILE valid.txt
10,Item A
20,Item B

Line Rule Checker

A real run, test “Single violation”. Input:

cv.txt
Line 1
Line 2
Forbidden word here
Line 4
rules=Forbidden word

Output:

File cv.txt, Line 3: Found Forbidden word
FILE audit.txt
cv.txt:3 -> Forbidden word

Requirements

  • Your own assistant app that accepts local MCP servers, and Python 3.13.
  • Checked on macOS only: each server started and its tool called with its test inputs by our own client.
  • Not yet loaded or run inside any assistant itself.

Install

Unzip the download, then the zip inside it, into a folder you will keep. For each tool you want, add a local (stdio) MCP server to your assistant's app with the command python PATH/TO/rule-based-file-validator-tools/FOLDER/server.py, naming its folder.

Licence

One licence covers one person. Your finished work is yours. Do not share or resell the files.

How it is made

Facet Packs are made with Teranite's own software tools, some of them written with help from AI, and rendered or built by standard software. They contain no AI-generated images.

Support

Questions, or a fault: support@teranitesystems.com. We reply within 2 business days.

More from Assistant add-ons

See all