@jedify/mcp-auth
v1.0.34
Published
OAuth authentication proxy for Jedify MCP servers
Downloads
159
Maintainers
Readme
Jedify MCP Auth Proxy
OAuth authentication proxy for Jedify MCP servers. This package allows you to use Jedify's MCP servers with Claude Desktop, handling OAuth authentication automatically.
Installation
npx @jedify/mcp-authOr install globally:
npm install -g @jedify/mcp-authUsage
With npx (recommended)
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"jedify": {
"command": "npx",
"args": ["@jedify/mcp-auth"],
"env": {
"REMOTE_MCP_URL": "https://your-server.jedify.com/mcp/sse",
"DESCOPE_PROJECT_ID": "YOUR_PROJECT_ID"
}
}
}
}With global installation
{
"mcpServers": {
"jedify": {
"command": "jedify-mcp-auth",
"env": {
"REMOTE_MCP_URL": "https://your-server.jedify.com/mcp/sse",
"DESCOPE_PROJECT_ID": "YOUR_PROJECT_ID"
}
}
}
}Command line usage
jedify-mcp-auth <REMOTE_MCP_URL> <DESCOPE_PROJECT_ID>Or with environment variables:
export REMOTE_MCP_URL=https://your-server.jedify.com/mcp/sse
export DESCOPE_PROJECT_ID=YOUR_PROJECT_ID
jedify-mcp-authHow it works
- The proxy intercepts MCP messages between Claude Desktop and your remote Jedify server
- When it detects "default" values for tenant_id or user_id, it initiates OAuth authentication
- A browser window opens for you to authenticate with Descope
- After successful authentication, the proxy forwards all requests with the bearer token
- All subsequent requests are authenticated automatically
Requirements
- Node.js 18 or higher
- A Jedify MCP server with OAuth enabled
- A Descope project ID
Publishing to npm
To publish this package to npm:
Create an npm account at https://www.npmjs.com/signup
Login to npm:
npm loginBuild the package:
cd src/mcp_interface/jedify-mcp-auth npm install npm run buildTest locally:
npm link # In another terminal, test with: npx jedify-mcp-authPublish to npm:
npm publish --access publicNote: The first time you publish a scoped package (@jedify/mcp-auth), you need to use
--access publicto make it publicly available.After publishing, users can immediately use it with:
npx @jedify/mcp-auth
Development
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run buildLicense
MIT
