Provides loyalty capabilities through a typed MCP contract.
Loyalty MCP Server
A loyalty-program layer for ADK-Rust Enterprise agents. 18 MCP tools over members, a points ledger, tiers, a rewards catalog, redemptions, and promotional offers — for membership, points-balance, and rewards agents.
What it gives an agent
A purpose-built capability behind one MCP connection.
The server owns its domain logic and publishes a tool contract an MCP client can discover. ADK-Rust can load that contract into an agent, normalize each schema for the chosen model provider, and keep the connection lifecycle outside the agent’s business logic.
Architecture
How Loyalty MCP Server fits into an agent system.
The model never needs the implementation details or credentials of the system behind the server. It sees reviewed tool definitions. The MCP client handles discovery and calls, while the server keeps ownership of validation, policy, and communication with its domain system.
ADK-Rust agent
Chooses a capability from the reviewed tool catalog.
MCP client
Discovers schemas, sends calls, and receives typed content.
Loyalty MCP Server
Validates the request and owns 18 documented tool contracts.
Domain system
Keeps the API, data, credentials, and business rules behind the server.
From the project documentation
The server’s published architecture
Tool catalog
What can an agent ask Loyalty MCP Server to do?
Each tool has a stable name, a human-readable purpose, and a JSON input contract discovered during MCP initialization. Risk classes come from the project’s registry manifest when one is available.
18 named tools
enroll_memberEnroll a new loyalty member
internal writeget_memberGet a member's account, tier, and balances
read onlyfind_memberFind members by membership number or name
read onlyset_member_statusChange a member's account status
internal writeget_balanceGet points balance and tier progress
read onlyearn_pointsEarn points from spend (tier + offer multipliers applied)
internal writeaward_pointsAward points directly (bonus/goodwill)
internal writeadjust_pointsManually adjust points up or down
internal writeexpire_pointsExpire points from a member's balance
internal writeget_ledgerGet a member's points-ledger history
read onlycreate_rewardCreate a catalog reward
internal writelist_rewardsList active rewards (optionally tier-filtered for a member)
read onlyGovernance
Understand the effect of every tool.
A server connection inherits the authority of its credentials and deployment environment. The declarations below come from this project’s README and MCP registry manifest; your application still decides which tools an agent receives and where approval is required.
- Gated points writes — earn_points, award_points, adjust_points, expire_points, redeem_reward, and set_redemption_status require approval in production (they move points of monetary value);…
- Balance integrity — all changes go through the ledger; the balance can never go negative, and cancellations are reversed via compensating entries.
- No raw PII — members carry a contact reference, not necessarily raw contact details.
- Integration scaffold — the in-memory store is for development; back it with a durable store and bind actors to authenticated identities in production.
MCP surface
What the current documentation declares.
MCP can carry tools, resources, prompts, structured results, progress, cancellation, and long-running work. This record highlights the modern protocol features explicitly mentioned by this repository.
Install and connect
Follow the project’s documented starting point.
Install the server in the environment that owns its credentials and domain access. Add it to your MCP host, verify the discovered tools, and narrow the toolset before giving it to a production agent.
cargo install mcp-loyaltylet toolset = McpToolset::from_stdio(
"mcp-loyalty",
["mcp-loyalty"],
).await?;
let agent = LlmAgentBuilder::new("agent")
.tools(toolset.tools().await?)
.build()?;Commands and configuration are extracted from the public README. Confirm prerequisites, environment variables, and release-specific options in the official documentation before deployment.
Official documentation
Continue with the project maintainers’ source of truth.
This page provides an approachable map of the server. The repository remains authoritative for exact schemas, prerequisites, configuration, examples, tests, releases, and security updates.
Keep exploring
More in business operations.
Source record
Release and repository metadata for this catalog entry.
- Version
- 1.0.0
- License
- Apache-2.0
- Tools
- 18
- Revision
- 9fb44db179eb
- Updated
- Jun 9, 2026