> ## Documentation Index
> Fetch the complete documentation index at: https://docs.0xmonaco.com/llms.txt
> Use this file to discover all available pages before exploring further.

# V0.6.2

# Monaco Protocol SDK v0.6.2

## Bug Fixes

### `revokeToken()` no longer accepts a parameter

`sdk.auth.revokeToken()` previously accepted a `refreshToken` argument, but the server identifies the session to revoke from the access token in the `Authorization` header — the body was always ignored. Passing the argument caused a silent `400 Bad Request: Revoke request body must be empty` error, meaning token revocation (and therefore `sdk.logout()`) was silently failing.

<Note>
  If you call `sdk.auth.revokeToken()` directly, remove the argument. `sdk.logout()` requires no changes.
</Note>

```diff theme={null}
- await sdk.auth.revokeToken(authState.refreshToken);
+ await sdk.auth.revokeToken();
```

**Affected packages:** `@0xmonaco/core`, `@0xmonaco/react`, `@0xmonaco/types`

***

### MCP server: network config passed explicitly to `registerTools`

Network configuration is now passed explicitly to `registerTools` instead of being read from `process.env` at registration time. This fixes flaky CI tests caused by parallel test files racing on shared `process.env` mutations. No changes required for MCP server users.

***

## Upgrade Instructions

```bash theme={null}
# NPM
npm install @0xmonaco/core@0.6.2 @0xmonaco/types@0.6.2 @0xmonaco/react@0.6.2

# Bun
bun add @0xmonaco/core@0.6.2 @0xmonaco/types@0.6.2 @0xmonaco/react@0.6.2
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.