Skip to content

feat(mcp)!: accept host implementation and logger options - #54

Merged
jmgilman merged 3 commits into
masterfrom
feat/mcp-host-options
Sep 11, 2026
Merged

jmgilman merged 3 commits into
masterfrom
feat/mcp-host-options

Conversation

@jmgilman

Copy link
Copy Markdown
Contributor

Change

Allow hosts to supply MCP implementation metadata and SDK diagnostics through required construction options. Migrate every example and callsite; preserve the three-tool surface and existing authorization/error boundaries.

Verification

An isolated executable verified custom name/title/version over MCP initialization, host logger output, and real worker-backed composition returning 6. Local root:check is running; CI must pass before merge.

Compatibility

New now requires a third Options argument. Options{} retains the library identity and SDK logger defaults.

mcpserver.New now requires Options as a third argument so hosts can
advertise application identity and supply a slog logger. A nil
Implementation keeps Name "codemode" and Version "2".
@jmgilman
jmgilman merged commit 9d29a03 into master Sep 11, 2026
7 checks passed
@jmgilman
jmgilman deleted the feat/mcp-host-options branch September 11, 2026 05:51
This was referenced Sep 11, 2026
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