Skip to main content
Glama
MikeyBeez

MCP Contemplation

by MikeyBeez

get_status

Check the status of Claude's background cognitive processing to monitor ongoing contemplation, pattern recognition, and insight development between conversations.

Instructions

Get contemplation loop status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Core handler function in ContemplationManager class that implements the logic for get_status tool: checks if subprocess is running, sends status request to it, and returns ContemplationStatus object with running state, PID, queue size, and last thought.
    async getStatus(): Promise<ContemplationStatus> { const running = !!this.subprocess && !this.subprocess.killed; if (!running) { return { running: false, queue_size: 0 }; } // Send status request this.subprocess?.stdin?.write(JSON.stringify({ action: 'status' }) + '\n'); // For now, return basic status return { running: true, process_id: this.subprocess?.pid, queue_size: this.insights.filter(i => !i.used).length, last_thought: this.insights[this.insights.length - 1]?.content }; }
  • MCP tool call dispatch handler that invokes contemplation.getStatus() and formats the response as MCP content.
    case 'get_status': { const status = await contemplation.getStatus(); return { content: [{ type: 'text', text: JSON.stringify(status, null, 2) }], }; }
  • src/index.ts:457-464 (registration)
    Tool registration in ListTools response, including name, description, and empty input schema.
    { name: 'get_status', description: 'Get contemplation loop status', inputSchema: { type: 'object', properties: {}, }, },
  • TypeScript interface defining the output structure returned by getStatus() handler.
    interface ContemplationStatus { running: boolean; process_id?: number; queue_size: number; last_thought?: string; uptime?: number; }

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/MikeyBeez/mcp-contemplation'

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