fortem-community-mcp
Connect Claude to Fortem and control your NFTs with natural language — create collections, mint items, manage your kiosk, and list items for sale. Also includes developer tools for integrating Fortem into your game or app.
README
fortem-community-mcp
A community MCP (Model Context Protocol) server for the Fortem NFT marketplace.
⚠️ This is an unofficial community project, not affiliated with FortemLabs.
Connect Claude to Fortem and control your NFTs with natural language — create collections, mint items, manage your kiosk, and list items for sale. Also includes developer tools for integrating Fortem into your game or app.
Quick Start
Step 1 — Get your Sui private key
You need a Sui wallet private key to authenticate. Export it from your wallet app:
- Sui Wallet → Settings → Accounts → Export Private Key
- Suiet → Settings → Export Private Key
The key starts with suiprivkey1...
⚠️ Keep this key safe. Anyone who has it can control your wallet.
Step 2 — Connect to Claude
Claude Code (terminal):
claude mcp add fortem-community \
-e SUI_PRIVATE_KEY=suiprivkey1... \
-- npx fortem-community-mcp
Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"fortem-community": {
"command": "npx",
"args": ["fortem-community-mcp"],
"env": {
"SUI_PRIVATE_KEY": "suiprivkey1..."
}
}
}
}
Restart Claude Desktop after saving.
Step 3 — Start using it
Open Claude and try:
Show my Fortem collections
Available Tools
Personal — Manage your own NFTs
These tools act on your own account (wallet address tied to SUI_PRIVATE_KEY).
| Tool | What it does |
|---|---|
create_collection |
Create a new NFT collection |
mint_item |
Mint an NFT item into a collection |
upload_image |
Upload an image for an item or collection |
ensure_kiosk |
Create a kiosk if you don't have one (required before listing) |
list_item |
List an NFT item for sale |
get_my_collections |
View your collections |
get_collection_detail |
View details of a specific collection |
get_my_items |
View your NFT inventory |
get_item_detail |
View details of a specific item |
Developer — Integrate Fortem into your game or app
Use these tools when building a game or app that uses Fortem for monetization, NFT rewards, or item management.
| Tool | What it does |
|---|---|
get_developer_guide |
Get an integration guide with your actual API key (Direct API / JS SDK / Unity SDK) |
get_my_api_key |
View your Developer API key, or regenerate it (regenerate: true) |
verify_member |
Check if a wallet address is a registered Fortem member |
get_my_profile |
Get your Fortem account profile |
Example Prompts
Personal use:
Show me my Fortem collections
Create a new collection called "Summer Drop" with description "Limited edition summer NFTs"
Mint 10 items called "Summer Pass" in collection #5
Check if I have a kiosk, create one if I don't
List item #42 for 10 USDC
Show my items with status MINTED
Developer / game integration:
Show me the Fortem developer integration guide
I want to build an HTML5 game with Fortem — which SDK should I use?
Show me how to integrate Fortem into my Unity game
Is wallet 0xabc... a registered Fortem member?
What account is this MCP server authenticated as?
Environment Variables
| Variable | Default | Description |
|---|---|---|
SUI_PRIVATE_KEY |
— | Required. Your Sui wallet private key (suiprivkey1...) |
FORTEM_NETWORK |
testnet |
testnet or mainnet |
Testnet vs Mainnet
- Use testnet to try things out without real assets → testnet.fortem.gg
- Use mainnet when working with real NFTs → fortem.gg
# Testnet (default)
claude mcp add fortem-community \
-e SUI_PRIVATE_KEY=suiprivkey1... \
-- npx fortem-community-mcp
# Mainnet
claude mcp add fortem-community \
-e FORTEM_NETWORK=mainnet \
-e SUI_PRIVATE_KEY=suiprivkey1... \
-- npx fortem-community-mcp
Authentication
On startup, the server automatically:
- Verifies your wallet is registered on Fortem
- Signs a login message with your private key
- Obtains a JWT access token
- Re-authenticates transparently if the token expires
Note: Your Fortem account must be created at fortem.gg before using the MCP server.
Development / Debugging
Use MCP Inspector to call tools interactively in your browser:
npx @modelcontextprotocol/inspector \
-e SUI_PRIVATE_KEY=suiprivkey1... \
npx fortem-community-mcp
Open http://localhost:5173.
Project Structure
src/
├── index.ts — Entry point: auth, tool registration, server startup
├── auth.ts — Ed25519 authentication flow
├── client.ts — HTTP client with automatic token refresh
├── signer.ts — Transaction signing abstraction
├── types.ts — Shared types and network config
└── tools/
├── collection.ts — [Personal] create_collection, get_my_collections, get_collection_detail
├── item.ts — [Personal] upload_image, mint_item, get_my_items, get_item_detail
├── kiosk.ts — [Personal] ensure_kiosk
├── market.ts — [Personal] list_item
└── developer.ts — [Developer] get_developer_guide, get_my_api_key, verify_member, get_my_profile
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。