The API Reference is the source of truth for public endpoint availability. If a tool or workflow needs an endpoint that is not listed there, treat that capability as unavailable for public integrations until Sellfern documents it.
Prerequisites
- Node.js 18 or later on the machine running the MCP server
- A Sellfern API key with the minimum scopes required by the tools you enable
- Claude Desktop, Cursor, OpenCode, or another MCP-compatible client
Configure authentication
Store your Sellfern API key in the MCP server environment and send it to Sellfern with thex-api-key header from server-side code.
Build and run
From the MCP server project directory, install dependencies and build the server.Tool availability
Only expose MCP tools backed by endpoints present in the V1 API Reference. Capabilities from older examples, internal deployments, or live demos may be deferred for public V1. Before enabling a tool:- Confirm the underlying endpoint appears in
/api-reference. - Confirm the API key has the minimum required scope.
- For write tools, send an
Idempotency-Keyheader and reuse the same key when retrying the same logical mutation after a timeout or uncertain server error. - Return clear errors to the agent when Sellfern responds with
403 missing_scope,404 not_found, or422 idempotency_conflict.
Organization isolation
API keys are scoped to one organization. If a tool receives404 not_found, do not tell the user that the resource exists in another organization. Ask the user to confirm they selected the correct organization and API key.
Troubleshooting
The MCP client cannot find the server
Verify that theargs path points to the built server entry point and that the file exists before restarting the client.
Sellfern returns 401 unauthorized
Check that the API key is present in the MCP server environment and that the server sends it with the x-api-key header.
