Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TDD_MCP_LOG_LEVELNoLogging verbosity - debug|info|warn|errorinfo
TDD_MCP_SESSION_DIRNoCustom session storage directory.tdd-mcp/sessions/
TDD_MCP_USE_MEMORY_REPOSITORYNoUse in-memory storage for testingfalse

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
start_sessionA

Start a new TDD session.

Args: goal: High-level session objective and definition of done test_files: Files where agent can write tests (explicit paths) implementation_files: Files where agent can write implementation run_tests: Commands/instructions for running test suite custom_rules: Additional rules appended to global TDD rules

Returns: Session ID of the created session

update_sessionC

Update an existing active session.

Args: goal: Updated session objective (optional) test_files: Updated test files (optional) implementation_files: Updated implementation files (optional) run_tests: Updated test commands (optional) custom_rules: Updated custom rules (optional)

Returns: True if update was successful

resume_sessionA

Resume an existing session by session ID.

Args: session_id: Unique identifier for the session to resume

Returns: Current state of the resumed session

pause_sessionB

Pause the current active session.

Returns: Session ID of the paused session

end_sessionA

End the current active session and return summary.

Returns: Summary of the completed session

next_phaseA

Move to the next phase in the TDD cycle.

Args: evidence_description: Description of what was accomplished to justify transition

Returns: New session state after phase transition

rollbackC

Rollback to the previous phase.

Args: reason: Reason for rolling back

Returns: New session state after rollback

get_current_stateA

Get current state of the active session.

Returns: Current session state with all properties calculated

logA

Add a log entry to the current session without affecting workflow state.

Args: message: Log message to add to session history

Returns: True if log entry was successfully added

historyB

Get formatted session history for the current active session.

Returns: List of formatted history entries

quick_helpA

Provide context-aware shortcuts and help based on current session state.

Returns: Dictionary with context-aware help and shortcuts

Prompts

Interactive templates invoked by user choice

NameDescription
initializeProvide comprehensive TDD-MCP usage instructions for new agents.
start_session_wizardWizard to refine the goal and prepare parameters for start_session tool call.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/tinmancoding/tdd-mcp'

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