Skip to main content

MCP: Provide agent-friendly way to run generic GraphQL API calls

The MCP server could be expanded to provide agents with a simple, reliable way to make API calls. |

Today, when an operation isn’t supported by spacectl, agents tend to fall back to using curl, which is error-prone and brittle in automation workflows. Adding an MCP tool to wrap generic GraphQL queries/mutations (or providing clear documentation describing how to perform GraphQL operations reliably) would improve agent-based usage and reduce reliance on ad-hoc API calls.

Example: Fetch stack by ID / list runs with filters via GraphQL without using curl.

This request was merged into another request

No comments yet

Be the first to share your thoughts.