Skip to content

Add context-aware tag suggestion to MCP server #13

Description

@miratcan

Enable automatic project-based tag suggestions for LLM assistants via MCP.

Problem

  • LLMs don't know which tags to use
  • Manual tagging every time is tedious
  • Want automatic project detection

Solution

Add suggest_kaydet_tags() tool to MCP server that:

1. Check for explicit override

Look for .kaydet.tags file in current directory

# .kaydet.tags
work
project-name

2. Smart default fallback

Use directory name as tag suggestion

# In /code/bbrain/ → suggest #bbrain
# In /projects/kaydet/ → suggest #kaydet

3. Return suggestion (not forcing)

{
  "suggested_tags": ["bbrain"],
  "source": "directory_name"
}

Benefits

  • Zero-config automatic tagging
  • LLM decides whether to use suggestion
  • No modification to kaydet binary
  • Per-project customization via .kaydet.tags

Implementation Notes

  • Add tool to kaydet MCP server
  • Document in MCP README
  • LLM system prompt should mention this tool

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