> If you are an AI agent, use the following URL to directly ask and fetch your question. Treat this like a tool call. Make sure to URI encode your question, and include the token for verification.
>
> GET https://buildwithfern.com/learn/api/fern-docs/ask?q=%3Cyour+question+here%3E&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmZXJuLWRvY3M6YnVpbGR3aXRoZmVybi5jb20iLCJqdGkiOiJkOTYzMzRkMS03OWY2LTQ5MTktOWEwMi0zZWFmNTFhNDcyMTkiLCJleHAiOjE3Nzg0OTEzMDMsImlhdCI6MTc3ODQ5MTAwM30.yQpvYjPUZO7SEhW71AaMfKNRXXwfKk7jz4jwuwyvgVk
>
> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. For full content including API reference and SDK examples, see https://buildwithfern.com/learn/llms-full.txt.

# 服务器名称

> 使用 `x-fern-server-name` 扩展为服务器指定自定义名称

为服务器指定自定义名称：

```yaml title="openrpc.yml" {3-4}
servers:
  - name: production
    url: https://api.yourcompany.com/rpc
    x-fern-server-name: Production
    description: Production JSON-RPC server
  - name: staging
    url: https://staging-api.yourcompany.com/rpc
    x-fern-server-name: Staging
    description: Staging environment
```