MCP ExplorerExplorer

Fibery Mcp Graphql

@greatwitenorthon 10 months ago
1 MIT
FreeCommunity
AI Systems
MCP server to help your llm construct valid graphql queries for fibery.

Overview

What is Fibery Mcp Graphql

fibery-mcp-graphql is a Model Context Protocol (MCP) server designed to assist your LLM in constructing valid GraphQL queries and mutations for the Fibery platform.

Use cases

Use cases for fibery-mcp-graphql include automating the creation of GraphQL queries for data retrieval, ensuring the correctness of queries before execution, and facilitating the integration of Fibery with other applications through GraphQL.

How to use

To use fibery-mcp-graphql, clone the repository, install the dependencies using ‘bun install’, and configure the MCP server with your Fibery token and domain. It can be used with any MCP-compatible client.

Key features

Key features include listing all available GraphQL spaces and types in your Fibery account, retrieving the complete GraphQL schema SDL for a specific space, and validating generated GraphQL queries or mutations against the known schema.

Where to use

fibery-mcp-graphql can be used in any application that integrates with the Fibery platform, particularly in environments requiring dynamic GraphQL query generation and validation.

Content

Fibery MCP GraphQL Server

This is a Model Context Protocol (MCP) server that provides tools to introspect the Fibery GraphQL API to help your LLM to write valid graphql queries and mutations.

Features

  • List Spaces and Types: Fetches and lists all available GraphQL spaces and types in your Fibery account
  • Get Schema SDL: Gets the complete GraphQL schema SDL for a Fibery space
  • Validate Fibery GraphQL: Validates a generated GraphQL query or mutation for Fibery against the known schema

Prerequisites

  • Node.js (v20 or higher)
  • Fibery account with API access

Using with MCP Clients

This server implements the Model Context Protocol and can be used with any MCP-compatible client. The MCP endpoint is available at:

Installation

  1. Clone the repository
  2. Install dependencies:
bun install

MCP Tools

list_spaces_and_types

Lists all available GraphQL spaces and types in your Fibery account.

Parameters: None

Response:

get_schema_sdl

Gets the complete GraphQL schema SDL for a Fibery space. This includes all type definitions, queries, mutations, etc.

Parameters:

  • space_id: The ID of the space to get the schema for (required)

Response:

{
  "space_id": "Space_Name",
  "sdl": "type Query { ... } type Mutation { ... } ..."
}

validate_fibery_graphql

Validates a generated GraphQL query or mutation for Fibery against the known schema. Returns any validation errors.

Parameters:

  • space_id: The ID of the space to validate against (required)
  • query_to_validate: The GraphQL query or mutation to validate (required)

Response:

{
  "valid": true,
  "errors": []
}

License

MIT

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers