Use API tokens
Authenticate API requests with MCP Market and track token usage.
Once you've created a token, you can use it to authenticate API requests and monitor its activity.
Bearer authentication
Include your token in the Authorization header of HTTP requests:
Authorization: Bearer sk_user_your_token_hereWith cURL:
curl -H "Authorization: Bearer sk_user_..." https://app.mcpmarket.com/api/v1/meWhat tokens can't do
Some actions need you to be signed in to MCP Market, because they're hard to undo or because a person should take them. A token can't:
- Create or delete an organization
- Transfer ownership
- Change a member's role
- Add or invite members
- Make wallet payments, request refunds, or change wallet funding and overage settings
- View or change which tokens and connected apps can spend wallet funds, or set member spending caps
- Change the organization's URL slug
- Create, list, extend, or revoke API tokens
- Accept an invitation to join an organization
- Manage your marketplace storefront or listings
- Pull updates for a purchased marketplace skill
- Deploy or manage hosted MCP servers, including their secrets
- Add, view, or remove MCP server connections, or finish connecting one
- Remove an MCP server from the organization
Requests that try are refused with a 403 or 404 error. Make these changes from the dashboard instead.
A token only works for the organization it was created for.
Tracking token usage
The API Tokens page lists all your tokens with their name, prefix (for identification), and creation date. Each token shows when it was last used and when it expires.
A token that expires within 7 days shows Expires soon. A token past its expiration shows Expired and no longer works. Older tokens created before expiration was introduced show No expiry.
Extending a token
You can give a token that hasn't expired a new expiration of 30, 90, 180, or 365 days, counted from today. This also works for a token with no expiry.
Find the token
Go to API Tokens and find the token in the list.
Extend
Open the row menu, click Extend token, pick an Expiration, and click Extend token.
You can only extend a token from the dashboard while signed in. An expired token can't be extended; create a new one and update anything that used the old one.
Revoking a token
Find the token
Go to API Tokens and find the token in the list.
Revoke
Open the row menu, click Revoke token, and confirm.
The token stops working immediately. Any running scripts or integrations using it will fail and need to be updated.