Skip to content

Commit c6e9ff0

Browse files
feat(mcp): include http information in tools
1 parent ae19966 commit c6e9ff0

File tree

189 files changed

+568
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

189 files changed

+568
-0
lines changed

packages/mcp-server/src/tools/active/list-callbacks-active.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'active',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/active/callbacks',
13+
operationId: 'active_callbacks_active_callbacks_get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/add/add-allowed-ip-add.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'add',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/add/allowed_ip',
13+
operationId: 'add_allowed_ip_add_allowed_ip_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/anthropic/create-anthropic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'anthropic',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/anthropic/{endpoint}',
13+
operationId: 'anthropic_proxy_route_anthropic__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/anthropic/delete-anthropic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'anthropic',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'delete',
12+
httpPath: '/anthropic/{endpoint}',
13+
operationId: 'anthropic_proxy_route_anthropic__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/anthropic/modify-anthropic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'anthropic',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'patch',
12+
httpPath: '/anthropic/{endpoint}',
13+
operationId: 'anthropic_proxy_route_anthropic__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/anthropic/retrieve-anthropic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'anthropic',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/anthropic/{endpoint}',
13+
operationId: 'anthropic_proxy_route_anthropic__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/anthropic/update-anthropic.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'anthropic',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'put',
12+
httpPath: '/anthropic/{endpoint}',
13+
operationId: 'anthropic_proxy_route_anthropic__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assemblyai/create-assemblyai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assemblyai',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/assemblyai/{endpoint}',
13+
operationId: 'assemblyai_proxy_route_assemblyai__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assemblyai/delete-assemblyai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assemblyai',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'delete',
12+
httpPath: '/assemblyai/{endpoint}',
13+
operationId: 'assemblyai_proxy_route_assemblyai__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assemblyai/patch-assemblyai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assemblyai',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'patch',
12+
httpPath: '/assemblyai/{endpoint}',
13+
operationId: 'assemblyai_proxy_route_assemblyai__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assemblyai/retrieve-assemblyai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assemblyai',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/assemblyai/{endpoint}',
13+
operationId: 'assemblyai_proxy_route_assemblyai__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assemblyai/update-assemblyai.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assemblyai',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'put',
12+
httpPath: '/assemblyai/{endpoint}',
13+
operationId: 'assemblyai_proxy_route_assemblyai__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assistants/create-assistants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assistants',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/v1/assistants',
13+
operationId: 'create_assistant_v1_assistants_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assistants/delete-assistants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assistants',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'delete',
12+
httpPath: '/v1/assistants/{assistant_id}',
13+
operationId: 'delete_assistant_v1_assistants__assistant_id__delete',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/assistants/list-assistants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'assistants',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/v1/assistants',
13+
operationId: 'get_assistants_v1_assistants_get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/audio/speech/create-audio-speech.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'audio.speech',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/v1/audio/speech',
13+
operationId: 'audio_speech_v1_audio_speech_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/audio/transcriptions/create-audio-transcriptions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'audio.transcriptions',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/v1/audio/transcriptions',
13+
operationId: 'audio_transcriptions_v1_audio_transcriptions_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/azure/call-azure.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'azure',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/azure/{endpoint}',
13+
operationId: 'azure_proxy_route_azure__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/azure/create-azure.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'azure',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/azure/{endpoint}',
13+
operationId: 'azure_proxy_route_azure__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/azure/delete-azure.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'azure',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'delete',
12+
httpPath: '/azure/{endpoint}',
13+
operationId: 'azure_proxy_route_azure__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/azure/patch-azure.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'azure',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'patch',
12+
httpPath: '/azure/{endpoint}',
13+
operationId: 'azure_proxy_route_azure__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/azure/update-azure.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'azure',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'put',
12+
httpPath: '/azure/{endpoint}',
13+
operationId: 'azure_proxy_route_azure__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/cancel-with-provider-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/{provider}/v1/batches/{batch_id}/cancel',
13+
operationId: 'cancel_batch__provider__v1_batches__batch_id__cancel_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/cancel/cancel-batches-cancel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches.cancel',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/batches/{batch_id}/cancel',
13+
operationId: 'cancel_batch_batches__batch_id__cancel_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/create-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/v1/batches',
13+
operationId: 'create_batch_v1_batches_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/create-with-provider-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/{provider}/v1/batches',
13+
operationId: 'create_batch__provider__v1_batches_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/list-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/v1/batches',
13+
operationId: 'list_batches_v1_batches_get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/list-with-provider-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/{provider}/v1/batches',
13+
operationId: 'list_batches__provider__v1_batches_get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/retrieve-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/v1/batches/{batch_id}',
13+
operationId: 'retrieve_batch_v1_batches__batch_id__get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/batches/retrieve-with-provider-batches.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'batches',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/{provider}/v1/batches/{batch_id}',
13+
operationId: 'retrieve_batch__provider__v1_batches__batch_id__get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/bedrock/create-bedrock.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'bedrock',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/bedrock/{endpoint}',
13+
operationId: 'bedrock_proxy_route_bedrock__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/bedrock/delete-bedrock.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'bedrock',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'delete',
12+
httpPath: '/bedrock/{endpoint}',
13+
operationId: 'bedrock_proxy_route_bedrock__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/bedrock/patch-bedrock.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'bedrock',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'patch',
12+
httpPath: '/bedrock/{endpoint}',
13+
operationId: 'bedrock_proxy_route_bedrock__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/bedrock/retrieve-bedrock.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'bedrock',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/bedrock/{endpoint}',
13+
operationId: 'bedrock_proxy_route_bedrock__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/bedrock/update-bedrock.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'bedrock',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'put',
12+
httpPath: '/bedrock/{endpoint}',
13+
operationId: 'bedrock_proxy_route_bedrock__endpoint__patch',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/budget/create-budget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'budget',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/budget/new',
13+
operationId: 'new_budget_budget_new_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/budget/delete-budget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'budget',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/budget/delete',
13+
operationId: 'delete_budget_budget_delete_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/budget/info-budget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'budget',
99
operation: 'write',
1010
tags: [],
11+
httpMethod: 'post',
12+
httpPath: '/budget/info',
13+
operationId: 'info_budget_budget_info_post',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/budget/list-budget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'budget',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/budget/list',
13+
operationId: 'list_budget_budget_list_get',
1114
};
1215

1316
export const tool: Tool = {

packages/mcp-server/src/tools/budget/settings-budget.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ export const metadata: Metadata = {
88
resource: 'budget',
99
operation: 'read',
1010
tags: [],
11+
httpMethod: 'get',
12+
httpPath: '/budget/settings',
13+
operationId: 'budget_settings_budget_settings_get',
1114
};
1215

1316
export const tool: Tool = {

0 commit comments

Comments
 (0)