Movatterモバイル変換


[0]ホーム

URL:


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

Allow passing through server options#218

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
omgitsads merged 2 commits intomainfromadd-server-opts
Apr 11, 2025
Merged

Conversation

omgitsads
Copy link
Member

Adds support the the underlying mcp-goServerOptions so thathook functions can be attached to the server.

@CopilotCopilotAI review requested due to automatic review settingsApril 11, 2025 08:46
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR expands the server initialization to allow passing through additional server options so that hook functions can be attached to the server.

  • Adds a variadic parameter for extra server options.
  • Appends default options (resource capabilities and logging) before creating the MCP server.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Collaborator

@juruenjuruen left a comment

Choose a reason for hiding this comment

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

LGTM!

omgitsads reacted with rocket emoji
Copy link
Collaborator

@SamMorrowDrumsSamMorrowDrums left a comment

Choose a reason for hiding this comment

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

Nice

omgitsads reacted with rocket emoji
@omgitsadsomgitsads merged commit3c18a34 intomainApr 11, 2025
16 checks passed
@omgitsadsomgitsads deleted the add-server-opts branchApril 11, 2025 08:52
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@juruenjuruenjuruen approved these changes

@SamMorrowDrumsSamMorrowDrumsSamMorrowDrums approved these changes

@williammartinwilliammartinAwaiting requested review from williammartin

@tobytobyAwaiting requested review from toby

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@omgitsads@juruen@SamMorrowDrums

[8]ページ先頭

©2009-2025 Movatter.jp