Skip to content

feat: MCP session init and tool calls #110

@dwmkerr

Description

@dwmkerr

Summary

Add commands to initialize MCP sessions and call MCP tools directly from the terminal-ai CLI.

Use Case

When testing MCP servers (like shellwright), it's useful to manually call tools from the command line:

# Initialize session
tai mcp init http://localhost:7498/mcp

# Call a tool
tai mcp call shell_start '{"command":"bash"}'

This would simplify debugging and testing MCP integrations without needing a full MCP client.

Related

  • shellwright has manual scripts for this: scripts/mcp-init.sh and scripts/mcp-tool-call.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions