Long-lived Bearer tokens for programmatic access to the Lastest REST API (/api/v1/*).
@lastest/mcp-server to your Lastest instancelastest_api_<64-hex-characters>
Include the token in the Authorization header:
curl -H "Authorization: Bearer lastest_api_abc123..." \
"$LASTEST_URL/api/v1/repos"
The token authenticates against the same API endpoints available to browser sessions. It inherits the permissions of the user who created it.
When setting up the MCP server, use an API token as the key:
{
"mcpServers": {
"lastest": {
"command": "npx",
"args": ["@lastest/mcp-server"],
"env": {
"LASTEST_URL": "http://localhost:3000",
"LASTEST_API_KEY": "lastest_api_..."
}
}
}
}
See [MCP Server] for full setup instructions.
Wiki: Home
Wiki: MCP Server
Wiki: Settings Reference
Wiki: Test Migration
Wiki: _Sidebar