jamesrochabrun/ClaudeCodeApprovalServer
If you are the rightful owner of ClaudeCodeApprovalServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
ClaudeCode Approval Server is a secure MCP server designed to manage approval workflows in ClaudeCode applications.
ClaudeCode Approval Server
A secure MCP (Model Context Protocol) server for handling approval requests in ClaudeCode applications.
Overview
This package provides an executable MCP server that manages approval workflows for ClaudeCode operations. It's designed to be built from source by consumers for maximum security.
Security Model
This package follows a build-from-source security model:
- No pre-built binaries are distributed
- Consumers compile the server themselves
- Full source code transparency for auditing
- Version pinning for reproducible builds
Installation
As a Swift Package Dependency
Add to your Package.swift
:
dependencies: [
.package(url: "https://github.com/jamesrochabrun/ClaudeCodeApprovalServer",
.exact("1.0.0")) // Pin version for security
]
Building the Executable
swift build -c release
The built executable will be at:
.build/release/ApprovalMCPServer
Integration with ClaudeCodeUI
For Package Consumers
- Add this package as a dependency
- Build the executable in your build phase
- Provide the path to ClaudeCodeUI via
ApprovalServerProvider
For DMG Distribution
The ClaudeCodeUI build script automatically:
- Clones this repository
- Builds the executable
- Bundles it in the app's Resources
Architecture
The approval server uses Inter-Process Communication (IPC) to:
- Receive approval requests from Claude Code
- Forward them to the main application
- Return user decisions back to Claude Code
Security Considerations
- Always verify repository authenticity before building
- Pin to specific versions in production
- Audit the source code before deployment
- Consider signing the built executable
License
MIT License - See LICENSE file for details