Skip to content

Fix MCP prompt role to 'assistant' per spec #916

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

genius-0963
Copy link

Description:
This PR updates the MCP server to use role: "assistant" instead of role: "system" in prompt messages, in compliance with the MCP specification:
https://modelcontextprotocol.io/specification/2025-06-18/server/prompts#promptmessage

Reason:

Prevents errors in MCP Inspector and other tools expecting only user or assistant roles.
Resolves:
Files changed:

workflow_prompts.go
issues.go
Testing:

No errors found in the updated files.
MCP Inspector and other tools should now work as expected.

@genius-0963 genius-0963 requested a review from a team as a code owner August 19, 2025 02:31
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