Skip to content

Conversation

@tatu-at-datastax
Copy link
Contributor

What this PR does:

Trivial Poc/plaything for static-ish MCP prototype

Which issue(s) this PR fixes:
N/A

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Nov 11, 2025
</dependency>
<dependency>
<groupId>io.quarkiverse.mcp</groupId>
<artifactId>quarkus-mcp-server-sse</artifactId>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Despite name, provides both SSE (deprecated) and Streamable HTTP

@tatu-at-datastax tatu-at-datastax changed the title Initial MCP PoC (WIP/PoC) Initial MCP PoC Nov 17, 2025
import java.util.Map;

public class PoCTools {
@Inject private ToolManager toolManager;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the entity handling tools like name suggests: injected to allow adding tools dynamically.

Map<String, String> sysinfo() {
return Map.of(
"requestId",
requestContext.getRequestId(),
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently fails to inject RequestContext so fails here when attempting to call.

enabled: true
text-limit: 500
sse:
root-path: /v1/mcp
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Under same root as main Data API endpoint, on purpose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants