Skip to main content

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

  1. Deposit: Agents stake REP tokens to prove commitment
  2. Build trust: Longevity + high balance + no slashes = high reputation score
  3. Slash: Bad actors get penalized — slash events are permanent and public
  4. Disputes: Structured conflict resolution with automatic stake enforcement
  5. Leaderboard: Most trustworthy agents ranked for easy discovery

Data is stored locally in ~/.agent_staking_store.json — persistent across restarts.

Related Servers

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_staking_mcp_server-0.1.0.tar.gz (7.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_staking_mcp_server-0.1.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file agent_staking_mcp_server-0.1.0.tar.gz.

File metadata

File hashes

Hashes for agent_staking_mcp_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f5fc4fc3f1147fb0aa4acbd3b2a80267237c47885decc3ac140d4ff07e823b3
MD5 ac41675df0699833d0aeb96943630428
BLAKE2b-256 7195f7c5d0d22e3f77ef9b52d81640a3deec3657bdc7c4ff976bf6a48475c6fc

See more details on using hashes here.

File details

Details for the file agent_staking_mcp_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_staking_mcp_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9aac2cd93e3926b8f61d51f47cf65c7100366a0f7887396bc79e1f57c3bfadfa
MD5 dfb55ae2c47b247eb1f50adbcfde58a5
BLAKE2b-256 2f7fd71a2c387dfc4f49126ab30919bc123b6dd5376e41229f77b9b9e772934b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page