Skip to content

Commit 2a66083

Browse files
Remove MCP server interfaces - not supported by Bedrock Converse API
1 parent e3a1196 commit 2a66083

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

packages/typescript/ai-bedrock/src/text/text-provider-options.ts

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
export interface BedrockMCPOptions {
2-
/**
3-
* MCP servers to be utilized in this request
4-
* Maximum of 20 servers
5-
*/
6-
mcp_servers?: Array<MCPServer>
7-
}
8-
91
export interface BedrockStopSequencesOptions {
102
/**
113
* Custom text sequences that will cause the model to stop generating.
@@ -44,18 +36,7 @@ export interface BedrockInferenceConfig {
4436
stopSequences?: Array<string>
4537
}
4638

47-
export interface MCPServer {
48-
name: string
49-
url: string
50-
type: 'url'
51-
authorization_token?: string | null
52-
tool_configuration: {
53-
allowed_tools?: Array<string> | null
54-
enabled?: boolean | null
55-
} | null
56-
}
57-
58-
export type BedrockTextProviderOptions = BedrockMCPOptions &
39+
export type BedrockTextProviderOptions =
5940
BedrockStopSequencesOptions &
6041
BedrockThinkingOptions &
6142
BedrockSamplingOptions & {

0 commit comments

Comments
 (0)