Download apps/web/src/api/mcp.ts from hunian003/message: direct link, hf CLI and curl.
- Browser
- Download file 263 Bytes
-
https://huggingface.co/spaces/hunian003/message/resolve/main/apps/web/src/api/mcp.ts
- Command line
-
hf download hf://spaces/hunian003/message/apps/web/src/api/mcp.ts
-
curl -L -o mcp.ts https://huggingface.co/spaces/hunian003/message/resolve/main/apps/web/src/api/mcp.ts
263 Bytes
| /** | |
| * MCP 状态 API client | |
| */ | |
| import { apiClient } from './client'; | |
| import { McpStatusResponse } from '@typings/mcp'; | |
| export const mcpApi = { | |
| /** | |
| * 获取 MCP 服务状态 | |
| */ | |
| getStatus: () => | |
| apiClient.get<McpStatusResponse>('/mcp/status'), | |
| }; | |