Server data from the Official MCP Registry
Search, read and update Aha.io ideas, features, epics, releases, goals and comments
About
Search, read and update Aha.io ideas, features, epics, releases, goals and comments
Security Report
Valid MCP server (0 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
2 files analyzed ยท 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
What You'll Need
Set these up before or after installing:
Environment variable: AHA_COMPANY
Environment variable: AHA_TOKEN
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-cedricziel-aha-mcp": {
"env": {
"AHA_TOKEN": "your-aha-token-here",
"AHA_COMPANY": "your-aha-company-here"
},
"args": [
"-y",
"@cedricziel/aha-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Aha MCP Server
A Model Context Protocol (MCP) server that provides seamless integration with Aha.io's product management platform. Features offline database synchronization, vector embeddings for semantic search, and comprehensive workflow automation.
๐ง Client Configuration
MCP Registry
This server is published to the official MCP Registry
as io.github.cedricziel/aha-mcp, so a client that browses the registry can install it
without any of the configuration below:
curl "https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.cedricziel/aha-mcp"
The registry holds metadata only. Its entry points at the three artifacts described below โ
the npm package, the ghcr.io image and the .mcpb desktop extension โ and a client picks
whichever it can run. Either way the server needs AHA_COMPANY and AHA_TOKEN.
Claude Desktop Extension (easiest)
Download aha-mcp-v<version>.mcpb from the latest release
and open it with Claude Desktop, which will prompt you for your Aha.io subdomain and API
token. No Node.js or Docker setup and no manual JSON editing required.
The extension exposes 50 tools that query Aha.io directly, so results are always current and nothing is stored locally. Cross-record search is served by Aha.io's own index โ see Search.
Claude Desktop Configuration
To use this MCP server with Claude Desktop, add the following to your claude_desktop_config.json:
Using npx:
{
"mcpServers": {
"aha": {
"command": "npx",
"args": ["@cedricziel/aha-mcp"],
"env": {
"AHA_COMPANY": "your-company",
"AHA_TOKEN": "your-api-token"
}
}
}
}
Using Docker:
{
"mcpServers": {
"aha": {
"command": "docker",
"args": [
"run", "--rm", "-i",
"-e", "AHA_COMPANY=your-company",
"-e", "AHA_TOKEN=your-api-token",
"ghcr.io/cedricziel/aha-mcp"
]
}
}
}
Note: Replace
your-companyandyour-api-tokenwith your actual Aha.io subdomain and API token.
๐ Getting Started
Quick Start with npx
You can run the MCP server directly using npx without installing it globally:
# Set environment variables
export AHA_COMPANY="your-company" # Your Aha.io subdomain
export AHA_TOKEN="your-api-token" # Your Aha.io API token
# Run the server
npx @cedricziel/aha-mcp
Quick Start with Docker
You can also run the MCP server using Docker:
# Set environment variables
export AHA_COMPANY="your-company" # Your Aha.io subdomain
export AHA_TOKEN="your-api-token" # Your Aha.io API token
# Run in stdio mode (default)
docker run --rm -e AHA_COMPANY="$AHA_COMPANY" -e AHA_TOKEN="$AHA_TOKEN" ghcr.io/cedricziel/aha-mcp
# Run in Streamable HTTP mode (recommended for remote access)
docker run --rm -p 3001:3001 -e AHA_COMPANY="$AHA_COMPANY" -e AHA_TOKEN="$AHA_TOKEN" ghcr.io/cedricziel/aha-mcp --mode streamable-http
Development Setup
-
Install Bun if you haven't already:
curl -fsSL https://bun.sh/install | bash -
Install dependencies:
bun install -
Configure environment variables:
export AHA_COMPANY="your-company" # Your Aha.io subdomain export AHA_TOKEN="your-api-token" # Your Aha.io API token -
Start the server:
# Start the stdio server (for MCP clients - default) bun start # Or start with Streamable HTTP (recommended for remote access) bun start -- --mode streamable-http # Or start the HTTP server (legacy entry point) bun run start:http -
For development with auto-reload:
# Development mode with stdio bun run dev # Development mode with Streamable HTTP bun run dev -- --mode streamable-http # Development mode with HTTP (legacy) bun run dev:http
๐ Aha.io Integration
This MCP server provides hybrid integration with Aha.io through both live API access and offline database synchronization. The server automatically maintains a local SQLite database with your Aha.io data, enabling faster queries, offline access, and advanced semantic search capabilities.
Architecture Overview
- Hybrid Data Access: Live API calls for real-time data + offline SQLite database for performance
- Background Sync: Automatic synchronization of Aha.io entities to local database
- Vector Embeddings: Semantic search using sentence transformers and SQLite vector extensions
- Real-time Progress: Background job monitoring with detailed progress tracking
- Configuration Management: Runtime configuration without server restarts
Configuration
The Aha.io integration can be configured using multiple methods, with the following priority order:
- Environment Variables (highest priority)
- Configuration File (
~/.aha-mcp-config.json) - Default Values (lowest priority)
Environment Variables
AHA_COMPANY: Your Aha.io subdomain (e.g.,mycompanyformycompany.aha.io)AHA_TOKEN: Your Aha.io API token (for API token authentication)AHA_ACCESS_TOKEN: Your OAuth 2.0 access token (for OAuth authentication)MCP_TRANSPORT_MODE: Transport mode (stdioorstreamable-http)MCP_PORT: Port number for HTTP-based modes (default: 3001)MCP_HOST: Host address for HTTP-based modes (default: 0.0.0.0)MCP_AUTH_TOKEN: Authentication token for HTTP-based modes (optional)MCP_TOOL_RATE_LIMIT_PER_MINUTE: Tool calls allowed per minute (default: 120,0disables)
Transport Modes
The server supports two transport modes:
- stdio: Standard input/output mode for MCP client integration (default)
- streamable-http: HTTP transport (MCP protocol 2025-06-18), for remote and web clients
Example usage:
# Stdio mode (default)
aha-mcp
# Streamable HTTP mode
aha-mcp --mode streamable-http --port 3001
Removed: the
ssetransport was deprecated in MCP spec 2025-03-26 and has been removed.MCP_TRANSPORT_MODE=sseand--mode ssenow fall back tostreamable-httpwith a warning, so existing configurations keep starting.
Authentication (HTTP transport)
The streamable-http transport supports optional Bearer token authentication:
Environment Variable Configuration
# Set authentication token
export MCP_AUTH_TOKEN="your-secure-token-here"
# Start server with authentication
aha-mcp --mode streamable-http --port 3001
Client Authentication
When authentication is enabled, clients must include a Bearer token in the Authorization
header. All MCP traffic goes to the single /mcp endpoint:
curl -X POST \
-H "Authorization: Bearer your-secure-token-here" \
-H "Content-Type: application/json" \
-H "MCP-Protocol-Version: 2025-06-18" \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {}}' \
http://localhost:3001/mcp
Most callers should use an MCP client library rather than raw HTTP; pass the token as an
Authorization header when constructing the transport.
Security Notes
- Opt-in: Authentication is optional. If
MCP_AUTH_TOKENis not set, all requests are allowed. - Token Security: Use strong, randomly generated tokens (minimum 8 characters).
- HTTPS: In production, always use HTTPS to protect tokens in transit.
- Token Storage: Tokens are obfuscated (base64 encoded) in the configuration file but should be treated as sensitive data.
Checking Authentication Status
curl http://localhost:3001/
# Response includes:
# {
# "authentication": {
# "enabled": true,
# "type": "Bearer token"
# }
# }
Configuration Management Tools
The server provides three MCP tools for configuration management:
- configure_server: Update server settings at runtime
- get_server_config: View current configuration and validation status
- test_configuration: Test API connectivity with current settings
These tools allow you to manage configuration without restarting the server, making it easy to switch between different Aha.io accounts or update credentials.
Database Synchronization
The server maintains a local SQLite database with your Aha.io data for improved performance and offline access.
Sync Management Tools
aha_sync_start: Start background synchronization of specified entity typesaha_sync_status: Check the status and progress of sync jobsaha_sync_stop: Stop a running sync jobaha_sync_pause: Pause a sync job (can be resumed later)aha_sync_resume: Resume a paused sync jobaha_sync_history: View detailed history of sync operationsaha_sync_health: Get overall sync service health statusaha_database_health: Check database connectivity and statisticsaha_database_cleanup: Clean up old sync jobs and optimize database
Sync Features
- Entity Types: Sync features, products, ideas, epics, initiatives, releases, goals, users, comments
- Progress Tracking: Real-time progress updates with detailed statistics
- Error Handling: Comprehensive error logging and recovery mechanisms
- Batch Processing: Configurable batch sizes for optimal performance
- Incremental Updates: Support for
updatedSincefiltering to sync only recent changes - Concurrent Operations: Multiple sync jobs can run simultaneously
Example Sync Workflow
# Start syncing features and products
aha_sync_start --entities features,products --batchSize 50
# Check progress
aha_sync_status --jobId sync-abc123
# View sync history
aha_sync_history --jobId sync-abc123 --limit 20
# Check overall health
aha_sync_health
Semantic Search & Embeddings
The server includes advanced semantic search capabilities using vector embeddings.
Embedding Management Tools
aha_generate_embeddings: Generate vector embeddings for entity text contentaha_embedding_status: Check the status of embedding generation jobsaha_semantic_search: Search entities using natural language queriesaha_generate_entity_embedding: Generate embedding for a specific entityaha_find_similar: Find entities similar to a given entityaha_pause_embeddings: Pause embedding generation jobsaha_stop_embeddings: Stop embedding generation jobs
Semantic Search Features
- Vector Storage: Embeddings stored in SQLite with sqlite-vec extension
- Multiple Models: Support for different embedding models (default: all-MiniLM-L6-v2)
- Similarity Search: Cosine similarity search with configurable thresholds
- Cross-Entity Search: Find similar content across different entity types
- Real-time Generation: Background embedding generation with progress tracking
Example Embedding Workflow
# Generate embeddings for features and ideas
aha_generate_embeddings --entities features,ideas --batchSize 25
# Search for similar content
aha_semantic_search --query "user authentication security" --threshold 0.7
# Find similar features to a specific feature
aha_find_similar --entityType features --entityId FEAT-123 --limit 5
# Check embedding job progress
aha_embedding_status --jobId embed-xyz789
Available Resources
Breaking change: many collection resources (slim index lists like aha_features, and a
few with a handful of scalar columns like aha_ideas) now return text/markdown - a link
list or a table, depending on the record type - instead of a JSON array. Anything that used
to parse those collections' contents as JSON needs to change. Collections with richer nested
data (aha_goals, aha_initiatives, comment resources, and similar) are unaffected and, like
every single-record resource (aha://feature/{id} and the like), still return
application/json.
Individual Entity Resources
aha_idea: Access individual ideas usingaha://idea/{id}aha_feature: Access individual features usingaha://feature/{id}aha_user: Access individual users usingaha://user/{id}aha_epic: Access individual epics usingaha://epic/{id}aha_product: Access individual products usingaha://product/{id}aha_initiative: Access individual initiatives usingaha://initiative/{id}aha_requirement: Access individual requirements usingaha://requirement/{id}aha_competitor: Access individual competitors usingaha://competitor/{id}aha_todo: Access individual todos usingaha://todo/{id}
Collection Resources
aha_features: List features with optional filtering usingaha://features?query=...&tag=...aha_users: List all users usingaha://usersaha_epics: List epics for a product usingaha://epics/{product_id}aha_products: List all products usingaha://products?updatedSince=...aha_initiatives: List all initiatives usingaha://initiatives?query=...&onlyActive=trueaha_ideas: List all ideas globally usingaha://ideas?query=...&status=...&category=...aha_ideas_by_product: List ideas for a product usingaha://ideas/{product_id}?query=...&spam=false&sort=recentaha_competitors: List competitors for a product usingaha://competitors/{product_id}aha_product_releases: List releases for a product usingaha://releases/{product_id}?query=...&status=...aha_initiative_epics: List epics for an initiative usingaha://initiative/{initiative_id}/epics
Comment Resources
aha_feature_comments: Access comments for a feature usingaha://comments/feature/{feature_id}aha_epic_comments: Access comments for an epic usingaha://comments/epic/{epic_id}aha_idea_comments: Access an idea's internal comments usingaha://comments/idea/{idea_id}aha_idea_portal_comments: Access an idea's ideas-portal comments usingaha://idea-comments/{idea_id}โ different records from the above, including anything a customer wroteaha_initiative_comments: Access comments for an initiative usingaha://comments/initiative/{initiative_id}aha_product_comments: Access comments for a product usingaha://comments/product/{product_id}aha_goal_comments: Access comments for a goal usingaha://comments/goal/{goal_id}aha_release_comments: Access comments for a release usingaha://comments/release/{release_id}aha_release_phase_comments: Access comments for a release phase usingaha://comments/release-phase/{release_phase_id}aha_requirement_comments: Access comments for a requirement usingaha://comments/requirement/{requirement_id}aha_todo_comments: Access comments for a todo usingaha://comments/todo/{todo_id}
Goal Resources
aha_goal: Access individual goals usingaha://goal/{goal_id}aha_goals: List all goals usingaha://goalsaha_goal_epics: Access epics associated with a goal usingaha://goal/{goal_id}/epicsaha_goal_key_results: Access key results for a goal usingaha://goal/{goal_id}/key_resultsaha_key_result: Access individual key results usingaha://key_result/{id}
Release Resources
aha_release: Access individual releases usingaha://release/{release_id}aha_releases: List all releases usingaha://releasesaha_release_features: Access features associated with a release usingaha://release/{release_id}/featuresaha_release_epics: Access epics associated with a release usingaha://release/{release_id}/epicsaha_release_phase: Access individual release phases usingaha://release-phase/{release_phase_id}aha_release_phases: List all release phases usingaha://release-phases
Custom Fields Resources
aha_custom_fields: List all custom field definitions usingaha://custom-fieldsaha_custom_field_options: Access options for a custom field usingaha://custom-field/{custom_field_id}/options
Resource URI Examples
# Individual Entity Resources
aha://idea/IDEA-123 # Get specific idea
aha://feature/PROJ-456 # Get specific feature
aha://user/USER-789 # Get specific user
aha://epic/EPIC-101 # Get specific epic
aha://product/PROD-001 # Get specific product
aha://initiative/INIT-202 # Get specific initiative
aha://requirement/REQ-666 # Get specific requirement
aha://competitor/COMP-444 # Get specific competitor
aha://todo/TODO-777 # Get specific todo
# Collection Resources (enhanced with filtering)
aha://features?query=auth&tag=api&assignedToUser=user@example.com # Search features
aha://users # List all users
aha://epics/PROJ-001 # List epics for product
aha://products?updatedSince=2024-01-01T00:00:00Z # List products with filter
aha://initiatives?query=mobile&onlyActive=true&assignedToUser=user@example.com # Search initiatives
aha://ideas?query=nodejs&status=new&category=enhancement # List ideas globally with filters
aha://ideas/PROJ-001?query=search&spam=false&sort=recent&tag=enhancement # List ideas with filters
aha://competitors/PROJ-001 # List competitors for product
aha://releases/PROJ-001?query=mobile&status=shipped # List releases for product
aha://initiative/INIT-123/epics # List epics for initiative
# Comment Resources
aha://comments/feature/PRJ1-123 # Get comments for feature
aha://comments/epic/EPIC-123 # Get comments for epic
aha://comments/idea/IDEA-456 # Get an idea's internal comments
aha://idea-comments/IDEA-456 # Get an idea's ideas-portal comments
aha://comments/initiative/INIT-789 # Get comments for initiative
aha://comments/product/PROD-001 # Get comments for product
aha://comments/goal/GOAL-555 # Get comments for goal
aha://comments/release/REL-333 # Get comments for release
aha://comments/release-phase/RP-444 # Get comments for release phase
aha://comments/requirement/REQ-666 # Get comments for requirement
aha://comments/todo/TODO-777 # Get comments for todo
# Goal Resources
aha://goal/GOAL-123 # Get specific goal
aha://goals # List all goals
aha://goal/GOAL-456/epics # Get epics for goal
aha://goal/GOAL-456/key_results # Get key results for goal
aha://key_result/PRJ1-G-3-KR-1 # Get specific key result
# Release Resources
aha://release/REL-123 # Get specific release
aha://releases # List all releases
aha://release/REL-456/features # Get features for release
aha://release/REL-456/epics # Get epics for release
aha://release-phase/RP-123 # Get specific release phase
aha://release-phases # List all release phases
# Custom Fields Resources
aha://custom-fields # List all custom field definitions
aha://custom-field/CF-123/options # Get options for custom field
Available Tools
Note: List operations are handled through MCP resources. Tools cover search, single-record reads, write operations and relationship management.
Record Read Tools
aha_get_feature: Read one feature, including workflow status, release, assignee, tags, score and custom field valuesaha_get_epic: Read one epicaha_get_idea: Read one ideaaha_get_initiative: Read one initiativeaha_get_release: Read one releaseaha_get_goal: Read one goal, including its time frame, progress source, success metric and key result summaryaha_get_key_result: Read one key result, including its status and starting, current and target metrics
These return the full record as structuredContent. They duplicate what
aha://feature/{id} and friends already serve, deliberately: a client is free to surface
resources to its model or not, and several do not โ on those, every read here was
unreachable, leaving write tools with no way to see what they were about to replace.
aha_search is not a substitute, as it cannot return per-record fields.
Collection Read Tools
aha_list_release_features: List the features assigned to a release, with a link per feature and Aha's total for the releaseaha_list_release_epics: List the epics assigned to a release, with a link per epic and Aha's total for the releaseaha_list_key_results: List a goal's key results, with status, progress and metricsaha_list_comments: List the comments on a record, both streams for an idea
The two release tools are the only way to enumerate a release. aha_search is
relevance-ranked, returns no release membership on a hit and cannot be asked for every record
in a scope, so a release list assembled from search results is partial โ and nothing in it says
so. Both types are listed because a release is not organised the same way in every workspace: a
release planned in epics is invisible to the features tool. Each asks for 200 records per page
(Aha's own default is 30 for features; on the epics route it is unmeasured, which is why the
tool never relies on it) and always returns Aha's pagination block, so a caller can tell a
complete list from the front of a longer one. Aha
returns identity fields only on these endpoints, so use aha_get_feature or aha_get_epic for
the state of any one record.
Write Operation Tools
aha_create_feature_comment: Create a comment on a featureaha_create_initiative_in_product: Create an initiative within a specific product
Feature CRUD Tools
aha_create_feature: Create a feature within a specific releaseaha_update_feature: Update a featureaha_delete_feature: Delete a featureaha_update_feature_progress: Update a feature's progressaha_update_feature_score: Update a feature's scoreaha_update_feature_custom_fields: Update a feature's custom fields
Epic CRUD Tools
aha_update_epic: Update an epicaha_delete_epic: Delete an epicaha_create_epic_in_product: Create an epic within a specific productaha_create_epic_in_release: Create an epic within a specific release
Idea CRUD Tools
aha_create_idea: Create an idea in a productaha_create_idea_with_category: Create an idea with a categoryaha_create_idea_with_score: Create an idea with a scoreaha_delete_idea: Delete an idea
Goal and Key Result Tools (OKRs)
aha_create_goal: Create a goal (objective) in a workspaceaha_update_goal: Update a goal's name, description, success metric, status, time frame or progressaha_delete_goal: Delete a goal, and with it the key results it ownsaha_list_key_results: List a goal's key results, with status, progress and metricsaha_create_key_result: Create a key result under a goalaha_update_key_result: Update a key result โ its status and starting, current or target metricaha_delete_key_result: Delete a key result
Three things about these differ from the rest of the API, all measured against a live account:
- Goal creation and deletion are workspace-scoped.
POST /products/{id}/goalsandDELETE /products/{id}/goals/{id}are the only routes Aha offers, so both tools require a workspace id โaha_get_goalreturns it asproduct_id. Updates do not need one. - A key result has no
url. Unlike every other record type, the standalone record carries neitherurlnorresource, so theaha://key_result/{id}resource link each tool returns is the only pointer a client can follow. - A goal has no top-level workflow status. It lives under
success_metric.workflow_status, which is what the Aha UI shows as the goal's status.
Competitor Management Tools
aha_create_competitor: Create a competitor in a productaha_update_competitor: Update a competitoraha_delete_competitor: Delete a competitor
Portal Integration Tools
aha_create_idea_by_portal_user: Create an idea by a portal useraha_create_idea_with_portal_settings: Create an idea with enhanced portal settings
Relationship Management Tools
aha_associate_feature_with_epic: Associate a feature with an epicaha_move_feature_to_release: Move a feature to a different releaseaha_associate_feature_with_goals: Associate a feature with multiple goalsaha_update_feature_tags: Update tags for a feature
Note: reads are offered through both interfaces, by design:
- Resources cover the full read surface โ every entity type, with filtering through URI parameters, and lists as well as single records
- Tools cover writes (create/update/delete), relationship management (associate/move), search, and single-record reads for the five most-written types
The overlap is deliberate. Resources are the richer read surface, but the MCP spec leaves it to each client whether to expose them to its model, and tool-only clients are common. Keeping reads tool-accessible for the types that have write tools is what stops an agent from changing a field it cannot see.
๐ Phase 8 - Complete CRUD Operations & Advanced Features
The MCP server now provides comprehensive lifecycle management for Aha.io entities with complete CRUD operations, portal integration, and advanced workflow features:
Phase 8A - Core CRUD Operations (18 Tools)
Feature Management (6 Tools)
aha_create_feature: Create features within releasesaha_update_feature: Update existing featuresaha_delete_feature: Delete featuresaha_update_feature_progress: Update feature progress (0-100%)aha_update_feature_score: Update feature scoresaha_update_feature_custom_fields: Update feature custom fields
Epic Management (2 Tools)
aha_update_epic: Update existing epicsaha_delete_epic: Delete epics
Idea Management (4 Tools)
aha_create_idea: Create ideas in productsaha_create_idea_with_category: Create ideas with categoriesaha_create_idea_with_score: Create ideas with scoresaha_delete_idea: Delete ideas
Phase 8B - Competitor Management (3 Tools)
Competitor Management (3 Tools)
aha_create_competitor: Create competitors in productsaha_update_competitor: Update existing competitorsaha_delete_competitor: Delete competitors
Note: Initiative data access is now handled through MCP resources (aha_initiative, aha_initiatives, aha_initiative_comments, aha_initiative_epics) for a cleaner separation between read and write operations.
Phase 8C - Portal Integration & Advanced Features (2 Tools)
Portal Integration
aha_create_idea_by_portal_user: Create ideas by portal usersaha_create_idea_with_portal_settings: Create ideas with portal settings
Enhanced Filtering & Resources
- Initiative Filtering: Enhanced with
query,updatedSince,assignedToUser,onlyActiveparameters - Portal Configuration: Support for
skip_portalandsubmitted_idea_portal_idsettings - Comprehensive Entity Coverage: Full CRUD operations for features, epics, ideas, and competitors
Technical Achievements
- 50 MCP tools, all querying Aha.io directly โ no local state
- 17 listed MCP resources covering the entity set, plus templated resource URIs
- 17 domain-specific prompts (workflow automation)
- 32 core CRUD and write operation tools for complete lifecycle management, including OKRs (goals and key results)
- Cross-record search over Aha's own index, covering 20 record types
- 7 single-record read tools, so a write can be checked against the record's current state on clients that do not surface resources
- Comment reads and writes on every record type Aha supports, with an idea's ideas-portal conversation handled as its own stream
- Goal and key result CRUD, so a quarterly OKR loop can run through the server rather than the Aha UI
- 5 server configuration tools for runtime configuration
- 468 tests passing with comprehensive service coverage
- No native dependencies, so the server runs anywhere Node does
- Comprehensive error handling with proper Zod schema validation
๐ Search
aha_search queries Aha.io's own search index through the GraphQL API
(POST /api/v2/graphql, searchDocuments). Nothing is cached locally, so results are
always current and no native dependencies or writable storage are required.
// Everything matching "alerting", any record type
{ "query": "alerting" }
// Ideas only, within one workspace
{ "query": "alerting", "recordTypes": ["Idea"], "workspaceId": "7387509120724661690" }
// Sweep a workspace broadly: alternatives, because there is no match-all
{ "query": "a* OR e* OR i* OR o* OR u*", "recordTypes": ["Idea"], "workspaceId": "7387509120724661690" }
What it matches: record names and descriptions. Comment bodies match too, surfacing as
Comment hits that link to their parent record.
Query syntax: term* for prefix matching, AND / OR / NOT, and "quoted phrases".
There is no match-all query. A bare * is rejected: on its own Aha returns an arbitrary
subset for it, and combined with workspaceId it returns nothing at all โ an empty result
that reads like an empty workspace. Search for a term, or enumerate a workspace through the
list resources (aha://features, aha://ideas/{product_id}) instead of searching it.
What it does not return: workflow status, release membership, assignee or custom field
values. Aha's searchDocuments cannot select per-type fields, so a hit carries only its
name, type, id, workspace, URL and updated_at. Read the record itself for anything else:
{ "featureId": "PRJ1-123" } // aha_get_feature โ full record, including custom fields
Record types (recordTypes, omit to search all):
BusinessModel ยท Comment ยท Competitor ยท Epic ยท Feature ยท Goal ยท Idea ยท IdeaOrganization
IdeaTheme ยท IdeaUser ยท Initiative ยท KeyResult ยท Page ยท Persona ยท Project ยท Release
ReleasePhase ยท Requirement ยท StrategicPositioning ยท Task
Paging: perPage accepts 10โ200 and defaults to 20 โ Aha raises anything below 10.
total_count stops counting at 10,000, reported as total_count_is_capped: true.
Use scripts/check-graphql.ts to confirm what your own account and token can reach:
AHA_COMPANY=mycompany AHA_TOKEN=... bun run scripts/check-graphql.ts
Why not local embeddings?
Earlier versions synced Aha into SQLite and ranked results with a local "semantic search".
That has been removed. The embedding function hashed character codes through Math.sin(),
so it carried no semantic signal and its similarity scores were not interpretable. It also
required the native sqlite3 module and a writable data directory, which is what broke it
in packaged installs. Aha's server-side index is keyword-based but real, always current, and
free of all that machinery.
Aha also hosts its own MCP server at https://<yourcompany>.aha.io/api/v1/mcp.
๐ ๏ธ Adding Custom Tools and Resources
When adding custom tools, resources, or prompts to your MCP server:
-
Use underscores (
_) instead of hyphens (-) in all resource, tool, and prompt names// Good: Uses underscores server.tool( "my_custom_tool", "Description of my custom tool", { param_name: z.string().describe("Parameter description") }, async (params) => { // Tool implementation } ); // Bad: Uses hyphens, may cause issues with Cursor server.tool( "my-custom-tool", "Description of my custom tool", { param-name: z.string().describe("Parameter description") }, async (params) => { // Tool implementation } ); -
This naming convention ensures compatibility with Cursor and other AI tools that interact with your MCP server
๐ณ Docker Usage
Docker Images
The Aha MCP server is available as Docker images on GitHub Container Registry:
- GitHub Container Registry:
ghcr.io/cedricziel/aha-mcp
Running with Docker
Basic Usage
# Run in stdio mode (default)
docker run --rm \
-e AHA_COMPANY="your-company" \
-e AHA_TOKEN="your-api-token" \
ghcr.io/cedricziel/aha-mcp
# Run in Streamable HTTP mode
docker run --rm \
-p 3001:3001 \
-e AHA_COMPANY="your-company" \
-e AHA_TOKEN="your-api-token" \
ghcr.io/cedricziel/aha-mcp --mode streamable-http
# Run in Streamable HTTP mode with authentication
docker run --rm \
-p 3001:3001 \
-e AHA_COMPANY="your-company" \
-e AHA_TOKEN="your-api-token" \
-e MCP_AUTH_TOKEN="your-secure-token" \
ghcr.io/cedricziel/aha-mcp --mode streamable-http
Persistent Configuration
To persist configuration between runs:
# Create a named volume for configuration
docker volume create aha-mcp-config
# Run with persistent configuration
docker run --rm \
-v aha-mcp-config:/home/mcp/.config \
-e AHA_COMPANY="your-company" \
-e AHA_TOKEN="your-api-token" \
ghcr.io/cedricziel/aha-mcp
Using Docker Compose
The repository includes a docker-compose.yml file for easy setup:
# Copy the example environment file
cp .env.example .env
# Edit .env with your credentials
AHA_COMPANY=your-company
AHA_TOKEN=your-api-token
# Run in stdio mode
docker-compose --profile stdio up
# Run in Streamable HTTP mode
docker-compose --profile http up
# Run in detached mode
docker-compose --profile http up -d
Example .env file:
AHA_COMPANY=mycompany
AHA_TOKEN=your-api-token-here
MCP_AUTH_TOKEN=your-secure-token-here
Docker Environment Variables
The Docker image supports all the same environment variables as the npm package:
| Variable | Description | Default |
|---|---|---|
AHA_COMPANY | Aha.io company subdomain | - |
AHA_TOKEN | Aha.io API token | - |
MCP_TRANSPORT_MODE | Transport mode (stdio or streamable-http) | stdio |
MCP_PORT | Port for streamable-http mode | 3001 |
MCP_HOST | Host for streamable-http mode | 0.0.0.0 |
MCP_AUTH_TOKEN | Bearer token for the streamable-http transport | - |
MCP_TOOL_RATE_LIMIT_PER_MINUTE | Tool calls allowed per minute (0 disables) | 120 |
MCP_CONFIG_DIR | Configuration directory | /home/mcp/.config |
Health Checks
The Docker image includes health checks for streamable-http mode:
# Check if the HTTP server is healthy
curl http://localhost:3001/health
# Get detailed server status
curl http://localhost:3001/status
Building from Source
To build the Docker image locally:
# Build the image
npm run docker:build
# Test the image
npm run docker:test
# Run the image
npm run docker:run
# Run in Streamable HTTP mode
npm run docker:run:http
Multi-Architecture Support
The Docker images are built for multiple architectures:
linux/amd64(x86_64)linux/arm64(Apple Silicon, ARM64)
Docker will automatically pull the correct image for your platform.
Docker Security
The Docker image follows security best practices:
- Runs as non-root user (
mcp) - Uses minimal Alpine Linux base image
- Includes tini for proper signal handling
- Configuration directory has proper permissions
- Uses multi-stage builds to reduce attack surface
๐๏ธ Development
Commit Guidelines
This project uses Conventional Commits to ensure consistent commit messages and enable automated versioning.
Commit Message Format:
<type>(<scope>): <subject>
<body>
<footer>
Types:
feat: A new featurefix: A bug fixdocs: Documentation only changesstyle: Changes that do not affect the meaning of the coderefactor: A code change that neither fixes a bug nor adds a featureperf: A code change that improves performancetest: Adding missing tests or correcting existing testsbuild: Changes that affect the build system or external dependenciesci: Changes to CI configuration files and scriptschore: Other changes that don't modify src or test files
Examples:
feat: add new MCP tool for listing projects
fix: resolve authentication issue with API tokens
docs: update README with installation instructions
feat!: change API response format (breaking change)
Commit messages are validated using commitlint on every commit and in CI.
Testing
Local Testing
Run the test suite:
# Run all tests
bun test
# Run tests in watch mode
bun run test:watch
# Run tests with coverage
bun test --coverage
Docker Testing
The Docker environment includes all necessary dependencies for testing:
# Test the Docker build
docker build -t aha-mcp-test .
# Run tests inside Docker container
docker run --rm aha-mcp-test bun test
# Test with environment variables
docker run --rm \
-e AHA_COMPANY="test-company" \
-e AHA_TOKEN="test-token" \
aha-mcp-test bun test
# Verify all dependencies are available
docker run --rm aha-mcp-test bun install --dry-run
# Test database functionality (SQLite)
docker run --rm aha-mcp-test node -e "
const sqlite3 = require('sqlite3');
const db = new sqlite3.Database(':memory:');
console.log('SQLite available:', !!db);
db.close();
"
# Test if sqlite-vec extension loads (graceful fallback if not available)
docker run --rm aha-mcp-test bun run start --help
Testing Database Features
The Docker environment includes:
- SQLite3: Core database functionality
- Node.js sqlite packages: Database drivers and utilities
- Graceful fallback: sqlite-vec extension warnings are suppressed in test environments
- Temporary databases: Each test uses isolated temporary database files
- Proper cleanup: Database connections and files are cleaned up after tests
Verifying Docker Environment
# Check all key components are available
docker run --rm aha-mcp-test sh -c "
echo 'Checking Bun...'; bun --version
echo 'Checking Node.js...'; node --version
echo 'Checking SQLite...'; node -e 'console.log(require(\"sqlite3\"))'
echo 'Checking dependencies...'; bun install --dry-run
echo 'Running basic tests...'; bun test --reporter=dot
"
# Test MCP server startup
docker run --rm -d --name aha-test \
-e AHA_COMPANY="test" \
-e AHA_TOKEN="test" \
aha-mcp-test
# Check if server started successfully
docker logs aha-test
# Cleanup
docker stop aha-test
The Docker environment supports the full test suite including:
- 194+ test cases across all services
- Database service tests (25 test cases)
- Background sync service tests (16 test cases)
- MCP accessibility tests (172 test cases)
- SQLite extension warnings are automatically suppressed in test mode
Building
To build for production:
# Build stdio server
bun run build
# Build HTTP server
bun run build:http
Publishing
Automated Release Process (Recommended)
This project uses release-please for automated versioning and publishing:
-
Make changes using Conventional Commits format:
feat:for new features (minor version bump)fix:for bug fixes (patch version bump)feat!:orfix!:for breaking changes (major version bump)
-
Push to main - release-please will automatically:
- Create a release PR with updated version and changelog
- Once the release PR is merged, it will create a GitHub release
- The release will trigger automatic publication to npm,
ghcr.ioand the MCP Registry
Documentation truncated โ see the full README on GitHub.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol ยท Developer Tools
Web content fetching and conversion for efficient LLM usage
Toleno
Freeby Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
mcp-creator-python
Freeby mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.
MarkItDown
Freeby Microsoft ยท Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
MCP Marketplace
Freeby mcp-marketplace ยท Developer Tools
Search and install MCP servers from inside your AI client.
FinAgent
Freeby mcp-marketplace ยท Finance
Free stock data and market news for any MCP-compatible AI assistant.
