From 7009517eb060f1d187bd8265683272aa43878c00 Mon Sep 17 00:00:00 2001 From: iammatthias Date: Wed, 6 Aug 2025 10:56:06 -0500 Subject: [PATCH 1/3] test enabling mcp generation from OpenAPI spec --- mcp-docs.mdx | 6 ++++++ pinata-api-v3.yaml | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 mcp-docs.mdx diff --git a/mcp-docs.mdx b/mcp-docs.mdx new file mode 100644 index 0000000..7905a46 --- /dev/null +++ b/mcp-docs.mdx @@ -0,0 +1,6 @@ +--- +title: "MCP Docs" +icon: "robot" +--- + +The Pinata MCP server lets you easily query the Pinata Docs and API. \ No newline at end of file diff --git a/pinata-api-v3.yaml b/pinata-api-v3.yaml index 8c30fa3..2898350 100644 --- a/pinata-api-v3.yaml +++ b/pinata-api-v3.yaml @@ -1,4 +1,6 @@ openapi: 3.0.0 +x-mcp: + enabled: true info: title: Pinata V3 API version: 1.0.0 From bbd374530ab70226b4d2dfb975da1f85a5fffb62 Mon Sep 17 00:00:00 2001 From: iammatthias Date: Wed, 6 Aug 2025 12:13:28 -0500 Subject: [PATCH 2/3] Add mcp-docs to the documentation list --- docs.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs.json b/docs.json index 9c03650..31a3f0d 100644 --- a/docs.json +++ b/docs.json @@ -56,7 +56,8 @@ "frameworks/node-js" ] }, - "llm-docs" + "llm-docs", + "mcp-docs" ] }, { From 41ea68665bd5f282240877a1c5d3f70ef68d52f9 Mon Sep 17 00:00:00 2001 From: iammatthias Date: Wed, 6 Aug 2025 13:13:30 -0500 Subject: [PATCH 3/3] Enable MCP feature for additional routes --- pinata-api-v3-uploads.yaml | 2 ++ pinata-x402-api-v1.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/pinata-api-v3-uploads.yaml b/pinata-api-v3-uploads.yaml index f6997c4..c96b8f2 100644 --- a/pinata-api-v3-uploads.yaml +++ b/pinata-api-v3-uploads.yaml @@ -1,4 +1,6 @@ openapi: 3.0.0 +x-mcp: + enabled: true info: title: Private IPFS API version: 1.0.0 diff --git a/pinata-x402-api-v1.yaml b/pinata-x402-api-v1.yaml index 6cef98d..3306c1b 100644 --- a/pinata-x402-api-v1.yaml +++ b/pinata-x402-api-v1.yaml @@ -1,4 +1,6 @@ openapi: 3.0.0 +x-mcp: + enabled: true info: title: Pinata x402 description: x402 compatible endpoints for uploading and retrieving files on IPFS