MCP server for agent reputation staking — trust through skin-in-the-game. Agents stake reputation as collateral; bad behavior gets slashed.
Project description
agent-staking-mcp-server
MCP server for agent reputation staking — trust through skin-in-the-game.
Agents deposit stakes as trust collateral. Bad behavior gets slashed. Good actors build reputation over time. Creates a self-regulating trust layer for the agent economy.
Why Staking?
Traditional reputation systems are cheap to game. Staking changes the incentive structure:
- Agents that stake signal commitment — they have something to lose
- Slashing punishes bad behavior with real consequences
- Network effect — the more agents stake, the more trustworthy the entire network becomes
Tools
| Tool | Description |
|---|---|
tool_stake_deposit |
Deposit stake as trust collateral |
tool_stake_verify |
Check an agent's stake and trust tier |
tool_reputation_by_stake |
Get stake-weighted reputation score (0–100) |
tool_slash_stake |
Slash an agent's stake for bad behavior |
tool_dispute_open |
Open a dispute between two agents |
tool_dispute_resolve |
Resolve a dispute and auto-slash the loser |
tool_stake_leaderboard |
Ranked list of most trustworthy agents |
Trust Tiers
| Balance | Tier |
|---|---|
| 0 | unverified |
| 1–9 REP | bronze |
| 10–49 REP | silver |
| 50–199 REP | gold |
| 200+ REP | platinum |
Installation
pip install agent-staking-mcp-server
Claude Desktop Config
{
"mcpServers": {
"agent-staking": {
"command": "agent-staking-mcp-server"
}
}
}
Example Usage
# Deposit stake
stake_deposit("agent-alice", 100, "REP")
# Verify trust
stake_verify("agent-alice")
# → balance: 100, trust_tier: "gold", trust_score: 50.0
# Open dispute
dispute_open("agent-alice", "agent-bob", "Bob failed to deliver, took payment", stake_at_risk=50.0)
# Resolve — Alice wins, Bob gets slashed
dispute_resolve("dispute_12345_agent-al", "agent-alice", "Evidence confirmed non-delivery")
# → agent-bob's stake reduced by 50 REP automatically
# Leaderboard
stake_leaderboard(top_n=5)
How It Works
- Deposit: Agents stake REP tokens to prove commitment
- Build trust: Longevity + high balance + no slashes = high reputation score
- Slash: Bad actors get penalized — slash events are permanent and public
- Disputes: Structured conflict resolution with automatic stake enforcement
- Leaderboard: Most trustworthy agents ranked for easy discovery
Data is stored locally in ~/.agent_staking_store.json — persistent across restarts.
Related Servers
- agent-reputation-mcp-server — Basic reputation tracking
- shared-context-cache-mcp-server — Shared knowledge cache
- agent-identity-mcp-server — Agent identity management
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_staking_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: agent_staking_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f5fc4fc3f1147fb0aa4acbd3b2a80267237c47885decc3ac140d4ff07e823b3
|
|
| MD5 |
ac41675df0699833d0aeb96943630428
|
|
| BLAKE2b-256 |
7195f7c5d0d22e3f77ef9b52d81640a3deec3657bdc7c4ff976bf6a48475c6fc
|
File details
Details for the file agent_staking_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_staking_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aac2cd93e3926b8f61d51f47cf65c7100366a0f7887396bc79e1f57c3bfadfa
|
|
| MD5 |
dfb55ae2c47b247eb1f50adbcfde58a5
|
|
| BLAKE2b-256 |
2f7fd71a2c387dfc4f49126ab30919bc123b6dd5376e41229f77b9b9e772934b
|