Skip to main content
Glama
granoflow

Granoflow MCP Server

Official
by granoflow

Granoflow MCP Server

MCP server for Granoflow: exposes the Granoflow Local HTTP API as tools for AI agents, IDEs, and automation.

This server is intentionally thin. It does not own Granoflow business logic, database access, app orchestration, or release workflows. It resolves a local API endpoint, forwards structured requests to the running Granoflow app, and returns predictable MCP tool results.

Requirements

  • Node.js 20 or newer.

  • A running Granoflow app with the Local HTTP API enabled.

The default Granoflow API URL is:

http://127.0.0.1:56789

You can override it with:

export GRANOFLOW_API_BASE_URL="http://127.0.0.1:56789"
export GRANOFLOW_API_TOKEN="..."

The MCP server can keep non-secret local connection defaults in:

~/.config/granoflow-mcp/config.json

Set GRANOFLOW_MCP_CONFIG_PATH to use a different config path for tests, temporary setups, or advanced local installs. API tokens are not stored in this file; keep GRANOFLOW_API_TOKEN in the MCP client environment.

Related MCP server: HiveFlow MCP Server

Install

npm install -g @granoflow/mcp-server

For a user-facing setup walkthrough, see Granoflow MCP User Install And Demo Guide.

For maintainers, see Granoflow MCP Release Checklist.

Release Branch Policy

  • develop is the active integration branch. It may contain unverified or unreleased changes.

  • main is the npm release branch. Publish @granoflow/mcp-server latest only from main.

  • Merge or fast-forward develop into main only after release preflight passes.

For local development:

npm install
npm run build
node dist/index.js

Verify an installed package without starting an MCP stdio session:

npx -y @granoflow/mcp-server --version
npx -y @granoflow/mcp-server --help

Before publishing a release, verify the package contents:

npm run release:preflight

Tools

Initial tools:

  • granoflow_setup_status

  • granoflow_setup_detect_local_api

  • granoflow_setup_write_config

  • granoflow_setup_open_config

  • granoflow_setup_open_app

  • granoflow_health

  • granoflow_version

  • granoflow_capabilities

  • granoflow_ai_agent_tools

  • granoflow_task_list

  • granoflow_task_export

  • granoflow_task_validate

  • granoflow_task_import

  • granoflow_task_create

  • granoflow_task_create_structured

  • granoflow_task_update

  • granoflow_task_update_structured

  • granoflow_task_complete

  • granoflow_task_finish

  • granoflow_task_resolve

  • granoflow_project_list

  • granoflow_project_resolve

  • granoflow_project_create

  • granoflow_project_update

  • granoflow_project_delete

  • granoflow_milestone_list

  • granoflow_milestone_resolve

  • granoflow_milestone_create

  • granoflow_milestone_update

  • granoflow_milestone_delete

  • granoflow_review_day_show

  • granoflow_api_request

Prefer the structured task, project, and milestone tools for common resource operations. The JSON payload tools remain available as escape hatches when the running app exposes newer fields before this package has first-class schemas.

Write tools default to dry-run behavior. Ask the tool to write only after you have reviewed the preview or the user has explicitly requested a write. Delete tools also require the current resource title before writing, and refuse linked tasks unless the caller explicitly accepts that impact.

Setup Diagnostics

Use the setup tools when an agent or MCP client needs to connect to a local Granoflow app without hand-editing every setting first:

  • granoflow_setup_status reports config path, env/config precedence, token presence, MCP server version, Local HTTP API health, version metadata, capability summary, and local Granoflow process evidence without printing secrets.

  • granoflow_setup_detect_local_api probes a small bounded localhost port list only.

  • granoflow_setup_write_config previews or writes non-secret config. It defaults to dry-run.

  • granoflow_setup_open_config creates and optionally opens the config file for manual editing.

  • granoflow_setup_open_app previews or opens the installed Granoflow app after user approval. On macOS it tries the formal /Applications/granoflow.app path before app-name fallbacks. It defaults to dry-run.

When setup status sees a configured localhost API URL that is unreachable, it checks whether a local Granoflow process appears to be running. If not, it returns a warning and asks the agent to confirm before opening the app.

Client Support

This package implements a standard MCP stdio server. The primary compatibility contract is the MCP protocol plus the npm executable:

npx -y @granoflow/mcp-server

Cursor and Codex are the verified client targets for this repository. Other MCP-compatible clients can use the same stdio command shape, but are not part of the routine verification matrix.

Cursor

Add this to .cursor/mcp.json in a project or ~/.cursor/mcp.json globally:

{
  "mcpServers": {
    "granoflow": {
      "command": "npx",
      "args": ["-y", "@granoflow/mcp-server"],
      "env": {
        "GRANOFLOW_API_BASE_URL": "http://127.0.0.1:56789"
      }
    }
  }
}

Codex

Add this to ~/.codex/config.toml:

[mcp_servers.granoflow]
command = "npx"
args = ["-y", "@granoflow/mcp-server"]

[mcp_servers.granoflow.env]
GRANOFLOW_API_BASE_URL = "http://127.0.0.1:56789"

Restart Codex after changing MCP configuration.

Other MCP-Compatible Clients

For clients that support local stdio MCP servers, configure the server with:

{
  "type": "stdio",
  "command": "npx",
  "args": ["-y", "@granoflow/mcp-server"],
  "env": {
    "GRANOFLOW_API_BASE_URL": "http://127.0.0.1:56789",
  },
}

Development

npm install
npm run check

npm run check runs Prettier, ESLint, TypeScript, and Vitest.

Security

  • This server does not read or write Granoflow's SQLite/Drift database.

  • This server does not run Granoflow app builds, screenshots, release jobs, or scenario orchestration.

  • Core operations go through the running app's Local HTTP API.

  • API tokens are passed through environment variables and must not be logged.

Install Server
A
license - permissive license
B
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/granoflow/granoflow-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server