# debug-oauth

Returns OAuth debugging information

Agent View of the PolicyLayer registry record for `debug-oauth`. HTML page: https://policylayer.com/tools/mcp-test-servers/debug-oauth

## Facts

- Tool: `debug-oauth`
- Server: Mcp Test Servers (`msfeldstein/mcp-test-servers`) — https://policylayer.com/tools/mcp-test-servers.md
- Homepage: https://github.com/msfeldstein/mcp-test-servers
- 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": "debug-oauth",
    "arguments": {}
  }
}
```

## Why debug-oauth is rated Low

This tool retrieves debugging information about OAuth configurations. While it does not modify data (Read category), OAuth debug information can contain sensitive details like client IDs, redirect URIs, or other configuration that could be misused if exposed.

From the tool's own definition: "Tool name 'debug-oauth' and description 'Returns OAuth debugging information' indicate retrieval of OAuth configuration/state data without modification."

## Use case

AI agents call debug-oauth to retrieve information from Mcp Test Servers 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 Mcp Test Servers:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "debug-oauth": {}
  }
}
```

## Other tools on Mcp Test Servers (66)

- `delete-project` — Destructive — https://policylayer.com/tools/mcp-test-servers/delete-project.md
- `execute-sql` — Execute — https://policylayer.com/tools/mcp-test-servers/execute-sql.md
- `long-running-task` — Execute — https://policylayer.com/tools/mcp-test-servers/long-running-task.md
- `long-running-task-with-message` — Execute — https://policylayer.com/tools/mcp-test-servers/long-running-task-with-message.md
- `long-running-task-with-no-total` — Execute — https://policylayer.com/tools/mcp-test-servers/long-running-task-with-no-total.md
- `ping` — Execute — https://policylayer.com/tools/mcp-test-servers/ping.md
- `start-notification-stream` — Execute — https://policylayer.com/tools/mcp-test-servers/start-notification-stream.md
- `toggle_dynamic_tool` — Execute — https://policylayer.com/tools/mcp-test-servers/toggle-dynamic-tool.md
- `add` — Other — https://policylayer.com/tools/mcp-test-servers/add.md
- `all_types_tool` — Other — https://policylayer.com/tools/mcp-test-servers/all-types-tool.md
- `another-missing-type` — Other — https://policylayer.com/tools/mcp-test-servers/another-missing-type.md
- `bad-param` — Other — https://policylayer.com/tools/mcp-test-servers/bad-param.md
- `crash` — Other — https://policylayer.com/tools/mcp-test-servers/crash.md
- `divide` — Other — https://policylayer.com/tools/mcp-test-servers/divide.md
- `dynamic_feature` — Other — https://policylayer.com/tools/mcp-test-servers/dynamic-feature.md
- `echo` — Other — https://policylayer.com/tools/mcp-test-servers/echo.md
- `echo_structured` — Other — https://policylayer.com/tools/mcp-test-servers/echo-structured.md
- `echo_with_params` — Other — https://policylayer.com/tools/mcp-test-servers/echo-with-params.md
- `env_echo` — Other — https://policylayer.com/tools/mcp-test-servers/env-echo.md
- `fizzbuzz` — Other — https://policylayer.com/tools/mcp-test-servers/fizzbuzz.md
- `format_data` — Other — https://policylayer.com/tools/mcp-test-servers/format-data.md
- `generate_big_response` — Other — https://policylayer.com/tools/mcp-test-servers/generate-big-response.md
- `long_running_progress` — Other — https://policylayer.com/tools/mcp-test-servers/long-running-progress.md
- `many-resources-tool` — Other — https://policylayer.com/tools/mcp-test-servers/many-resources-tool.md
- `missing-type-tool` — Other — https://policylayer.com/tools/mcp-test-servers/missing-type-tool.md
- `multiply` — Other — https://policylayer.com/tools/mcp-test-servers/multiply.md
- `number-param` — Other — https://policylayer.com/tools/mcp-test-servers/number-param.md
- `optionalTool` — Other — https://policylayer.com/tools/mcp-test-servers/optionaltool.md
- `power` — Other — https://policylayer.com/tools/mcp-test-servers/power.md
- `root-echo` — Other — https://policylayer.com/tools/mcp-test-servers/root-echo.md
- …and 36 more: https://policylayer.com/tools/mcp-test-servers.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=mcp-test-servers · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/mcp-test-servers
