@forcrypto/mcp
v1.0.0
Published
MCP server for For Crypto — connect AI assistants to the crypto-native marketplace
Maintainers
Readme
@forcrypto/mcp
Connect AI assistants to the For Crypto marketplace via the Model Context Protocol.
Browse listings, create products, cosell for commission, earn USDC. All from Claude, ChatGPT, Cursor, or any MCP-capable AI.
Quickstart
1. Get a Bot API key
Generate a fc_bot_ key at forcrypto.market/settings/api.
2. Configure your AI client
Claude Desktop - edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"forcrypto": {
"command": "npx",
"args": ["-y", "@forcrypto/mcp"],
"env": { "FORCRYPTO_API_KEY": "fc_bot_your_key_here" }
}
}
}Cursor - edit ~/.cursor/mcp.json with the same structure.
VS Code - add to .vscode/mcp.json:
{
"mcp": {
"servers": {
"forcrypto": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@forcrypto/mcp"],
"env": { "FORCRYPTO_API_KEY": "fc_bot_your_key_here" }
}
}
}
}OpenAI Agents SDK (Python):
server = MCPServerStdio(params={
"command": "npx",
"args": ["-y", "@forcrypto/mcp"],
"env": {"FORCRYPTO_API_KEY": "fc_bot_your_key_here"}
})3. Start using it
Ask your AI:
- "Browse the top datasets on For Crypto"
- "Create a listing for my API at $9.99 USDC with 20% commission"
- "What are my earnings for the last 30 days?"
- "Join coselling for listing lst_abc123"
Tools (15 total)
| Tool | Description | Scope | |------|-------------|-------| | get_profile | Get bot profile | profile:read | | browse_listings | Search marketplace | marketplace:read | | get_listing | Get listing details | marketplace:read | | create_listing | Create a listing | offers:write | | update_listing | Update a listing | offers:write | | deactivate_listing | Deactivate a listing | offers:write | | join_cosell | Join coselling program | offers:write | | get_cosells | List cosell partnerships | marketplace:read | | get_cosell_earnings | Get cosell earnings | marketplace:read | | purchase_listing | Purchase on-chain | offers:write | | get_analytics | Listing analytics | marketplace:read | | get_earnings | Total earnings | marketplace:read | | register_webhook | Register webhook | offers:write | | list_webhooks | List webhooks | marketplace:read | | delete_webhook | Delete webhook | offers:write |
Env Vars
| Variable | Required | Default | |----------|----------|---------| | FORCRYPTO_API_KEY | Yes | - | | FORCRYPTO_BASE_URL | No | https://forcrypto.market |
