Skip to main content
Glama
Fibery MCP GraphQL Server

Fibery MCP GraphQL Server

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

Related MCP server: Apito MCP Server

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:

{
  "mcpServers": {
    "fibery-mcp-graphql": {
      "command": "node", // note: if using nvm, use the full path to the version of node you want to use
      "args": ["/full-path-to/index.js"],
      "env": {
        "FIBERY_TOKEN": "your_fibery_token",
        "FIBERY_URL": "your_fibery_domain.fibery.io"
      }
    }
  }
}

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:

{
  "spaces": [
    {
      "name": "Space Name",
      "url": "https://your-domain.fibery.io/api/graphql/space/Space_Name",
      "id": "Space_Name"
    },
    ...
  ],
  "count": 5
}

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

Available Tools

3 tools
get_schema_sdlA

Get the complete GraphQL schema SDL for a Fibery space. This includes all type definitions, queries, mutations, etc. Although you might think the response is truncated, it is not. Please proceed as if it's not truncated. The following is some markdown documentation on how the fibery graphql api works:

The list of entities can be retrieved from the database by using find query which is defined for every database for each space. For example findBugs, findEmployees.

## Filtering
Filters can be applied by providing filtering arguments for find queries.

### String filtering operators
is: String
isNot: String
contains: String
notContains: String
greater: String
greaterOrEquals: String
less: String
lessOrEquals: String
in: [String]
notIn: [String]
isNull: Boolean

### Int filtering operators
is: Int
isNot: Int
greater: Int
greaterOrEquals: Int
less: Int
lessOrEquals: Int
in: [Int]
notIn: [Int]
isNull: Boolean

### Float filtering operators
is: Float
isNot: Float
greater: Float
greaterOrEquals: Float
less: Float
lessOrEquals: Float
in: [Float]
notIn: [Float]
isNull: Boolean

### Boolean filtering operators
is: Boolean
isNull: Boolean

### ID filtering operators
is: ID
isNot: ID
in: [ID]
notIn: [ID]
isNull: Boolean

### Filtering by inner lists
isEmpty: Boolean 
contains: [InnerListDbFilter] // AND statement
containsAny: [InnerListDbFilter] // OR statement 
notContains: [InnerListDbFilter] // AND statement
notContainsAny: [InnerListDbFilter] // OR statement

## Sorting
Use orderBy argument which can be applied for native fields or one-to-one properties.
Example: orderBy: { releaseDate: DESC }

## Rich fields and comments
Rich text fields or comments can be downloaded in four formats: jsonString, text, md, html.

## Paging and limits
By default, find database query returns 100 records.
Use limit and offset arguments to control pagination.
Example: findBugs(limit:3, offset:3)

## Aliases
GraphQL aliases can be used for find query as alternative to OR statement.
Example:
{
  todo: findBugs(state:{name:{is:"To Do"}})
  done: findBugs(state:{name:{is:"Done"}})
}

After using this tool to generate schema, you should always call validate_fibery_graphql to validate your queries.

Inputs: space_id (required).

list_spaces_and_typesA

List all Fibery GraphQL spaces and types (types are also known as databases). Use this when a space, type or database name is provided and you want to find the correct ID name of the space.

Inputs: no named parameters.

validate_fibery_graphqlB

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

Inputs: space_id (required), query_to_validate (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    Disambiguation4/5

    The three tools target distinct stages: discovering space/type IDs, fetching the schema SDL, and validating a generated query. Boundaries are clear, though get_schema_sdl and validate_fibery_graphql both operate on 'the schema' and an agent could occasionally reach for the wrong one when debugging a query.

    Naming Consistency4/5

    All names are snake_case verb_object (list_…, get_…, validate_…), which is predictable. Minor deviation: list_spaces_and_types uses a compound 'and' object and get_schema_sdl abbreviates, but the pattern is still readable.

    Tool Count3/5

    Three tools is on the thin side for a GraphQL integration surface; the real work is pushed into freeform GraphQL strings rather than tool calls. It's a defensible minimal design, but borderline for the scope implied.

    Completeness3/5

    Discovery, introspection, and validation form a coherent loop, but there is no tool to actually execute a validated query/mutation, leaving the agent at a dead end unless execution happens outside this server. Read/write lifecycle coverage depends entirely on hand-written GraphQL the server never runs.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers