Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.66.0"
".": "0.67.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 51
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/smithery/smithery-17e2ab7acd1320ecd813be917905dbcd27162f0567e09bec9285d36ebee46b75.yml
openapi_spec_hash: f13af802436dd7be0885099be40b8888
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/smithery/smithery-5da229a4e8dd752ba7575c3a98f8cf53836cb7bccabdafc70f17686740d0b1d1.yml
openapi_spec_hash: 87826d5de8739709a64bfe2a4ec671c6
config_hash: f2aa99cbb823283fae1b61bbdb1320ee
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.67.0 (2026-05-30)

Full Changelog: [v0.66.0...v0.67.0](https://github.com/smithery-ai/typescript-api/compare/v0.66.0...v0.67.0)

### Features

* **SMI-1814:** add dynamic MCP source connections ([#2518](https://github.com/smithery-ai/typescript-api/issues/2518)) ([a81cf8f](https://github.com/smithery-ai/typescript-api/commit/a81cf8f4b675cb872baa5b0710a67975a5e2c0e5))

## 0.66.0 (2026-05-28)

Full Changelog: [v0.65.2...v0.66.0](https://github.com/smithery-ai/typescript-api/compare/v0.65.2...v0.66.0)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@smithery/api",
"version": "0.66.0",
"version": "0.67.0",
"description": "The official TypeScript library for the Smithery API",
"author": "Smithery <contact@smithery.ai>",
"types": "dist/index.d.ts",
Expand Down
57 changes: 57 additions & 0 deletions src/resources/connections/connections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,8 @@ export interface CreateConnectionRequest {
*/
server?: string;

source?: CreateConnectionRequest.Source;

/**
* Connection transport. Use `uplink` for a local server paired over Smithery CLI.
*/
Expand All @@ -396,6 +398,22 @@ export namespace CreateConnectionRequest {
*/
scenario?: string;
}

export interface Source {
entrypoint: string;

kind: 'module';

sourceFiles: Array<Source.SourceFile>;
}

export namespace Source {
export interface SourceFile {
contents: string;

path: string;
}
}
}

export interface ConnectionDeleteResponse {
Expand Down Expand Up @@ -438,6 +456,8 @@ export interface ConnectionCreateParams {
*/
server?: string;

source?: ConnectionCreateParams.Source;

/**
* Connection transport. Use `uplink` for a local server paired over Smithery CLI.
*/
Expand All @@ -463,6 +483,22 @@ export namespace ConnectionCreateParams {
*/
scenario?: string;
}

export interface Source {
entrypoint: string;

kind: 'module';

sourceFiles: Array<Source.SourceFile>;
}

export namespace Source {
export interface SourceFile {
contents: string;

path: string;
}
}
}

export interface ConnectionListParams {
Expand Down Expand Up @@ -536,6 +572,11 @@ export interface ConnectionSetParams {
*/
server?: string;

/**
* Body param
*/
source?: ConnectionSetParams.Source;

/**
* Body param: Connection transport. Defaults to the existing connection transport
* when updating.
Expand All @@ -560,6 +601,22 @@ export namespace ConnectionSetParams {
*/
scenario?: string;
}

export interface Source {
entrypoint: string;

kind: 'module';

sourceFiles: Array<Source.SourceFile>;
}

export namespace Source {
export interface SourceFile {
contents: string;

path: string;
}
}
}

Connections.Tools = Tools;
Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.66.0'; // x-release-please-version
export const VERSION = '0.67.0'; // x-release-please-version
10 changes: 10 additions & 0 deletions tests/api-resources/connections/connections.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ describe('resource connections', () => {
mock: { enabled: true, scenario: 'A developer inbox with 3 unread Q4 planning threads.' },
name: 'My MCP Server',
server: 'upstash/context7-mcp',
source: {
entrypoint: 'x',
kind: 'module',
sourceFiles: [{ contents: 'contents', path: 'x' }],
},
transport: 'http',
},
{ path: '/_stainless_unknown_path' },
Expand Down Expand Up @@ -129,6 +134,11 @@ describe('resource connections', () => {
},
name: 'My MCP Server',
server: 'upstash/context7-mcp',
source: {
entrypoint: 'x',
kind: 'module',
sourceFiles: [{ contents: 'contents', path: 'x' }],
},
transport: 'http',
});
});
Expand Down
Loading