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

# Anthropic

> Anthropic API Documentation

**Source Code**

View the source code for this module on GitHub: [[https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp\_use/agents/adapters/anthropic.py](https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/agents/adapters/anthropic.py)](https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/agents/adapters/anthropic.py)

## AnthropicMCPAdapter

`class` AnthropicMCPAdapter

```python theme={null}
from mcp_use.agents.adapters.anthropic import AnthropicMCPAdapter
```

> [card]
>
> **Attributes**
>
> >
>
> **framework** `str` *required*
>
> String value

> [card]
>
> ### `method` **init**
>
> Initialize a new Anthropic adapter.
>
> **Parameters**
>
> > **disallowed\_tools** `list[str] | None` (default: None)
> >
> > list of tool names that should not be available.
>
> **Signature**
>
> ```python wrap theme={null}
> def __init__(disallowed_tools: list[str] | None = None):
> ```


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