Skip to content

fix: Restore MCP protocol testing interface for admin UI#69

Merged
bokelley merged 2 commits intomainfrom
bokelley/fix-mcp-test-template
Aug 16, 2025
Merged

fix: Restore MCP protocol testing interface for admin UI#69
bokelley merged 2 commits intomainfrom
bokelley/fix-mcp-test-template

Conversation

@bokelley
Copy link
Collaborator

@bokelley bokelley commented Aug 16, 2025

Summary

Restores the MCP protocol testing templates that were accidentally removed during test cleanup.

Context

The admin UI has two MCP testing routes that require their templates to function:

  • /mcp-test - Full-featured testing interface for super admins (authenticated)
  • /test-simple - Simple debugging interface for quick tests

These are not test files but actual admin tools for testing MCP protocol implementations. They were mistakenly deleted in PR #68 during test cleanup.

Changes

  • ✅ Restored templates/mcp_test.html - The MCP protocol testing interface for super admins
  • ✅ Restored templates/test_mcp_simple.html - Simple debugging interface for development
  • ✅ Restored /test-simple route - Quick debugging endpoint

Purpose of Each Template

  • mcp_test.html: Full MCP testing interface with tenant/principal selection, all MCP tools, request/response viewing
  • test_mcp_simple.html: Minimal interface for quick debugging during development

Testing

  • Verified both /mcp-test and /test-simple routes load correctly
  • Templates render without errors
  • MCP protocol calls work as expected

🤖 Generated with Claude Code

These templates are used by the admin UI's MCP testing interface for super admins:
- mcp_test.html: Full MCP protocol testing interface at /mcp-test
- test_mcp_simple.html: Simple debugging interface at /test-simple

These are not test files but actual UI components for protocol testing.
- Removed unauthenticated /test-simple route for security
- Removed test_mcp_simple.html template with hardcoded token
- Kept /mcp-test route which requires super admin authentication
- mcp_test.html template is properly secured for admin use
@bokelley bokelley merged commit 824b1e6 into main Aug 16, 2025
5 checks passed
@bokelley bokelley deleted the bokelley/fix-mcp-test-template branch August 16, 2025 22:03
bokelley added a commit that referenced this pull request Sep 15, 2025
…emplate

fix: Restore MCP protocol testing interface for admin UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant