Tctc MCP logo

Tctc MCP

Checks, discovers, grants, and revokes ERC-7303 token-controlled roles for AI agents over MCP.

Install Tctc MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "tctc-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "tctc-mcp",
        "--config",
        "<config>"
      ],
      "env": {
        "TCTC_ADMIN_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "TCTC_AGENT_PRIVATE_KEY": "YOUR_VALUE_HERE",
        "TCTC_AGENT_NAME": "YOUR_VALUE_HERE",
        "TCTC_DASHBOARD_URL": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env TCTC_ADMIN_PRIVATE_KEY=YOUR_VALUE_HERE --env TCTC_AGENT_PRIVATE_KEY=YOUR_VALUE_HERE --env TCTC_AGENT_NAME=YOUR_VALUE_HERE --env TCTC_DASHBOARD_URL=YOUR_VALUE_HERE --transport stdio tctc-mcp -- npx -y tctc-mcp --config '<config>'

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y tctc-mcp --config <config>

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

tctc-mcp exposes ERC-7303 token-controlled permissions to AI agents through MCP tools. It reads role and contract settings from a JSON configuration, checks live on-chain balances or IERC7303 contract responses, and can mint or burn control tokens in admin mode. Agent identity can come from a local EOA key, with ERC-8004 identities resolved to owners, wallets, and token-bound accounts. Reach for it when an agent needs verifiable, revocable, or time-limited blockchain permissions without a separate permission server.

Use cases

  • Check an agent’s on-chain permissions at session start
  • Grant a minting role to an agent for a defined period
  • Revoke an agent’s control-token permission immediately
  • Discover ERC-7303 roles on an unfamiliar contract
  • Resolve an ERC-8004 agent ID to its bound account

Key features

  • Live ERC-7303 role checks with evidence
  • IERC7303 contract introspection without role configuration
  • EOA-based agent identity and signed dashboard links
  • ERC-8004 and ERC-6551 agent resolution
  • Admin mint and burn operations for role tokens
  • Gasless expiry through expiring control tokens

Tools8

What Tctc MCP lets your agent do. Expand a tool for its parameters.

Self-reported~130 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

17/17 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 6d ago via OSV.dev · tctc-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads459Package downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.

How Tctc MCP works

What tctc-mcp does

tctc-mcp lets an MCP-compatible agent inspect and manage permissions represented by ERC-7303 control tokens. A token held by an account represents access to a configured role, so the agent can determine whether an address is authorized by querying the relevant contract on-chain. Administrative deployments can also issue or destroy those tokens, making grant_role and revoke_role the permission-management operations.

The server can identify the agent through an EOA private key stored in the working directory. Its address becomes the default subject for self-assessment, while a signed dashboard link lets a human inspect the agent and its held control tokens. ERC-8004 agentId values can be resolved to an owner, agent URI, agent wallet, and ERC-6551 Token Bound Account.

How it works

Run the published package through its tctc-mcp executable and provide a JSON configuration. Read-only operation registers the inspection and discovery tools. Admin operation additionally registers role issuance and revocation, provided the issuer key is supplied through TCTC_ADMIN_PRIVATE_KEY.

Role checks use live contract state. Configurations may identify control tokens directly, or name a target contract that supports IERC7303 so the server can obtain the target’s role and token information. discover_roles performs this inspection for an arbitrary address without requiring a role entry in the configuration. Non-IERC7303 contracts can use static control-token settings instead.

Expiring control tokens provide automatic, transaction-free expiry: after the expiry timestamp, balanceOf() returns zero and the permission is no longer effective. An issuer can still burn the token before that time for immediate revocation.

Setup and configuration

The package can be launched without cloning or building:

Terminal
npx -y tctc-mcp --config path/to/config.json

A secret-free Sepolia example configuration is available from the project’s examples. MCP clients can register the command as a stdio server, and applications can spawn the supported executable through npx --no-install tctc-mcp or the installed node_modules/.bin/tctc-mcp entry point.

Initialize an agent identity from its working directory with:

Terminal
npx -y tctc-mcp agent init --name "Alice"

This creates a mode-0600 .env.local containing the agent key. Keep that file out of version control. The agent key derives the EOA and signs the dashboard link; it is not used to sign blockchain transactions. Administrative credentials must be supplied through the environment, not embedded in configuration files.

Tools and capabilities

  • whoami returns the agent EOA and a signed dashboard link.
  • list_roles shows configured roles and their control tokens.
  • check_role checks an account’s live role status and returns supporting evidence.
  • check_all_roles evaluates the agent’s permissions across all configured roles.
  • discover_roles inspects any address for IERC7303 role information.
  • resolve_agent maps an ERC-8004 agent ID to related identity and wallet data when identity configuration is enabled.
  • grant_role mints a role token in admin mode.
  • revoke_role burns a subject’s role token in admin mode.

Subjects may be raw addresses, ERC-8004 agent IDs, the agent’s own key, or a configured self value.

Limitations and notes

Granting and revoking require admin mode and an issuer private key. The agent private key alone does not authorize transactions. Automatic expiry depends on an expiring control-token contract; it is not a feature added to the target role contract itself. Role discovery depends on IERC7303 support, while older or non-compliant deployments require static control-token configuration. The server communicates through MCP stdio and should be registered with an MCP client or spawned by an MCP-SDK application.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Tctc MCP

tctc-mcp is an MCP server that connects AI agents to ERC-7303 token-controlled roles on-chain. Its main tools inspect identities, list and discover roles, check permissions, assess all configured roles, resolve ERC-8004 agents, and, in admin mode, grant or revoke role tokens.

Install it by running the published package through `npx -y tctc-mcp --config path/to/config.json`. Register that command as a stdio MCP server in your client, or invoke the supported binary through `npx --no-install tctc-mcp` from an application.

Run tctc-mcp in admin mode with `TCTC_ADMIN_PRIVATE_KEY` set, then call `grant_role` for the subject and configured role. The subject may be an address, an ERC-8004 agent ID, the agent’s own key, or the configured `self` value.

Use an expiring control-token configuration and call `grant_role` with `expiresInSeconds`. Once the expiry passes, the token’s `balanceOf()` returns zero without another transaction, while `revoke_role` can still remove the permission immediately beforehand.

Yes. Claude Code can register it as a stdio MCP server with `claude mcp add` and the `npx -y tctc-mcp --config ...` command. The project also shows a project-scoped `.mcp.json` registration pattern.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewTctc MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/tctc-mcp?style=directory)](https://allmcps.com/mcp/tctc-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/tctc-mcp"><img src="https://allmcps.com/api/badge/tctc-mcp?style=directory" alt="Tctc MCP on AllMCPs" /></a>