Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Extension Proposal] Model Context Protocol (MCP) server #45054

Closed
mkouba opened this issue Dec 11, 2024 · 5 comments · Fixed by quarkiverse/quarkiverse-devops#314
Closed

[Extension Proposal] Model Context Protocol (MCP) server #45054

mkouba opened this issue Dec 11, 2024 · 5 comments · Fixed by quarkiverse/quarkiverse-devops#314
Assignees
Labels
area/quarkiverse This issue/PR is part of the Quarkiverse organization kind/extension-proposal Discuss and Propose new extensions

Comments

@mkouba
Copy link
Contributor

mkouba commented Dec 11, 2024

Description

"Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools."

In this extension, we would like to provide a declarative API that enables developers to implement MCP server features easily.

For example, an exposed prompt template could be implemented as a business method of a CDI bean:

public class MyPrompts {

    @Inject
    FooService fooService;

    @Prompt(description = "Not much we can say here.") // prompt name is derived from the method name, desc is optional
    PromptMessage foo(@PromptArg(description = "The name") String name) { // @PromptArg is optional
        return new PromptMessage("user", new TextContent(fooService.ping(name)));
    }

}

Repository name

quarkus-mcp-server

Short description

This extension enables developers to implement the MCP server features easily.

Repository Homepage URL

https://docs.quarkiverse.io/quarkus-mcp-server/dev/

Repository Topics

  • quarkus-extension

...

Team Members

Additional context

No response

@mkouba mkouba added area/quarkiverse This issue/PR is part of the Quarkiverse organization kind/extension-proposal Discuss and Propose new extensions labels Dec 11, 2024
Copy link

quarkus-bot bot commented Dec 11, 2024

/cc @aloubyansky (extension-proposal), @gastaldi (extension-proposal), @gsmet (extension-proposal), @maxandersen (extension-proposal)

@geoand
Copy link
Contributor

geoand commented Dec 11, 2024

🎉

@jmartisk
Copy link
Contributor

I assume you plan to support the HTTP/SSE transport? Or also stdio transport (that may get tricky because Quarkus prints a lot of stuff to stdout, so we would have to turn all logging off I guess)

@mkouba
Copy link
Contributor Author

mkouba commented Dec 11, 2024

I assume you plan to support the HTTP/SSE transport? Or also stdio transport (that may get tricky because Quarkus prints a lot of stuff to stdout, so we would have to turn all logging off I guess)

Good question. Yes, only HTTP/SSE transport at the moment.

@mkouba
Copy link
Contributor Author

mkouba commented Dec 11, 2024

@gastaldi thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/quarkiverse This issue/PR is part of the Quarkiverse organization kind/extension-proposal Discuss and Propose new extensions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants