# plugin_mcp_server_names

> **Function** in `deepagents_code`

📖 [View in docs](https://reference.langchain.com/python/deepagents-code/plugins/adapters/mcp/plugin_mcp_server_names)

Return scoped MCP server names without preparing plugin runtime state.

## Signature

```python
plugin_mcp_server_names(
    plugin: PluginInstance,
) -> tuple[str, ...]
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `plugin` | `PluginInstance` | Yes | Plugin instance whose declarations should be inspected. |

## Returns

`tuple[str, ...]`

Scoped MCP server names in declaration order.

---

[View source on GitHub](https://github.com/langchain-ai/deepagents/blob/caaa7e7c12d214afa5cf0a1afed8eb6232aa6f7b/libs/code/deepagents_code/plugins/adapters/mcp.py#L153)