Skip to content

feat: improve programmatic interface#48

Merged
ThomasRooney merged 5 commits intomainfrom
chore/niggles
Mar 10, 2026
Merged

feat: improve programmatic interface#48
ThomasRooney merged 5 commits intomainfrom
chore/niggles

Conversation

@ThomasRooney
Copy link
Member

Simplify the server package programmatic API around createDocsServer().

  • remove the old createDocsMcpServerFactory() and createDocsServerFactory() exports
  • make DocsServer the public callable server type instead of exporting a separate DocsServerFactory alias
  • let createDocsServer() and startHttpServer() share the same default name, version, build metadata, and logging behavior as the CLI
  • accept plain console-shaped loggers when a custom logger is provided, while keeping the default internal logger setup automatic

@ThomasRooney ThomasRooney requested a review from a team March 10, 2026 12:35
@changeset-bot
Copy link

changeset-bot bot commented Mar 10, 2026

🦋 Changeset detected

Latest commit: 47f5cf9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@speakeasy-api/docs-mcp-server Minor
@speakeasy-api/docs-mcp-core Minor
@speakeasy-api/docs-mcp-cli Minor
@speakeasy-api/docs-mcp-eval Minor
@speakeasy-api/docs-mcp-playground Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ThomasRooney ThomasRooney merged commit 26f27d7 into main Mar 10, 2026
1 check passed
@ThomasRooney ThomasRooney deleted the chore/niggles branch March 10, 2026 13:18
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