The Bloomy MCP server enables interaction with Bloom Growth's GraphQL API through the Model Context Protocol, facilitating AI assistant integration. You can:
- Execute GraphQL queries and mutations with optional variables
- Retrieve detailed information about specific queries and mutations, including argument requirements, return types, and usage examples
- Get the ID of the currently authenticated user associated with the API token
- View available GraphQL operations through resource endpoints (
bloom://queries
andbloom://mutations
) - Benefit from automatic schema introspection for effective development and debugging
Connects to Bloom Growth's GraphQL API, enabling AI assistants to perform operations against the Bloom Growth platform, including executing queries and mutations, retrieving schema information, and accessing authenticated user data.
Bloomy MCP
A Model Context Protocol (MCP) server for interacting with Bloom Growth's GraphQL API.
Overview
Bloomy MCP is a server that connects to Bloom Growth's GraphQL API and exposes it through the Model Context Protocol, enabling AI assistants to perform operations against the Bloom Growth platform.
Features
- Query Bloom Growth GraphQL API through MCP
- Retrieve query and mutation details
- Execute GraphQL queries and mutations via MCP tools
- Get authenticated user information
- Automatic schema introspection
Installation
Prerequisites
- Python 3.12 or higher
- Access to Bloom Growth API
- uv (recommended) or pip for package management
Package Management
This project recommends using uv
, a fast Python package installer and resolver that serves as a drop-in replacement for pip/pip-tools. It's significantly faster than traditional package managers.
Installing uv
For other installation methods, see the uv documentation.
Setup
- Clone this repository
- Set up a Python virtual environment:
- Install the package in development mode:Using pip:Using uv (recommended):For development dependencies:
Environment Variables
Create a .env
file with the following variables:
Usage
Cursor Integration
To use this MCP server with Cursor (AI-powered IDE):
- Go to Cursor > Cursor Settings > MCP
- Click on "Add new MCP server"
- Configure the server with the following details:
- Name: "Bloom Growth" (or "BG" or any name you prefer)
- Type: Command
- Command:
uv run --project /path/to/your/repo/ --env-file /path/to/your/repo/.env bloomy-server
Important: Replace
/path/to/your/repo/
with the actual path to your bloomy-mcp repository (e.g.,/Users/username/workspace/bloomy-mcp/
).
Running the Server
Start the Bloomy MCP server:
Development Mode Inspection
For development and debugging purposes, you can use the MCP inspector tool:
This allows you to inspect the MCP server's behavior and responses during development.
Recommended Tools
For optimal development workflow:
- direnv: Use for managing environment variables and automatically loading them when entering the project directory
- uv: Use for fast and reliable package management
Setting up direnv:
- Install direnv (e.g.,
brew install direnv
on macOS) - Create a
.envrc
file in your project root: - Run
direnv allow
to authorize the environment variables
This combination of tools (direnv + uv) provides an efficient environment for both secrets management and package management.
Available MCP Tools
The following MCP tools are available for AI assistants:
get_query_details
- Get detailed information about specific GraphQL queriesget_mutation_details
- Get detailed information about specific GraphQL mutationsexecute_query
- Execute a GraphQL query or mutation with variablesget_authenticated_user_id
- Get the ID of the currently authenticated user
Available MCP Resources
bloom://queries
- Get a list of all available queriesbloom://mutations
- Get a list of all available mutations
Development
Project Structure
Dependencies
mcp[cli]
- Model Context Protocol servergql
- GraphQL client libraryhttpx
- HTTP clientpyyaml
- YAML processing
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Model Context Protocol server that connects AI assistants to Bloom Growth's GraphQL API, enabling them to query data and execute operations against the Bloom Growth platform.
Related Resources
Related MCP Servers
- -securityFlicense-qualityA Model Context Protocol server that provides AI assistants with structured access to your Logseq knowledge graph, enabling retrieval, searching, analysis, and creation of content within your personal knowledge base.Last updated -19TypeScript
- -securityAlicense-qualityA production-ready Model Context Protocol server implementation that connects AI assistants to the TON blockchain, allowing them to query wallet balances, transaction details, smart contracts, and other blockchain data.Last updated -TypeScriptMIT License
- -security-license-qualityA Model Context Protocol server that enables AI agents to dynamically interact with Hasura GraphQL endpoints through natural language, supporting schema discovery, data querying/manipulation, and aggregations.Last updated -1TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that allows AI agents to execute SQL queries against a MySQL database, supporting operations like reading data, creating tables, inserting, updating, and deleting records.Last updated -64771JavaScript