Skip to content

Add MCP project context switching#2341

Merged
ejsmith merged 4 commits into
mainfrom
feature/mcp-project-context
Jun 30, 2026
Merged

Add MCP project context switching#2341
ejsmith merged 4 commits into
mainfrom
feature/mcp-project-context

Conversation

@ejsmith

@ejsmith ejsmith commented Jun 29, 2026

Copy link
Copy Markdown
Member

Summary

  • add Redis-backed MCP organization/project context scoped by session, user, OAuth client, and resource
  • add MCP context tools for reading and switching active organization/project
  • default project-scoped MCP tools to the active project while preserving compatible explicit project ids
  • make hosted MCP transport stateful and remove the old GET/DELETE fallback mapping

Testing

  • dotnet build
  • dotnet test -- --filter-class Exceptionless.Tests.Controllers.ExceptionlessMcpToolsTests
  • dotnet test -- --filter-class Exceptionless.Tests.Controllers.OAuthControllerTests
  • git diff --check

Breaking changes

None.

ejsmith commented Jun 29, 2026

Copy link
Copy Markdown
Member Author

/preview

@github-actions github-actions Bot added the dev-preview Deploy this pull request to the shared dev environment. label Jun 29, 2026
@github-actions

github-actions Bot commented Jun 29, 2026

Copy link
Copy Markdown

Preview deployed

@ejsmith ejsmith marked this pull request as ready for review June 29, 2026 21:57
@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.AppHost 39% 40% 134
Exceptionless.Core 71% 63% 8585
Exceptionless.Insulation 24% 23% 203
Exceptionless.Web 75% 63% 5180
Summary 71% (16606 / 23476) 62% (8469 / 13572) 14102

@ejsmith ejsmith merged commit 2c45c40 into main Jun 30, 2026
10 checks passed
@ejsmith ejsmith deleted the feature/mcp-project-context branch June 30, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-preview Deploy this pull request to the shared dev environment.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant