encore icon indicating copy to clipboard operation
encore copied to clipboard

[Feature Request] Replace LLM instruction with an MCP server

Open mozharovsky opened this issue 11 months ago • 2 comments

Hey, thanks for the great framework — love building APIs with Encore!

Just wondering if you've considered providing an MCP server with Encore docs and examples. This way, we could avoid including large LLM instructions (~11K tokens) in the system prompt. Agents within MCP-compatible clients such as Cursor could dynamically fetch the necessary docs, significantly minimizing (or even completely eliminating) lengthy LLM instructions, as MCP effectively handles most use cases.

For reference, I highly recommend checking out Mastra's MCP docs server configuration, which offers a super smooth experience!

mozharovsky avatar Mar 20 '25 17:03 mozharovsky

Agreed this would be great, we're going to do it as soon as we can.

marcuskohlberg avatar Mar 25 '25 13:03 marcuskohlberg

@mozharovsky recommend using the context7 mcp server It has the docs for encore

MuhtasimM avatar May 09 '25 15:05 MuhtasimM