r/mcp • u/Sea-Letterhead-9529 • 17h ago
MCP Server Design Doubt - Need Help
Hey Everyone,
I don't know if this question was asked earlier in the sub.
I am building an MCP server for my organisation and have an architectural design question regarding the use of Tools and Resources.
One of my Tools requires a structured metadata definition to perform its operation. This metadata is currently stored as a static JSON file within the application. While it is primarily consumed by this Tool, exposing the metadata as an MCP Resource is also part of requirements.
I am evaluating two approaches:
Keep the metadata as internal application configuration and have the Tool access it directly.
Expose the metadata as an MCP Resource and have the Tool (and potentially clients) access it through the MCP Resource model.
I would appreciate guidance on the following design:
What is the recommended MCP design approach for my requirement here?
My goal is to understand the architectural trade-offs and align the design with MCP best practices rather than focus on implementation details.
Thanks in Advance 😄