Skip to content

Add an MCP server plugin for AI assistants - #196

Merged
vesnicancz merged 2 commits into
masterfrom
mcp-server-plugin
Nov 25, 2026
Merged

vesnicancz merged 2 commits into
masterfrom
mcp-server-plugin

Conversation

@vesnicancz

Copy link
Copy Markdown
Owner

AI assistants such as Claude Code had no way to read or control work tracking. This adds a plugin that runs an MCP server inside the GUI.

What changes

  • A new WorkTracker.Plugin.Mcp plugin serves MCP over Streamable HTTP at http://localhost:47821/mcp, only while the GUI is running and the plugin is enabled. The port is configurable, and a port already in use is reported to the user.
  • Tools read the status, entries, worked time, suggestions and favorites, start, stop and resume work, add an entry, change the ticket and description of one, and preview worklogs. Entries can't be deleted and their times can't be changed.
  • Submitting worklogs is off by default. Without Allow submitting worklogs the submit_worklogs tool isn't offered at all.
  • Security: localhost only, a required access token, and requests from foreign web pages are refused by their Origin. The settings fill in a random token.
  • Connection details in Settings show the URL and the Authorization header with a copy button each. Any plugin can offer them through the new IConnectionDetailsProvider.

Other changes:

  • IRemoteControlHost can list entries, update their text, and list providers, preview and submit worklogs.
  • RemoteControlCoordinator shows the user when a remote control plugin can't be attached, which also covers Stream Deck.
  • The localization of the submission status moved from WorklogSubmissionOrchestrator to SubmissionStatusLocalization.
  • The release workflow publishes the plugin. The docs have a new docs/plugins/mcp.md.

Compatibility

IRemoteControlHost got new members. Only the application implements it, so existing plugins are not affected.

Testing

  • .NET tests pass (1543), including a real MCP client against the plugin's server.
  • The Release publish of the plugin passed before the connection details and the generated token were added.
  • Not tried: the running GUI (including the copy buttons), a connection from Claude Code, macOS and Linux, and running next to the Goran G3 plugin, which brings its own copy of the MCP library.

The plugin serves MCP over Streamable HTTP on localhost from inside the GUI, using HttpListener and
the stream-based transport of ModelContextProtocol.Core, since the ASP.NET Core package needs a
shared framework the GUI doesn't load. Only three sample tools so far.

docs/plans/mcp-server-plugin.md records what the prototype verified and how to finish it: the
IRemoteControlHost extension for editing entries and submitting worklogs, the tools, tests and
release steps.
@vesnicancz
vesnicancz merged commit f62812c into master Nov 25, 2026
6 checks passed
@vesnicancz
vesnicancz deleted the mcp-server-plugin branch November 25, 2026 09:41
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