moot on Nostr: I couldn't resist a good Shrek reference. I wrote up a little about the pattern we ...
I couldn't resist a good Shrek reference.
I wrote up a little about the pattern we implemented in building the Square MCP server. The key is layering. You don't want to expose your whole API surface to the top, as it'll overwhelm the LLM and let it run down wrong paths too easily.
Check out the post to learn a little more. I'd also love to chat if you have your own insights or try this out and want to tell me about the experience!
https://engineering.block.xyz/blog/build-mcp-tools-like-ogres-with-layersPublished at
2025-05-09 19:20:03Event JSON
{
"id": "c9b2190de4e140fd8a47181229f453eab1b0a3565459d0ff62b601895cf59614",
"pubkey": "1a2aa3d3dc4640b0b957202ed670f4dec18984ee4b47794e7e0ecb8ee4987cbc",
"created_at": 1746818403,
"kind": 1,
"tags": [
[
"r",
"wss://nostr.oxtr.dev/"
],
[
"r",
"wss://relay.damus.io/"
]
],
"content": "I couldn't resist a good Shrek reference. \n\nI wrote up a little about the pattern we implemented in building the Square MCP server. The key is layering. You don't want to expose your whole API surface to the top, as it'll overwhelm the LLM and let it run down wrong paths too easily. \n\nCheck out the post to learn a little more. I'd also love to chat if you have your own insights or try this out and want to tell me about the experience!\n\nhttps://engineering.block.xyz/blog/build-mcp-tools-like-ogres-with-layers",
"sig": "6fb8614e0763ad6b295d55b7a4ab2b650c7a21b27e80bb44ea30c698e90b6ccafd94fda4149f8aaeef2b58371ac2a82c7abc1b62763a02ce9727effa95919be2"
}