Cloudflare Workers MCP server: graphql-rest-bridge
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Filter a JSON object or array to include only specified fields. Useful for reducing REST response payloads to match GraphQL selection sets.
JSON object or array to filter
Field names to keep
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Filter a JSON object or array to include only specified fields. Useful for reducing REST response payloads to match GraphQL selection sets.
| Argument |
|---|
| Type |
|---|
| Description |
|---|
| data* | any | JSON object or array to filter |
| fields* | array | Field names to keep |
{
"type": "object",
"required": [
"data",
"fields"
],
"properties": {
"data": {
"description": "JSON object or array to filter"
},
"fields": {
"type": "array",
"items": {
"type": "string"
},
"example": [
"id",
"name",
"email"
],
"description": "Field names to keep"
}
}
}Parse a GraphQL query string. Returns operationType (query/mutation/subscription), top-level field names, fragment definitions, variable declarations, and nesting depth.
| Argument | Type | Description |
|---|---|---|
| query* | string | GraphQL query string |
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"example": "query GetUsers { users { id name email } }",
"description": "GraphQL query string"
}
}
}Convert a GraphQL query or mutation to a REST API call. Returns method (GET/POST), endpoint URL, headers, optional body template for mutations with variables.
| Argument | Type | Description |
|---|---|---|
| query* | string | GraphQL query or mutation string |
| baseUrl | string | Target REST API base URL |
{
"type": "object",
"required": [
"query"
],
"properties": {
"query": {
"type": "string",
"description": "GraphQL query or mutation string"
},
"baseUrl": {
"type": "string",
"default": "https://api.example.com",
"description": "Target REST API base URL"
}
}
}Analyze a GraphQL introspection result to list queryable operations, mutations, subscriptions, and user-defined types. Filters out built-in GraphQL scalar and meta-types.
| Argument | Type | Description |
|---|---|---|
| schema* | object | GraphQL introspection result object containing __schema |
{
"type": "object",
"required": [
"schema"
],
"properties": {
"schema": {
"type": "object",
"description": "GraphQL introspection result object containing __schema"
}
}
}