# @agtnames/mcp

MCP server for .agt agent names: resolve, verify and discover agents by name against AGT Registry v2, and (opt-in) write records under an owner-signed session grant. Works with any MCP-compatible client (Claude Code, Cursor, custom agents).

- **Type:** MCP server
- **Trust:** 85/100 (A), scored on the package rubric
- **Verification:** verified (build provenance)
- **Version:** 1.5.2
- **Author:** Unknown
- **License:** MIT
- **npm:** @agtnames/mcp
- **Endpoints:** streamable-http https://agtnames.com/api/mcp
- **Source:** https://github.com/agtnames/agt
- **Endpoint health:** reachable (last checked 2026-09-23T11:29:39.547Z, 1 sample) — uptime is not a security property and is not part of the trust score
- **Compatible clients:** claude-code, cursor, copilot, chatgpt, gemini (basis: transport)

## Trust

85/100 (A), scored on the package rubric
- Publisher verified: no
- Build provenance: verified attestation
- npm trusted publishing (OIDC): yes
- Install scripts: nothing suspicious found
- Prompt-injection scan: not run
- Obfuscation scan: not run
- Evidence age: 0 days

## Security scan

- **Status:** clean
- **Scanned:** 2026-09-23T11:29:15.201Z
- **Version scanned:** 1.5.2
- **CVEs:** none found by OSV at scan time

## Tools

14 declared. Statically extracted from the shipped source — a floor on the surface, not a census.
- `agt_resolve` — Resolve a .agt agent name against AGT Registry v2: owner, expiry, active/perpetual, on-chain records, and the fetched manifest with three-way signature verifica
- `agt_manifest` — Fetch and verify only the manifest document for a .agt name (returned under `untrusted`, with `verified`, `manifestStatus` and `reasons`).
- `agt_endpoint` — Get an agent's endpoint URL for a protocol (mcp, a2a, http, ws) plus its pricing model (free, freemium, paid, contact) when the manifest verifies. Prefers the v
- `agt_available` — Check whether a .agt name can be registered right now (false if registered, reserved, or in grace).
- `agt_namehash` — Compute the ENS-style node and ERC-721 tokenId for a .agt name (no network access).
- `agt_session_new` — Create (or show) this machine's countersign session key and return its address. Give the address to the name owner: they sign a grant for it (names, record sett
- `agt_session_import` — Validate and store a grant the owner signed for this session. Refuses a grant for another session, an expired grant, or one whose caveats do not match its summa
- `agt_session_status` — Show the session address, whether a grant is imported, and (from the chain) calls used per name, expiry, whether the owner has revoked, and the session's gas ba
- `agt_session_forget` — Delete the imported grant from this machine (and the session key too if deleteKey is true). This is local housekeeping only: to revoke on-chain, the owner bumps
- `agt_set_text`
- `agt_set_addr`
- `agt_set_endpoint`
- `agt_set_manifest_uri`
- `agt_set_wallet`

## Install

**Verdict: install** — No blocking findings and no open coverage gaps — safe to install as configured.
**Config** (claude-code):
```json
"{\n  \"mcpServers\": {\n    \"mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"@agtnames/mcp\"\n      ],\n      \"env\": {\n        \"AGT_SESSION_PASSPHRASE\": \"<YOUR_AGT_SESSION_PASSPHRASE>\"\n      }\n    }\n  }\n}"
```
**Credentials it will ask for** (names only — Forge never holds a value):
- `AGT_SESSION_PASSPHRASE` — Agt Session Passphrase (optional)
Placeholders only. Forge never holds, brokers, or transmits a credential value — replace each <YOUR_NAME> in your own config file. Do not send a value back to Forge; no Forge endpoint accepts one.
- This entry needs 1 credential (0 required). The generated config carries placeholders, so it will fail in the editor rather than at runtime if they are left unset.

## Blast radius

Moderate blast radius — runs locally and hosted; holds an api key.
- Floor 27, ceiling 27 (tier: moderate)
- This is impact, not likelihood. A high radius is not a defect: a filesystem server is supposed to write files. It is never part of the trust score.

## Machine-readable views of this entry

- Signed JSON: https://forgeregistry.com/api/v1/packages/%40agtnames%2Fmcp
- Install plan: https://forgeregistry.com/api/v1/packages/%40agtnames%2Fmcp/install-plan
- Alternatives: https://forgeregistry.com/api/v1/alternatives/%40agtnames%2Fmcp
- HTML page: https://forgeregistry.com/registry/%40agtnames%2Fmcp
- MCP: POST https://forgeregistry.com/api/mcp → `forge_get_package` / `forge_install_plan`

## About this document

Generated by Forge (https://forgeregistry.com) — a compact rendering of the same record served, signed, at the JSON URL above. Trust and scan facts are the registry's own measurements; anything Forge did not measure is named as unmeasured rather than omitted.
