Execution Journal
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Execution JournalPlan a 3-step workflow to book hotel, car, and flight with failure policies."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Execution Journal
An MCP server that helps AI coordinate sequential tool calls and maintain a comprehensive journal of execution workflows, decisions, and actions.
What This System Does
Execution Journal is a tool execution planning system that provides:
Sequential Planning: Design and execute sequences of tool calls
Execution Tracking: Monitor progress and status of each step
Decision Recording: Log all decisions made during execution
Action Journal: Record manual actions taken for audit trails
Contextual Awareness: Understand relationships between tool calls
Failure Policies: Define how failures in one step affect other steps
History Management: Query and clean up execution history
Related MCP server: production-grade-mcp-agentic-system
Core Concept
This system acts as a durable memo pad for AI actions and decisions. It doesn't execute rollbacks automatically - instead, it provides a comprehensive record of what was planned, what was executed, and what decisions were made along the way.
Available Tools
Plan Management
record_plan- Create and store execution plans with cancellability metadata and failure policiesrecord_execution_start- Start executing a plan and track progress
Execution Control
query_ledger- Check execution status, progress, and history for a specific executionquery_history- Query execution history with comprehensive filtering and paginationrecord_decision- Log decisions made during execution (stop/continue)record_action- Record manual actions taken for audit purposes
History Management
cleanup_history- Clean up old and completed execution history to free up space
Usage Examples
1. Create a Travel Planning Plan
{
"name": "Summer Vacation Planning",
"description": "Plan a complete summer vacation with hotel, car, and activities",
"steps": [
{
"id": "book_hotel",
"name": "Book Hotel",
"tool": "book_hotel",
"parameters": {"destination": "Paris", "dates": "2024-07-15 to 2024-07-22"},
"cancellable": "partially-reversible",
"failure_policy": {
"propagate_to": ["book_car", "book_activities"],
"action": "cancel_dependent",
"reason": "Hotel is essential for vacation planning"
}
},
{
"id": "book_car",
"name": "Book Rental Car",
"tool": "book_car",
"parameters": {"pickup_location": "Paris Airport", "dates": "2024-07-15 to 2024-07-22"},
"cancellable": "reversible",
"failure_policy": {
"propagate_to": ["book_activities"],
"action": "continue_others",
"reason": "Car is nice to have but not essential"
}
}
]
}2. Start Execution
{
"plan_id": "plan_abc123",
"notes": "Starting vacation planning execution"
}3. Monitor Progress
{
"execution_id": "exec_xyz789",
"include_step_details": true,
"include_events": true
}4. Query History
{
"query_type": "recent",
"limit": 10,
"include_plans": true,
"include_step_details": false
}5. Clean Up History
{
"cleanup_type": "completed_old",
"older_than_days": 30,
"dry_run": true
}6. Record Decisions and Actions
{
"execution_id": "exec_xyz789",
"action": "stop",
"reason": "Hotel booking failed, stopping related bookings"
}Project Structure
src/
├── tools/ # Tool implementations
│ ├── RecordPlanTool.ts # Plan creation
│ ├── RecordExecutionStartTool.ts # Execution start
│ ├── QueryLedgerTool.ts # Status monitoring
│ ├── QueryHistoryTool.ts # History querying
│ ├── RecordDecisionTool.ts # Decision logging
│ ├── RecordActionTool.ts # Action recording
│ └── CleanupHistoryTool.ts # History cleanup
├── prompts/ # AI guidance
│ └── ExecutionPlanningPrompt.ts
├── resources/ # Documentation and examples
│ ├── ExecutionDocumentationResource.ts
│ └── ExecutionExamplesResource.ts
├── core/ # Core system components
│ ├── db.ts # Database setup
│ └── execution-manager.ts # Execution orchestration
└── types/ # TypeScript definitions
└── execution.ts # Core interfacesInstallation & Setup
# Clone the repository
git clone <repository-url>
cd execution-journal
# Install dependencies
npm install
# Build the project
npm run build
# Start the server
npm startMCP Client Configuration
Add this to your MCP client configuration:
{
"mcpServers": {
"execution-journal": {
"command": "node",
"args": ["/path/to/dist/index.js"],
"env": {}
}
}
}Key Features
Sequential Execution: Tools are called one after another
Cancellability Metadata: Each step indicates reversibility level
Failure Policies: Define how failures propagate to other steps
Comprehensive Journaling: All decisions and actions are recorded
Execution Monitoring: Real-time status tracking
History Management: Query and clean up execution history
Audit Trail: Complete history for compliance and debugging
Cancellability Levels
reversible: Can be completely undonepartially-reversible: Can be partially undoneirreversible: Cannot be undone
Failure Policy Options
cancel_all: Cancel all remaining steps when this step failscancel_dependent: Cancel only steps that depend on this stepcontinue_others: Continue with other steps even if this failsmanual_decision: Require manual decision on how to proceed
History Query Types
recent: Most recently updated executionsincomplete: Pending or running executionsfailed: Failed or cancelled executionscompleted: Successfully completed executionsall: All executions with pagination
Cleanup Options
completed_old: Remove old completed executionsfailed_old: Remove old failed executionsorphaned_plans: Remove plans with no executionsall_old: Remove all old items
Best Practices
Plan Design: Keep steps focused and consider failure scenarios
Failure Policies: Design policies that make business sense
Monitoring: Check execution status regularly
Decision Recording: Log all decisions promptly
Action Documentation: Record what was done and why
Context Awareness: Understand how tool failures affect related operations
History Management: Regularly clean up old data to maintain performance
Development Status
✅ Core tools implemented
✅ MCP integration complete
✅ Database-backed journaling
✅ Failure policy support
✅ History management tools
✅ Comprehensive documentation
Contributing
This project focuses on simplicity and clarity. Contributions should maintain the core principle of providing execution support while improving the user experience for AI-driven tool coordination.
License
MIT License - See LICENSE file for details.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kuil09/Execution-Journal-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server