Skip to main content
Glama
Aha! MCP Server

Aha! MCP Server

by aakashrshah

Aha! MCP Server - Python FastMCP Implementation

A Python-based MCP server for interacting with Aha! API using FastMCP with HTTP streaming capabilities.

Features

  • HTTP Streaming: Built with FastMCP for efficient HTTP streaming

  • GraphQL Integration: Uses GraphQL to query Aha! API

  • Three Main Tools:

    • get_record: Get features or requirements by reference number

    • get_page: Get pages with optional parent relationships

    • search_documents: Search for Aha! documents

Related MCP server: GitHub GraphQL API MCP

Environment Variables

  • AHA_API_TOKEN: Your Aha! API token (required)

  • AHA_DOMAIN: Your Aha! domain name (required)

  • PORT: Server port (default: 9004)

Installation

pip install -r requirements.txt

Running

Local Development

# Set environment variables
export AHA_API_TOKEN="your_token_here"
export AHA_DOMAIN="your_domain_here"

# Run with HTTP streaming (default)
python main.py

# Or run with stdio transport
python main.py --transport stdio

Docker

# Build the image
docker build -t aha-mcp .

# Run the container
docker run -e AHA_API_TOKEN="your_token_here" -e AHA_DOMAIN="your_domain_here" -p 9004:9004 aha-mcp

Tools

get_record

Get an Aha! feature or requirement by reference number.

  • Input: reference (string) - e.g., "DEVELOP-123" or "ADT-123-1"

  • Output: JSON with name and description

get_page

Get an Aha! page by reference number with optional relationships.

  • Input:

    • reference (string) - e.g., "ABC-N-213"

    • include_parent (boolean, optional) - Include parent page

  • Output: JSON with page details, children, and optional parent

search_documents

Search for Aha! documents.

  • Input:

    • query (string) - Search query

    • searchable_type (string, optional) - Document type (default: "Page")

  • Output: JSON with search results and pagination info

Architecture

  • server.py: Main FastMCP server with tool definitions

  • handlers.py: Business logic for handling each tool

  • queries.py: GraphQL queries for Aha! API

  • types.py: Python dataclasses for type safety

  • main.py: Entry point for running the server

Inspired from https://github.com/aha-develop/aha-mcp

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      A
      maintenance
      Enables interaction with AFFiNE workspaces through GraphQL API to manage documents, search content, handle comments, and access version history. Supports comprehensive workspace operations including document publishing, comment management, and user authentication via session cookies or personal access tokens.
      95
      1,216 npm
      339
      MIT
    • F
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables querying and exploring the GitHub GraphQL API schema and executing optimized GraphQL queries to retrieve precise GitHub data (repositories, issues, PRs, users) with reduced token consumption.
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Integrates with Aha.io product management platform, enabling offline data synchronization, semantic search, and workflow automation via natural language.
      97 npm
      6
      MIT