MCP tool server

Client Session Credit Allocator

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

It subtracts session credits from a client pool using a lead-assistant ratio.

It calculates the payout for each trainer based on their role in that session. You run it on your own account or key. This download gives no access to any assistant.

Version 1.0.0 · Teranite Systems

$10.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 $10.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

It subtracts session credits from a client pool using a lead-assistant ratio. It calculates the payout for each trainer based on their role in that session. You run it on your own account or key. This download gives no access to any assistant.

What's inside

  • Client session credit allocato: RULES.txt, json_rpc_dispatcher.py, server.py, tool.json and 4 Python files.

With a README and the Teranite Facet Buyer Licence.

Sample

Client Session Credit Allocator

A real run, test “Standard Depletion”. Input:

clients.txt
Client: Person A, Credits: 20.00
sessions.txt
Session: Person A, Lead: Trainer 1, Assistant: Trainer 2, Cost: 1.00

Output:

Client Person A: 19.00 left
Trainer Trainer 1: 0.70 earned
Trainer Trainer 2: 0.30 earned
FILE payouts.txt
Trainer 1: 0.70
Trainer 2: 0.30

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/client-session-credit-allocator/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