Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

mcp-connector changedagents-and-tools/mcp-connector

Nearest release: v2.1.238, published under an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+8added
Lines−8removed
From line 664 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits32to this page, all time

The whole hunk

from line 664, old and new numbered
/
lines
from line 664
664664 <Tabs>
665665 <Tab title="Gradle">
666666 ```kotlin
667 implementation("com.anthropic:anthropic-java-mcp:2.53.0")
667 implementation("com.anthropic:anthropic-java-mcp:2.57.0")
668668 ```
669669 </Tab>
670670 
from line 673
673673 <dependency>
674674 <groupId>com.anthropic</groupId>
675675 <artifactId>anthropic-java-mcp</artifactId>
676 <version>2.53.0</version>
676 <version>2.57.0</version>
677677 </dependency>
678678 ```
679679 </Tab>
from line 1153
11531153 file_resource = await mcp_client.read_resource(
11541154 uri="file:///path/to/data.json",
11551155 )
1156 uploaded = await client.beta.files.upload(
1156 uploaded = await client.files.upload(
11571157 file=mcp_resource_to_file(file_resource),
11581158 )
11591159 print(uploaded.id)
from line 1181
11811181 
11821182 // As a file upload
11831183 const fileResource = await mcpClient.readResource({ uri: "file:///path/to/data.json" });
1184 const uploaded = await anthropic.beta.files.upload({ file: mcpResourceToFile(fileResource) });
1184 const uploaded = await anthropic.files.upload({ file: mcpResourceToFile(fileResource) });
11851185 console.log(uploaded.id);
11861186 ```
11871187 
from line 1223
12231223 file.ContentType = new(mediaType);
12241224 }
12251225 
1226 var uploaded = await anthropic.Beta.Files.Upload(new FileUploadParams { File = file });
1226 var uploaded = await anthropic.Files.Upload(new FileUploadParams { File = file });
12271227 Console.WriteLine(uploaded.ID);
12281228 ```
12291229 
from line 1269
12691269 if err != nil {
12701270 log.Fatal(err)
12711271 }
1272 uploaded, err := client.Beta.Files.Upload(ctx, anthropic.BetaFileUploadParams{File: fileReader})
1272 uploaded, err := client.Files.Upload(ctx, anthropic.FileUploadParams{File: fileReader})
12731273 if err != nil {
12741274 log.Fatal(err)
12751275 }
from line 1309
13091309 fileField.contentType(resourceFile.mimeType());
13101310 }
13111311 
1312 var uploaded = anthropic.beta().files().upload(FileUploadParams.builder()
1312 var uploaded = anthropic.files().upload(FileUploadParams.builder()
13131313 .file(fileField.build())
13141314 .build());
13151315 
from line 1365
13651365 # As a file upload
13661366 file_resource = mcp_client.read_resource(uri: "file:///path/to/data.json")
13671367 file = Anthropic::Mcp.resource_to_files(file_resource).first
1368 uploaded_file = anthropic.beta.files.upload(file: file)
1368 uploaded_file = anthropic.files.upload(file: file)
13691369 puts uploaded_file.id
13701370 ```
13711371</CodeGroup>
Feedback