Skip to content

Conversation

@oso95
Copy link

@oso95 oso95 commented Sep 13, 2025

Summary

  • Updates the MCP add command documentation to use the standard Authorization: Bearer header format
  • Changes from custom CONTEXT7_API_KEY header to OAuth 2.0 standard format

Changes

  • Modified the claude mcp add command example in README
  • Updated header format from "CONTEXT7_API_KEY: YOUR_API_KEY" to "Authorization: Bearer YOUR_CONTEXT7_API_KEY"

Rationale

The Authorization: Bearer format is the industry standard for API authentication and provides:

  • Better compatibility with existing tools and libraries
  • Immediate recognition by developers familiar with OAuth 2.0
  • Consistency with HTTP authorization best practices
  • Clear indication that this is an authentication header

Switch from custom CONTEXT7_API_KEY header to industry standard Authorization: Bearer format for better compatibility and clarity
@enesgules
Copy link
Collaborator

it already works with both, i'm not sure if we should refactor everything on the readme. do you think this is an important docs update?

@enesgules enesgules closed this Oct 8, 2025
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.

2 participants