# get_credentials

A read tool on the NapCat MCP Server MCP server.

Agent View of the PolicyLayer registry record for `get_credentials`. HTML page: https://policylayer.com/tools/1021143806-napcat-mcp/get-credentials

## Facts

- Tool: `get_credentials`
- Server: NapCat MCP Server (`1021143806/napcat_mcp`) — https://policylayer.com/tools/1021143806-napcat-mcp.md
- Homepage: https://github.com/1021143806/napcat_mcp
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_credentials",
    "arguments": {}
  }
}
```

## Why get_credentials is rated Low

This tool retrieves credentials without modifying or executing operations. While it is a Read operation, the severity is high because credentials are sensitive security material whose disclosure could enable unauthorized access to the QQ bot system and associated accounts. The high severity reflects the blast radius of exposing authentication tokens or login material to an AI agent that might leak or misuse them.

From the tool's own definition: "Tool name is 'get_credentials' and description states 'Get credentials'. The sibling tools include 'get_cookies' and 'get_csrf_token', indicating this server exposes credential retrieval functions."

## Use case

AI agents call get_credentials to retrieve information from NapCat MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches NapCat MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_credentials": {}
  }
}
```

## Other tools on NapCat MCP Server (56)

- `delete_essence_msg` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-essence-msg.md
- `delete_group_file` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-group-file.md
- `delete_msg` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/delete-msg.md
- `set_group_kick` — Destructive — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-kick.md
- `set_group_ban` — Execute — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-ban.md
- `set_group_whole_ban` — Execute — https://policylayer.com/tools/1021143806-napcat-mcp/set-group-whole-ban.md
- `can_send_image` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/can-send-image.md
- `can_send_record` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/can-send-record.md
- `get_cookies` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-cookies.md
- `get_csrf_token` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-csrf-token.md
- `get_essence_msg_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-essence-msg-list.md
- `get_forward_msg` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-forward-msg.md
- `get_friend_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-friend-list.md
- `get_friend_msg_history` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-friend-msg-history.md
- `get_group_announcement_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-announcement-list.md
- `get_group_at_all_remain` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-at-all-remain.md
- `get_group_file_system_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-file-system-info.md
- `get_group_file_url` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-file-url.md
- `get_group_files_by_folder` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-files-by-folder.md
- `get_group_honor_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-honor-info.md
- `get_group_ignore_add_request` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-ignore-add-request.md
- `get_group_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-info.md
- `get_group_info_ex` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-info-ex.md
- `get_group_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-list.md
- `get_group_member_info` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-member-info.md
- `get_group_member_list` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-member-list.md
- `get_group_msg_history` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-msg-history.md
- `get_group_root_files` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-root-files.md
- `get_group_system_msg` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-group-system-msg.md
- `get_image` — Read — https://policylayer.com/tools/1021143806-napcat-mcp/get-image.md
- …and 26 more: https://policylayer.com/tools/1021143806-napcat-mcp.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=1021143806-napcat-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/1021143806-napcat-mcp
