Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
genius-0963 wants to merge 1 commit into github:main
base: main
Choose a base branch
Loading
from genius-0963:copilot/vscode1755570378304

Conversation

@genius-0963
Copy link

@genius-0963 genius-0963 commented Aug 19, 2025

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.

JaclynCodes reacted with eyes emoji
@genius-0963 genius-0963 requested a review from a team as a code owner August 19, 2025 02:31
Copy link
Contributor

Fixed with #941, #887

JaclynCodes reacted with eyes emoji

Copy link

@JaclynCodes JaclynCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@JaclynCodes JaclynCodes JaclynCodes left review comments

Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /