Skip to content

Commit 4e05b6e

Browse files
committed
small bug fix
1 parent 8a61d3f commit 4e05b6e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/graphql/src/tools/graphql.tools.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,9 +1011,6 @@ export function registerGraphQLTools(agent: GraphQLMCP) {
10111011
const compressedQuery = LZString.compressToEncodedURIComponent(query)
10121012
const compressedVariables = LZString.compressToEncodedURIComponent(JSON.stringify(variables))
10131013
const explorerUrl = `https://graphql.cloudflare.com/explorer?query=${compressedQuery}&variables=${compressedVariables}`
1014-
1015-
// Add the explorer URL to the result
1016-
result.explorerUrl = explorerUrl
10171014

10181015
// Check if the response is too large (MCP server will fail if > 1MB)
10191016
const resultString = JSON.stringify(result)

0 commit comments

Comments
 (0)