Skip to main content
Glama
ActivitySmith MCP Server

ActivitySmith MCP Server

by stumpyfr

ActivitySmith MCP Server

This MCP server exposes ActivitySmith notifications and live activity tools.

MCP Client Config (stdio)

Example mcp.json:

{
	"mcpServers": {
		"activitysmith": {
			"command": "uv",
			"args": ["run", "mcp-activitysmith"],
			"env": {
				"API_KEY": "your_key_here"
			}
		}
	}
}

Example mcp.json with input prompt (VS Code):

{
	"inputs": [
		{
			"id": "activitysmithApiKey",
			"type": "promptString",
			"description": "ActivitySmith API key",
			"password": true
		}
	],
	"mcpServers": {
		"activitysmith": {
			"command": "uv",
			"args": ["run", "mcp-activitysmith"],
			"env": {
				"API_KEY": "${input:activitysmithApiKey}"
			}
		}
	}
}

Example mcp.json using Docker (stdio, latest image):

{
	"mcpServers": {
		"activitysmith": {
			"command": "docker",
			"args": [
				"run",
				"--rm",
				"-i",
				"-e",
				"API_KEY=your_key_here",
				"ghcr.io/stumpyfr/mcp-activitysmith:latest"
			]
		}
	}
}

MCP Client Config (HTTP)

Example mcp.json:

{
	"mcpServers": {
		"activitysmith": {
			"url": "http://127.0.0.1:8000",
			"headers": {
				"Authorization": "Bearer your_key_here"
			}
		}
	}
}

Example mcp.json with input prompt (VS Code):

{
	"inputs": [
		{
			"id": "activitysmithApiKey",
			"type": "promptString",
			"description": "ActivitySmith API key",
			"password": true
		}
	],
	"mcpServers": {
		"activitysmith": {
			"url": "http://127.0.0.1:8000",
			"headers": {
				"Authorization": "Bearer ${input:activitysmithApiKey}"
			}
		}
	}
}

Dev requirements

  • Python 3.12+

  • ActivitySmith API key

Install

uv sync

If you change the package name or entry point, rerun uv sync to refresh the script.

Run (stdio)

API_KEY=your_key_here uv run mcp-activitysmith

Run (HTTP)

uv run mcp-activitysmith --server

Notes

  • HTTP mode reads the API key from the Authorization header on each request.

  • Stdio mode reads the API key from the API_KEY environment variable.

Available Tools

4 tools
end_activityB

End an activity with a title and message

Args: activity_id (str): The ID of the activity to end title (str): The title to show when the activity ends subtitle (str): The subtitle to show when the activity ends current_step (int): The current step to show when the activity ends auto_dismiss_minutes (int, optional): The number of minutes after which the activity will be automatically dismissed. Defaults to 2. color (str, optional): The color to show when the activity ends. Defaults to "blue". current_step_color (str, optional): The color of the current step to show when the activity ends. Defaults to "blue".

Inputs: title (required), subtitle (required), activity_id (required), current_step (required), +3 more. Returns: object

send_notificationsC

Send a notification with a title and message

Inputs: title (required), message (required). Returns: object

start_activityA

Start an activity with a title and message

Args: title (str): The title to show when the activity starts subtitle (str): The subtitle to show when the activity starts current_step (int): The current step to show when the activity starts number_of_step (int): The total number of steps to show when the activity starts color (str, optional): The color to show when the activity starts. Defaults to "blue". current_step_color (str, optional): The color of the current step to show when the activity starts. Defaults to "blue".

Inputs: title (required), subtitle (required), current_step (required), number_of_step (required), +2 more. Returns: object

update_activityC

Update an activity with a title and message

Args: activity_id (str): The ID of the activity to update title (str): The title to show when the activity is updated subtitle (str): The subtitle to show when the activity is updated current_step (int): The current step to show when the activity is updated color (str, optional): The color to show when the activity ends. Defaults to "blue". current_step_color (str, optional): The color of the current step to show when the activity ends. Defaults to "blue".

Inputs: title (required), subtitle (required), activity_id (required), current_step (required), +2 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: start, update, end an activity, and send notifications. No overlap in functionality.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern using snake_case: start_activity, update_activity, end_activity, send_notifications.

    Tool Count5/5

    With 4 tools covering the core activity lifecycle and notifications, the count is well-scoped for the server's purpose.

    Completeness4/5

    The tool set covers the essential activity operations (start, update, end) and notifications. A missing retrieval tool (e.g., get_activity) is a minor gap but not critical for typical usage.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to send notifications to a unified feed, report activity, request input from humans, and manage notification state through MCP tools.
      36 PyPI
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to push numbers and metrics to iPhone Home Screen, Lock Screen, and Live Activities widgets and read them back.
      5
      38 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to display native macOS popup notification and Markdown document cards, target specific monitors, list connected displays, and retrieve the currently focused screen.
      5
      10 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents and MCP clients to send, update, and resolve live actionable notifications across Android, macOS, and the web, including asking questions and waiting for user replies. Supports targeting one device or all devices and syncing responses across devices.
      1
      MIT