Skip to main content
Glama
hald

Things MCP Server

by hald

get_projects

Retrieve all projects from Things, with an option to include tasks within projects, enabling streamlined project analysis and management.

Instructions

Get all projects from Things

Args: include_items: Include tasks within projects

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
include_itemsNo

Implementation Reference

  • The main handler function for the 'get_projects' tool. It retrieves all projects using the 'things.projects()' API and formats them using 'format_project', optionally including items. Decorated with '@mcp.tool' for registration.
    @mcp.tool async def get_projects(include_items: bool = False) -> str: """Get all projects from Things Args: include_items: Include tasks within projects """ projects = things.projects() if not projects: return "No projects found" formatted_projects = [format_project(project, include_items) for project in projects] return "\n\n---\n\n".join(formatted_projects)

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/hald/things-mcp'

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