Resources
The Tesser API is designed for both human developers and AI agents. All endpoints are accessible via standard REST calls and via the Model Context Protocol (MCP), allowing AI coding assistants to discover and invoke Tesser operations as tools.
AI-Friendly Resources
| Resource | URL |
|---|---|
| llms.txt | https://docs.tesser.xyz/llms.txt |
| Full docs for LLMs | https://docs.tesser.xyz/llms-full.txt |
| OpenAPI Schema | https://docs.tesser.xyz/api/v1/schema.json |
Environments
| Production | Sandbox | |
|---|---|---|
| API | https://api.tesser.xyz | https://api-sandbox.tesser.xyz |
| MCP Endpoint | https://api.tesser.xyz/v1/mcp | https://api-sandbox.tesser.xyz/v1/mcp |
| OAuth Resource Metadata | https://api.tesser.xyz/.well-known/oauth-protected-resource | https://api-sandbox.tesser.xyz/.well-known/oauth-protected-resource |
| Token URL | https://tesser-payments.us.auth0.com/oauth/token | https://dev-awqy75wdabpsnsvu.us.auth0.com/oauth/token |
| Audience | https://api.tesser.xyz | https://sandbox.tesserx.co |
Each environment has its own credentials. A token from one environment does not work in the other.
Authentication
Both REST and MCP use the same Auth0 OAuth 2.0 credentials. You need a TESSER_API_KEY and TESSER_API_SECRET (issued as Auth0 client credentials) for the environment you use.
MCP clients that support OAuth discovery can read the resource-metadata endpoint for your environment to locate our Auth0 authorization server and authenticate automatically — see MCP Integration. Otherwise, obtain a bearer token manually as below.
Obtain a Token
Production:
Code
Sandbox:
Code
The response contains an access_token to use as a Bearer token in all subsequent requests.
Environment Setup
Create a .env file in your project root:
Code