Skip to content

Conversation

@dcramer
Copy link
Member

@dcramer dcramer commented Nov 4, 2025

Fixes MCP-SERVER-EVJ by removing the agent-tools.ts module and replacing it with an agentMode parameter in buildServer() and configureServer().

This simplifies the architecture by:

  • Using a boolean flag instead of a separate tool registry
  • Keeping all tool logic in one place (tools/index.ts)
  • Removing an unnecessary level of indirection
  • Making agent mode filtering explicit in configureServer()

When agentMode is true, only use_sentry is registered and authorization checks are bypassed (use_sentry handles auth internally).

Fixes MCP-SERVER-EVJ by removing the agent-tools.ts module and replacing
it with an agentMode parameter in buildServer() and configureServer().

This simplifies the architecture by:
- Using a boolean flag instead of a separate tool registry
- Keeping all tool logic in one place (tools/index.ts)
- Removing an unnecessary level of indirection
- Making agent mode filtering explicit in configureServer()

When agentMode is true, only use_sentry is registered and authorization
checks are bypassed (use_sentry handles auth internally).

Co-Authored-By: Claude Code <[email protected]>
@dcramer dcramer merged commit b67bed8 into main Nov 4, 2025
14 checks passed
@dcramer dcramer deleted the fix-agent-mode branch November 4, 2025 02:47
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.

2 participants