Skip to content

feat: llm-context command for agent Markdown#4

Merged
marcopesani merged 2 commits intomasterfrom
feat/llm-context
Mar 31, 2026
Merged

feat: llm-context command for agent Markdown#4
marcopesani merged 2 commits intomasterfrom
feat/llm-context

Conversation

@marcopesani
Copy link
Copy Markdown
Contributor

Summary

Adds bitrefill llm-context, which calls MCP tools/list and prints Markdown suitable for CLAUDE.md, Cursor rules, or Copilot instructions: tool descriptions, parameter tables, JSON Schema, example CLI invocations, and example tools/call JSON.

  • Output to stdout or -o/--output <file>.
  • Connection section uses a redacted MCP URL (…/mcp/<API_KEY>) so generated files are safe to commit.
  • Built-in commands logout and llm-context are reserved so MCP tools cannot override them.

Verification

  • pnpm test / pnpm build
  • Manual: bitrefill llm-context with BITREFILL_API_KEY (or OAuth) produces full Markdown.

Made with Cursor

- Add bitrefill llm-context: tools/list output as Markdown (schemas, CLI and MCP examples)
- Redact API key segment in Connection URL for safe commits
- Reserve logout/llm-context so MCP tools cannot shadow built-ins
- Document usage in README; ignore Stripe Projects .projects cache/vault

Made-with: Cursor
@marcopesani marcopesani merged commit 2d2a626 into master Mar 31, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant