Skip to content

feat(mcp): add OpenSea Arbitrum MCP server, tools, quickstart agent i…#204

Open
oxdev6 wants to merge 1 commit intoEmberAGI:mainfrom
oxdev6:feat/opensea-mcp
Open

feat(mcp): add OpenSea Arbitrum MCP server, tools, quickstart agent i…#204
oxdev6 wants to merge 1 commit intoEmberAGI:mainfrom
oxdev6:feat/opensea-mcp

Conversation

@oxdev6
Copy link

@oxdev6 oxdev6 commented Aug 28, 2025

Summary
Adds a production-ready OpenSea (Arbitrum-only) MCP server and integrates read‑only marketplace tools into the quickstart agent. Includes robust SSE/STDIO transports, input normalization, retry/rate‑limit handling, and Inspector‑friendly CORS. A headless SSE client is included for testing without the Inspector.
What’s included
New package: @vibekit/opensea-mcp-server
Endpoints: GET /sse, POST /messages + STDIO transport
CORS enabled; HTTP can be toggled via env
Retries with p-retry, HTTP via undici
Tools (Arbitrum only):
get_wallet_nfts, list_arbitrum_collections, get_collection
get_listings_by_collection, get_listings_by_asset (with optional collection fallback)
get_offers_by_asset (with optional collection fallback)
Input robustness: zod preprocess (trim/lowercase/coercions), snake_case + camelCase aliases, clearer validation
Agent integration: new openseaSkill registered in quickstart agent
Headless test client: scripts/sse-client.ts
Docs: package README with setup and testing
Env vars
Required: OPENSEA_API_KEY
Optional: ENABLE_HTTP=true|false, PORT, OPENSEA_BASE_URL
Inspector (local only): DANGEROUSLY_OMIT_AUTH=true
Run locally
From typescript/: pnpm install && pnpm build
Start server (HTTP/SSE):
cd typescript/lib/mcp-tools/opensea-mcp-server
pnpm build
ENABLE_HTTP=true OPENSEA_API_KEY=YOUR_KEY PORT=3051 node dist/index.js
Headless SSE test:
SSE_URL=http://localhost:3051/sse pnpm exec tsx scripts/sse-client.ts
Inspector (optional):
DANGEROUSLY_OMIT_AUTH=true npx -y @modelcontextprotocol/inspector
Open http://localhost:6274 → New session → Transport: HTTP Server (SSE) → URL: http://localhost:3051/sse → Connect

…ntegration, docs; robust SSE/STDIO transports and CORS
@ParastooGM
Copy link
Contributor

ParastooGM commented Sep 1, 2025

Hey @oxdev6, thanks for your contribution. Would you mind sharing your Telegram handle so we can discuss this further? Could you also create an issue for this PR?

@oxdev6
Copy link
Author

oxdev6 commented Sep 1, 2025 via email

@ParastooGM
Copy link
Contributor

Awesome, thank you. Could you create an issue for this PR as well, please?

@oxdev6
Copy link
Author

oxdev6 commented Sep 1, 2025 via email

@oxdev6
Copy link
Author

oxdev6 commented Sep 1, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants