MCP server errors

This page covers failures in the Attune AI Model Context Protocol server, including tool invocation errors, prompt loading failures, and rate limiting issues.

Common error signatures

Prompt-related errors:

Rate limiting errors:

Memory tool errors:

Server initialization errors:

Where errors originate

Prompt system:

Tool handlers:

Rate limiter:

Server lifecycle:

How to diagnose

  1. Check the tool name first. If you're getting errors during tool calls, verify the tool name exists in the output of get_tool_list(). The MCP server has specific tools for workflows, utilities, help, and memory.

  2. Verify prompt arguments. For prompt-related ValueError exceptions, compare your prompt name against the list from get_prompt_list(). For template errors, ensure all required arguments are provided in your request.

  3. Check memory module installation. If memory tools fail with "module not installed", run pip install attune-ai to add the optional memory dependency.

  4. Monitor rate limiting. If tools seem unresponsive or slow, you may be hitting the 60-calls-per-minute limit. The rate limiter uses a sliding window, so wait a minute and retry.

  5. Inspect workspace configuration. Server initialization errors often trace to invalid workspace_root paths. Verify the directory exists and is accessible.

Source files

Tags: mcp, tools, server