Capacitor Cors Bypass Enhanced MCP 伺服器 | PlugMCP
跳到正文 Capacitor CORS Bypass Enhanced
🚀 The ultimate Capacitor plugin for advanced networking and CORS bypass
A comprehensive Capacitor plugin that provides powerful networking capabilities including CORS bypass, modern protocol support (HTTP/2, HTTP/3, gRPC, GraphQL), file operations, and advanced network management features.
✨ Features
Enhanced Capacitor plugin for CORS bypass with HTTP/2, HTTP/3, gRPC, GraphQL, file operations, and advanced networking features. Modular TypeScript definitions for better maintainability.
把任意工具接入任意代理。面向非開發者的 MCP 伺服器目錄;閘道承載流量,n8n 承載應用。
產品
目錄
開發者
公司
2026-11-05
🌐 Core Networking
CORS Bypass - Complete bypass of browser CORS restrictions
Network Proxy ✅ NEW - HTTP, HTTPS, SOCKS4, SOCKS5 proxy support with authentication
HTTP/2 Support ✅ - Multiplexing, server push, stream prioritization (Android & iOS)
HTTP/3 (QUIC) ⏭️ - Planned (requires OkHttp 5.0 stable or Cronet integration)
Protocol Auto-Detection ✅ - Automatic protocol negotiation and fallback
Performance Monitoring ✅ - DNS, TCP, TLS, TTFB metrics tracking
Server-Sent Events (SSE) - Real-time event streaming
WebSocket Enhanced - Auto-reconnect, heartbeat, connection pooling
🔧 Advanced Protocols
gRPC - High-performance RPC with streaming support
GraphQL - Queries, mutations, subscriptions with caching
MCP (Model Context Protocol) - AI model communication with StreamableHTTP support ✨NEW
StreamableHTTP Transport ✅ - Single-endpoint, bidirectional communication
Session Resumability ✅ - Reconnect and resume message streams
Backward Compatible ✅ - Legacy SSE transport still supported
📁 File Operations
File Download - Progress tracking, resume, speed control
File Upload - Multi-part uploads with progress
Batch Operations - Concurrent file processing
🚀 Performance Features
Connection Pooling - Efficient connection reuse
Batch Requests - Parallel request processing with retry logic
Smart Caching - Compressed storage with TTL
Network Monitoring - Real-time performance metrics
🛠 Data Processing
Multi-format Parsing - JSON, XML, CSV, YAML, HTML, Markdown, Base64
Data Transformation - Format conversion and extraction
Compression - Built-in gzip/deflate support
📦 Installation npm install capacitor-cors-bypass-enhanced
npx cap sync
🚀 Quick Start
Basic HTTP Request with CORS Bypass import { CorsBypass } from 'capacitor-cors-bypass-enhanced';
// Simple request
const response = await CorsBypass.makeRequest({
url: 'https://api.example.com/data',
method: 'GET',
headers: { 'Authorization': 'Bearer token' }
});
console.log('Success:', response.success);
console.log('Data:', response.data);
console.log('Duration:', response.duration + 'ms');
HTTP/2 and HTTP/3 Support // Automatic protocol selection (HTTP/3 -> HTTP/2 -> HTTP/1.1)
const response = await CorsBypass.get({
url: 'https://api.example.com/data'
});
console.log('Protocol:', response.protocolVersion); // 'h2' or 'h3'
console.log('Performance:', response.metrics);
// Configure protocol options
const response = await CorsBypass.get({
url: 'https://api.example.com/data',
protocolConfig: {
http2: {
enabled: true,
pushEnabled: true,
pingInterval: 10000
},
http3: {
enabled: true, // Android only
zeroRtt: true
},
fallback: {
enabled: true,
retryCount: 2,
preferredProtocols: ['h3', 'h2', 'http/1.1']
}
}
});
// Performance metrics
if (response.metrics) {
console.log('DNS Time:', response.metrics.dnsTime, 'ms');
console.log('TCP Time:', response.metrics.tcpTime, 'ms');
console.log('TLS Time:', response.metrics.tlsTime, 'ms');
console.log('TTFB:', response.metrics.ttfb, 'ms');
console.log('Download Speed:', response.metrics.downloadSpeed, 'bytes/sec');
}
Network Proxy Support ✨NEW import { CorsBypass } from 'capacitor-cors-bypass-enhanced';
// Set global proxy (applies to all requests)
await CorsBypass.setGlobalProxy({
enabled: true,
type: 'http', // 'http' | 'https' | 'socks4' | 'socks5'
host: '127.0.0.1',
port: 8080,
username: 'user', // Optional
password: 'pass', // Optional
bypass: ['localhost', '*.local'], // Optional bypass list
applyToAll: true
});
// Test proxy connection
const testResult = await CorsBypass.testProxy({
enabled: true,
type: 'socks5',
host: '127.0.0.1',
port: 1080
}, 'https://www.google.com');
console.log('Proxy test:', testResult.success ? 'OK' : testResult.error);
console.log('Response time:', testResult.responseTime, 'ms');
// Per-request proxy (overrides global proxy)
const response = await CorsBypass.get({
url: 'https://api.example.com/data',
proxy: {
enabled: true,
type: 'http',
host: 'proxy.company.com',
port: 3128
}
});
// Get proxy status
const status = await CorsBypass.getProxyStatus();
console.log('Active:', status.active);
console.log('Request count:', status.requestCount);
// Clear global proxy
await CorsBypass.clearGlobalProxy();
gRPC Service Calls const grpcResponse = await CorsBypass.callGRPC({
url: 'https://grpc.api.example.com',
service: 'UserService',
method: 'GetUser',
data: { userId: 123 },
metadata: { 'authorization': 'Bearer token' },
compression: 'gzip'
});
console.log('gRPC Status:', grpcResponse.status);
console.log('Response:', grpcResponse.data);
GraphQL with Caching const graphqlResponse = await CorsBypass.queryGraphQL({
url: 'https://api.example.com/graphql',
query: `
query GetUser($id: ID!) {
user(id: $id) {
name
email
posts { title }
}
}
`,
variables: { id: '123' },
cache: { enabled: true, ttl: 300000 } // 5 min cache
});
console.log('Data:', graphqlResponse.data);
console.log('Cache hit:', graphqlResponse.cache?.hit);
Batch Requests with Retry const results = await CorsBypass.batchRequests([
{
url: 'https://api1.example.com/data',
id: 'req1',
priority: 1,
retry: { maxAttempts: 3, delay: 1000 }
},
{
url: 'https://api2.example.com/data',
id: 'req2',
priority: 2
}
]);
results.forEach(result => {
console.log(`${result.id}: ${result.success ? 'Success' : 'Failed'}`);
console.log(`Duration: ${result.duration}ms, Attempts: ${result.attempts}`);
});
File Download with Progress const download = await CorsBypass.downloadFile({
url: 'https://example.com/large-file.zip',
filePath: '/storage/downloads/file.zip',
resume: true,
maxSpeed: 1024 * 1024 // 1MB/s
});
// Listen for progress
CorsBypass.addListener('downloadProgress', (progress) => {
const percent = (progress.bytesDownloaded / progress.totalSize) * 100;
console.log(`Download: ${percent.toFixed(2)}%`);
});
Smart Caching // Set cache with compression
await CorsBypass.manageCache({
operation: 'set',
key: 'user_data',
value: userData,
expiration: 3600000, // 1 hour
compression: { enabled: true, algorithm: 'gzip' }
});
// Get cached data
const cached = await CorsBypass.manageCache({
operation: 'get',
key: 'user_data'
});
if (cached.hit) {
console.log('Cache hit:', cached.value);
}
Data Parsing // Parse CSV data
const csvResult = await CorsBypass.parseData({
data: 'name,age\nJohn,25\nJane,30',
format: 'csv',
options: { delimiter: ',' }
});
// Parse JSON with JSONPath
const jsonResult = await CorsBypass.parseData({
data: '{"users": [{"name": "John"}, {"name": "Jane"}]}',
format: 'json',
options: { jsonPath: '$.users[*].name' }
});
🔧 Configuration
Android Setup Add to your MainActivity.java:
import com.capacitor.cors.CorsBypassPlugin;
public class MainActivity extends BridgeActivity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
add(CorsBypassPlugin.class);
}});
}
}
iOS Setup The plugin will be automatically registered on iOS.
📚 API Documentation For complete API documentation with all interfaces and options, see:
🎯 Use Cases
Enterprise API Integration - Connect to internal APIs without CORS issues
AI/LLM Integration - Connect to MCP servers using StreamableHTTP ✨NEW
Real-time Applications - SSE, WebSocket, GraphQL subscriptions
File Management - Upload/download with progress tracking
Performance Optimization - HTTP/2, connection pooling, caching
Microservices - gRPC communication between services
Data Processing - Parse and transform various data formats
Network Monitoring - Track performance and debug issues
🤝 Contributing Contributions are welcome! Please read our contributing guidelines and submit pull requests.
📄 License MIT License - see LICENSE file for details.
🔗 Links
🏷️ Version History
1.0.0 - Initial release with full feature set
CORS bypass for all HTTP methods
HTTP/2 and HTTP/3 support
gRPC and GraphQL protocols
File operations with progress tracking
Advanced caching and data parsing
Network monitoring and connection pooling
Made with ❤️ by the AetherLink Team
Graphify Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, e Agent Skills Production-grade engineering skills for AI coding agents. Impeccable The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships. Gemini Cli An open-source AI agent that brings the power of Gemini directly into your terminal. Archify Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more. Filesystem Read, write, search and move files in the directories you allow. The reference filesystem server from the Model Context Protocol project. Everything A test server that exercises every MCP feature: tools, resources, prompts, sampling and notifications. For client builders, from the Model Context Protocol project. Git Read and change local Git repositories: status, diffs, log, commits, branches and checkout. The reference server from the Model Context Protocol project. Chrome Devtools Chrome DevTools for coding agents Open Code Review Secure, fast, efficient, battle-tested at Alibaba's scale. Hybrid architecture code review tool: deterministic pipelines + LLM Agent, precise line-level comments, built-in multi-language ruleset (NPE, Codebase Memory Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens. Codebase Memory Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection. Developer tools MCP 伺服器 最佳 Developer tools MCP 伺服器 azure-aigateway Configure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailb supabase Use when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge Functions, Realtime, Storage, Vectors, Cron, Queues); client libraries and SSR integrations (supabase-js,
尚無工具清單。遠端伺服器會在首次健康檢查後取得工具清單。
如何安裝 Capacitor Cors Bypass Enhanced? 在本頁複製適用於 Cursor、Claude Desktop、Claude Code 或 VS Code 的 stdio 設定。它使用發布者的安裝方式,而不是 PlugMCP 代理伺服器。
Capacitor Cors Bypass Enhanced 需要 API 金鑰嗎? 這筆記錄未列出必要的環境變數。
Capacitor Cors Bypass Enhanced 使用哪種傳輸方式? Capacitor Cors Bypass Enhanced 透過 stdio 在本機執行。
Capacitor Cors Bypass Enhanced 上次檢查是什麼時候? 上次檢查時間:2026-11-05。 Enhanced Capacitor plugin for CORS bypass with HTTP/2, HTTP/3, gRPC, GraphQL, file operations, and advanced networking features. Modular TypeScript definitions for better maintainability.
工具
0 / 10