FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat(server): support sync stateless MCP primitive repositories by ultramancode · Pull Request #1034 · modelcontextprotocol/java-sdk · GitHub

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (10) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* Copyright 2024-2026 the original author or authors.
*/

package io.modelcontextprotocol.server;

import io.modelcontextprotocol.common.McpTransportContext;
import io.modelcontextprotocol.spec.McpSchema;

/**
* Repository contract for handling stateless completion requests from the current MCP
* request context.
*
* @author Taewoong Kim
*/
public interface CompletionsRepository {

/**
* Complete the request for the current request context.
* @param request the completion request
* @param transportContext the transport context for the current request
* @return the completion result
*/
McpSchema.CompleteResult complete(McpSchema.CompleteRequest request, McpTransportContext transportContext);

}

Large diffs are not rendered by default.

Loading

Back | FazBrowse Home | New Git URL