Metadata-Version: 2.4
Name: worldland-mcp
Version: 1.0.0
Summary: WorldLand Blockchain MCP SDK — DID, ERC-6551 TBA, x402 Payment, Trust Registry
Author: WorldLand Foundation
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: httpx>=0.25.0
Provides-Extra: crypto
Requires-Dist: cryptography>=41.0; extra == "crypto"
Provides-Extra: all
Requires-Dist: cryptography>=41.0; extra == "all"
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21; extra == "dev"

# worldland_mcp — WorldLand Blockchain MCP SDK

WorldLand 블록체인 상호작용을 위한 독립 MCP SDK.

## 설치

```bash
pip install worldland-mcp
# Ed25519 서명이 필요한 경우:
pip install worldland-mcp[crypto]
```

## 모듈

| 모듈 | 기능 |
|------|------|
| `worldland_mcp.did` | DID 생성·관리·온체인 조회 |
| `worldland_mcp.wallet` | ERC-6551 TBA 지갑 관리 |
| `worldland_mcp.x402` | HTTP 402 자동 결제 |
| `worldland_mcp.trust` | ERC-8004 공인 에이전트 등록 |

## 사용 예시

```python
from worldland_mcp import DIDManager, TBAManager

# DID 생성
mgr = DIDManager("cheolsu", agent_id=1)
print(mgr.did_string)  # did:worldland:agent:cheolsu

# TBA 주소 계산
tba = TBAManager(
    rpc_url="https://seoul.worldland.foundation",
    registry_address="0xA13380DB55eBbb90d0dBC3355Add7f9814C12baD",
    implementation_address="0x412fB3Fcfb0b67156a1Ea885422c691145F175E9",
    nft_contract="0xa89AF1E0b96fa6635A3f4bccb37E6C4232dA7222",
)
addr = tba.compute_tba_address(agent_id=1)
```

## 라이센스

MIT © WorldLand Foundation
