Skip to content

Conversation

@stainless-bot
Copy link
Contributor

@stainless-bot stainless-bot commented Dec 11, 2025

Automated Release PR

2.0.0 (2025-12-19)

Full Changelog: v1.0.0...v2.0.0

⚠ BREAKING CHANGES

  • mcp: remove deprecated tool schemes
  • mcp: Migration: To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just node /path/to/mcp/server or npx package-name will invoke code tools: changing your command to one of these is likely all you will need to do.

Bug Fixes

  • mcp: add client instantiation options to code tool (2c97467)
  • mcp: pass base url to code tool (3f15efc)

Chores

  • mcp: remove deprecated tool schemes (c9bdea6)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-bot
Copy link
Contributor Author

stainless-bot commented Dec 11, 2025

🧪 Testing

To try out this version of the SDK, run:

npm install 'https://pkg.stainless.com/s/dbahn-stations-typescript/c9bdea6067ce2b1b0c6c57405401807fe9ef9b83/dist.tar.gz'

Expires at: Sun, 18 Jan 2026 07:03:32 GMT
Updated at: Fri, 19 Dec 2025 07:03:32 GMT

@stainless-bot stainless-bot force-pushed the release-please--branches--main--changes--next--components--dbahn-stations branch from 14149f2 to c4d2577 Compare December 18, 2025 08:37
This removes all tool schemes except for "code mode" tools. Specifically, this removes "all tools" and "dynamic tools" schemes. Additionally, this removes support for resource filtering, tags, jq filtering, and compatibility controls in MCP servers, as they are no longer necessary when using code mode.

# Migration

To migrate, simply modify the command used to invoke the MCP server. Currently, the only supported tool scheme is code mode. Now, starting the server with just `node /path/to/mcp/server` or `npx package-name` will invoke code tools: changing your command to one of these is likely all you will need to do.

Specifically, you must remove all flags including things like --resources, --tags, --client, --tools=dynamic, etc from your invocation command. The only supported flags are now `--port`, `--transport`, `--socket`, and `--tools=docs` (specifically for "docs"). These are also the only options available for http servers.

migration-effort: small
@stainless-bot stainless-bot force-pushed the release-please--branches--main--changes--next--components--dbahn-stations branch from c4d2577 to d8e6dc5 Compare December 19, 2025 07:02
@stainless-bot stainless-bot changed the title release: 1.0.1 release: 2.0.0 Dec 19, 2025
@stainless-bot stainless-bot force-pushed the release-please--branches--main--changes--next--components--dbahn-stations branch from d8e6dc5 to 8ba6165 Compare December 19, 2025 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant