Λογότυπο MCP Bridgekit

MCP Bridgekit

Κοινότητα
mkbhardwas12

Turn any MCP stdio server into a production HTTP API: per-user session pooling, timeout survival via background jobs, fail-closed auth, SSE/webhook push, live dashboard. Python 3.11+ · FastAPI · Redis

Εκδότηςmkbhardwas12
Αποθετήριοmcp-bridgekit
ΓλώσσαPython
Forks
14
Αστέρια
63
Διαθέσιμα εργαλεία
0
Τύπος μεταφοράςstdio
Άδεια χρήσηςMIT
Σύνδεσμοι
  • Συνδέστε εργαλεία σε ροές εργασίας AI

    Το MCP Bridgekit παρέχει δυνατότητες MCP που μπορούν να χρησιμοποιηθούν από συμβατές εφαρμογές-πελάτες AI και πράκτορες AI.

  • 0 διαθέσιμα εργαλεία

    Περιηγηθείτε παρακάτω στις ενέργειες που μπορούν να κληθούν, μαζί με τα ονόματα και τις περιγραφές τους, όταν παρέχονται από τον διακομιστή.

  • Ρυθμίσεις έτοιμες για αντιγραφή

    Χρησιμοποιήστε τα αποσπάσματα εγκατάστασης για να ρυθμίσετε αυτόν τον διακομιστή στην εφαρμογή-πελάτη MCP που προτιμάτε.

  • Δείκτες ενδιαφέροντος για τον ανοιχτό κώδικα

    63 αστέρια και 14 διακλαδώσεις στο συνδεδεμένο αποθετήριο.

MCP BridgeKit

Turn any MCP stdio server into a production HTTP API your web app can call.

Per-user session pooling · real timeout handling with background-job fallback · fail-closed auth · live dashboard

CI Release Python License: MIT Security policy Stars

Deploy with Vercel

Your Web App  ──HTTP──▶  MCP BridgeKit  ──stdio──▶  MCP Server (tool)
 (React, Next.js,        pooling · timeouts ·        (python, node, npx …)
  mobile, backend)       jobs · auth · dashboard

60-second demo

bash
git clone https://github.com/mkbhardwas12/mcp-bridgekit.git && cd mcp-bridgekit
export MCP_BRIDGEKIT_API_KEY=$(openssl rand -hex 32)
docker compose up -d                    # Redis + API + 3 workers

curl -s -H "X-API-Key: $MCP_BRIDGEKIT_API_KEY" localhost:8000/tools/demo | jq .tools[].name
# "analyze_data"

curl -s -N -H "X-API-Key: $MCP_BRIDGEKIT_API_KEY" -H 'Content-Type: application/json' \
  -d '{"user_id":"demo","messages":[],"tool_name":"analyze_data","tool_args":{"query":"Q4 revenue"}}' \
  localhost:8000/chat
# data: {"content":[{"type":"text","text":"..."}], ...}     ← streamed over SSE
# …or, if the tool runs >25s:  data: {"status":"queued","job_id":"…"}  → GET /job/{id} or SSE /mcp/events/{id}

Open http://localhost:8000/dashboard for live sessions, jobs, logs and tools.


Table of Contents


What Is MCP BridgeKit?

MCP (Model Context Protocol) is an open standard that lets AI applications connect to external tools and data sources. MCP servers communicate over stdio (stdin/stdout) — which means they run as local subprocesses and speak JSON-RPC over pipes.

The problem: Web applications (React, Next.js, Vue, mobile apps) can't spawn local subprocesses. They only speak HTTP. There's a protocol mismatch.

MCP BridgeKit is the bridge. It sits between your web app and MCP stdio servers, translating HTTP requests into stdio subprocess calls and streaming results back:

Your Web App  ──HTTP──▶  MCP BridgeKit  ──stdio──▶  MCP Server (tool)
                         (this project)

Think of it as "nginx for MCP tools" — a reverse proxy that makes stdio tools available over HTTP.


The Problem It Solves

ChallengeWithout BridgeKitWith BridgeKit
Web app needs MCP toolsCan't — browsers can't spawn subprocessesPOST /chat with tool name and args
Multiple users sharing toolsEach needs their own server setupPer-user session pooling (up to 100 concurrent)
Tool call takes 60 secondsHTTP gateway timeout (Vercel 30s, CloudFlare 30s)Auto-queues as background job, client polls GET /job/{id}
Which tools are available?Must read docs or hardcodeGET /tools/{user_id} — live discovery
Monitoring & debuggingBlind — no visibilityLive dashboard: sessions, jobs, logs, tools
Session cleanupZombie processes leak memoryAuto-eviction (TTL + pool limit) + manual DELETE /session/{id}

Use Cases & Scenarios

1. AI Chatbot with Tool Calling

Scenario: You're building a customer support chatbot in React. The AI can call tools like search_docs, create_ticket, check_order_status — all implemented as MCP servers.

React App → POST /chat {tool: "search_docs", args: {query: "refund policy"}}
         ← SSE stream with search results

BridgeKit manages one MCP server process per conversation, so each user has isolated state.

2. Multi-Tenant SaaS Platform

Scenario: Your SaaS lets customers connect their own MCP tools (data analysis, code generation, API integrations). Each customer uses different tools.

Customer A → POST /chat {user_id: "cust-A", mcp_config: {command: "python", args: ["their_tool.py"]}}
Customer B → POST /chat {user_id: "cust-B", mcp_config: {command: "node", args: ["their_tool.js"]}}

Each customer gets a dedicated session with their own MCP server. Pool manages up to 100 concurrent sessions with automatic eviction.

3. Long-Running Data Processing

Scenario: An MCP tool runs complex SQL queries or ML inference that takes 45 seconds. Your frontend uses Vercel with a 30-second timeout.

Client → POST /chat {tool: "run_analysis", args: {dataset: "sales_2025"}}
       ← SSE: {status: "queued", job_id: "abc-123"}

# 45 seconds later...
Client → GET /job/abc-123
       ← {status: "completed", result: {revenue: 4200000, growth: "12%"}}

BridgeKit's asyncio.timeout(25s) catches the slow call, queues it via Redis/RQ, and a background worker completes it.

4. Internal Developer Tools

Scenario: Your team has MCP tools for database queries, log analysis, and deployment — you want a single HTTP API to access all of them.

bash
# Query production database
curl -X POST localhost:8000/chat \
  -d '{"user_id": "dev-1", "tool_name": "query_db", "tool_args": {"sql": "SELECT count(*) FROM users"}}'

# Check which tools are available
curl localhost:8000/tools/dev-1

Run docker-compose up and all your tools are accessible from any HTTP client.

5. Webhook / Integration Pipelines

Scenario: A Slack bot, Zapier workflow, or n8n pipeline needs to call MCP tools based on triggers.

Slack Event → Zapier → POST /chat {tool: "summarize", args: {text: "..."}}
                     ← {result: "Here's the summary..."}

BridgeKit is a standard HTTP API — any integration platform can call it.

6. Mobile Applications

Scenario: An iOS/Android app needs to call MCP tools but can't run subprocesses on the device.

Mobile App → POST https://your-server.com/chat
           ← SSE stream or job_id for polling

Deploy BridgeKit on your server, and mobile clients communicate over HTTPS.

When NOT to Use BridgeKit

ScenarioBetter Alternative
CLI tool calling MCP servers locallyUse MCP SDK directly — no HTTP needed
MCP server already speaks HTTP (Streamable HTTP transport)Connect directly — no bridge needed
Single-user desktop appMCP SDK + stdio directly

Architecture


Request Flow


Key Features

  • Per-user sessions: Each user_id gets its own MCP stdio process
  • Real timeout handling: asyncio.timeout() wraps every tool call — if it exceeds the threshold, the call is automatically queued as a background job via Redis/RQ
  • Background job polling: GET /job/{job_id} to check status/results
  • Tool discovery: GET /tools/{user_id} lists available tools from the MCP server
  • Session management: Auto-eviction when pool is full, TTL-based expiry, manual DELETE /session/{user_id}
  • Live dashboard: HTMX + Tailwind — sessions, jobs, logs, tools (no build step)
  • Structured logging: via structlog
  • API key auth (v0.8): X-API-Key header protection — required by default; opt out only with ALLOW_NO_AUTH=true
  • MCP command allowlist: clients can only spawn DEFAULT_MCP_COMMAND plus anything in ALLOWED_MCP_COMMANDS
  • Rate limiting (v0.8): Per-user fixed-window via Redis (default 60 req/min), returns HTTP 429
  • Retry with backoff (v0.8): Transient failures retried up to 2× with exponential backoff (1s, 2s)
  • Prometheus metrics (v0.8): GET /metrics in Prometheus exposition format — scrape with any monitoring stack
  • Structured error codes (v0.8): All errors include error_code (e.g. TOOL_CALL_FAILED, RATE_LIMITED)
  • Webhook push (v0.9): Worker POSTs job result to your URL when a background job completes
  • SSE push (v0.9): GET /mcp/events/{job_id} — browser/client listens in real-time, stream closes automatically on completion

Quickstart

bash
# Clone & install
git clone https://github.com/mkbhardwas12/mcp-bridgekit.git
cd mcp-bridgekit

# Copy environment config
cp .env.example .env
# REQUIRED: set an API key (protected endpoints return 401 until you do)
echo "MCP_BRIDGEKIT_API_KEY=$(openssl rand -hex 32)" >> .env

# Install (pick one)
uv sync --dev          # recommended — fastest
pip install -e ".[dev]" # alternative

# Start Redis (required for job queue)
docker run -d -p 6379:6379 redis:7-alpine

# Terminal 1 — Run the server
uvicorn mcp_bridgekit.app:app --reload

# Terminal 2 — Start the background worker
mcp-bridgekit-worker

Open:

Docker (Recommended)

bash
export MCP_BRIDGEKIT_API_KEY=$(openssl rand -hex 32)   # or put it in .env
docker-compose up

This starts Redis, the BridgeKit server (port 8000), and 3 RQ worker replicas. Compose refuses to start without MCP_BRIDGEKIT_API_KEY.

By default the API is bound to 127.0.0.1 only. To expose it (behind TLS / a reverse proxy):

bash
MCP_BRIDGEKIT_BIND=0.0.0.0 docker-compose up

One-Click Deploy (Vercel)

Deploy with Vercel

Click the button above to deploy your own instance. You'll need:

  1. A Redis instance (e.g., Upstash, Railway, or Redis Cloud)
  2. Set MCP_BRIDGEKIT_REDIS_URL and MCP_BRIDGEKIT_API_KEY (e.g. openssl rand -hex 32) during setup

Note: Vercel's 30s function timeout is exactly why BridgeKit exists — any MCP tool call exceeding 25s is automatically queued as a background job. Your users get a job_id instantly and poll for results.

API Reference

POST /chat

Call an MCP tool. Returns SSE stream. Auto-queues on timeout.

json
{
  "user_id": "user-123",
  "messages": [{"role": "user", "content": "analyze sales data"}],
  "tool_name": "analyze_data",
  "tool_args": {"query": "Q4 revenue trends"},
  "mcp_config": {"command": "python", "args": ["examples/mcp_server.py"]}
}

mcp_config is optional (defaults to DEFAULT_MCP_COMMAND/DEFAULT_MCP_ARGS). command must be in the allowlist — anything else returns HTTP 400 COMMAND_NOT_ALLOWED. Only command and args are accepted.

GET /job/{job_id}

Poll background job status. Returns queued, running, completed (with result), or failed.

GET /tools/{user_id}

List available tools from the server's default MCP server (DEFAULT_MCP_COMMAND / DEFAULT_MCP_ARGS).

DELETE /session/{user_id}

Close a user's MCP session.

GET /health

Health check with stats: active sessions, total requests, errors, queued jobs, known tools.

GET /metrics

Prometheus-compatible metrics in text exposition format. Safe to scrape without auth.

bridgekit_active_sessions 3
bridgekit_requests_total 472
bridgekit_errors_total 2
bridgekit_queued_jobs 1
...

Configure Prometheus:

yaml
scrape_configs:
  - job_name: mcp-bridgekit
    static_configs:
      - targets: [bridgekit:8000]
    metrics_path: /metrics

GET /mcp/events/{job_id} (v0.9)

Server-Sent Events stream. Connect after submitting a long job; fires one event when the background job completes, then closes automatically. No auth required.

javascript
const es = new EventSource(`/mcp/events/${jobId}`);
es.onmessage = (e) => {
  const data = JSON.parse(e.data);
  if (data.status === 'completed') {
    console.log('Job done!', data.result);
    es.close();
  }
};

Event payload:

json
{
  "job_id": "abc-123",
  "status": "completed",
  "result": { ... },
  "user_id": "user-456",
  "completed_at": "2026-02-23T12:00:00+00:00"
}

Error Response Format (v0.8.0+)

All error payloads include a structured error_code field:

json
{ "status": "error", "error_code": "TOOL_CALL_FAILED", "message": "...", "attempts": 3 }
{ "status": "queued", "error_code": "TOOL_TIMED_OUT", "job_id": "..." }
Error CodeCause
SESSION_CREATE_FAILEDCould not spawn MCP server subprocess
TOOL_CALL_FAILEDTool raised an exception (after all retries)
TOOL_TIMED_OUTTool exceeded timeout — job queued
RATE_LIMITEDUser exceeded requests-per-minute limit
COMMAND_NOT_ALLOWEDmcp_config.command is not in the allowlist
AUTH_NOT_CONFIGUREDNo API_KEY set and ALLOW_NO_AUTH is false
MISSING_API_KEYAuth enabled but header absent
INVALID_API_KEYWrong API key provided

Concurrency Model

Configuration

Set via environment variables or .env file (prefix: MCP_BRIDGEKIT_):

VariableDefaultDescription
REDIS_URLredis://localhost:6379Redis connection
MAX_SESSIONS100Max concurrent MCP sessions
SESSION_TTL_SECONDS3600Session expiry (1 hour)
TIMEOUT_THRESHOLD_SECONDS25.0Seconds before queuing as background job
JOB_RESULT_TTL_SECONDS600How long job results stay in Redis
DEFAULT_MCP_COMMANDpythonDefault MCP server command
DEFAULT_MCP_ARGS["examples/mcp_server.py"]Default MCP server args
ALLOWED_MCP_COMMANDS[]Extra commands clients may request via mcp_config.command. The default command is always allowed.
API_KEY(empty)Required. API key for X-API-Key header auth. Protected endpoints return 401 until set.
ALLOW_NO_AUTHfalseExplicitly run without an API key. Only for trusted/private networks.
RATE_LIMIT_PER_MINUTE60v0.8 Max requests per user_id per minute. 0 = disabled.
MAX_TOOL_RETRIES2v0.8 Retry transient tool failures N times with exponential backoff.
WEBHOOK_URL(empty)v0.9 URL to POST job completion payload to. Leave empty to disable.
ENABLE_SSEtruev0.9 Publish completion events to GET /mcp/events/{job_id}.

Security (Auth & Rate Limiting)

Auth is fail-closed: with no API_KEY configured, protected endpoints return HTTP 401 AUTH_NOT_CONFIGURED. Set MCP_BRIDGEKIT_ALLOW_NO_AUTH=true only on trusted private networks.

API Key Authentication

Protects /chat, /tools/, /job/, and /session/ endpoints. /health, /metrics, and /dashboard stay public for monitoring tools.

bash
# Generate and set a key
export MCP_BRIDGEKIT_API_KEY=$(openssl rand -hex 32)

# All protected calls need the header
curl -X POST http://bridgekit:8000/chat \
  -H "X-API-Key: your-secret-key" \
  -H "Content-Type: application/json" \
  -d '{...}'

Without the key (or with wrong key): HTTP 401 with error_code: MISSING_API_KEY or INVALID_API_KEY.

MCP Command Allowlist

mcp_config.command is validated against an allowlist before any subprocess is spawned. By default only DEFAULT_MCP_COMMAND is allowed; extend it explicitly:

bash
export MCP_BRIDGEKIT_ALLOWED_MCP_COMMANDS='["node", "npx"]'

Requests naming any other command get HTTP 400 COMMAND_NOT_ALLOWED. mcp_config accepts only command and args — extra fields (env, cwd, …) are rejected with 422.

Rate Limiting

Per-user fixed-window rate limiting backed by Redis. Rejects excess requests with HTTP 429.

bash
# Default: 60 requests per user_id per minute
export MCP_BRIDGEKIT_RATE_LIMIT_PER_MINUTE=60

# Disable entirely
export MCP_BRIDGEKIT_RATE_LIMIT_PER_MINUTE=0

Retry with Backoff

Transient tool-call failures (e.g. subprocess crash) are automatically retried.

bash
# Default: 2 retries — waits 1s, then 2s between attempts
export MCP_BRIDGEKIT_MAX_TOOL_RETRIES=2

# Disable retries
export MCP_BRIDGEKIT_MAX_TOOL_RETRIES=0

Note: TimeoutError is never retried — it immediately queues as a background job.


Push Notifications (Webhook & SSE)

Added in v0.9.0. Instead of polling GET /job/{job_id}, get instant push when a background job finishes.

Option 1: Webhook (AWS API / backend)

BridgeKit POSTs the result to your configured URL when any background job completes.

bash
export MCP_BRIDGEKIT_WEBHOOK_URL=https://your-api.example.com/webhook/mcp

Payload your endpoint receives:

json
{
  "job_id": "abc-123",
  "status": "completed",
  "result": { ... },
  "user_id": "user-456",
  "completed_at": "2026-02-23T12:00:00+00:00"
}

Webhook failures are caught and logged — they never crash the worker.

Option 2: SSE (browser / real-time frontend)

Your frontend holds open a Server-Sent Events connection. The stream closes automatically after the completion event.

javascript
// After POST /chat returns {status: "queued", job_id: "abc-123"}
const es = new EventSource(`/mcp/events/abc-123`);
es.onmessage = (e) => {
  const data = JSON.parse(e.data);
  if (data.status === 'completed') {
    renderResult(data.result);
    es.close();
  }
};

SSE uses Redis Pub/Sub internally, so it works correctly when the API server and RQ worker are in separate processes/containers.

Using Both Together (AWS example)

python
# Your AWS Lambda / FastAPI endpoint
@app.post("/api/v1/analyze")
async def analyze(req: BridgeRequest):
    result = await bridge.call(req)
    if result.status == "queued":
        return {
            "status": "queued",
            "job_id": result.job_id,
            "sse_url": f"https://bridgekit.yourdomain.com/mcp/events/{result.job_id}"
        }
    return result

Disable either channel independently:

bash
MCP_BRIDGEKIT_ENABLE_SSE=false      # turn off SSE, keep webhook
MCP_BRIDGEKIT_WEBHOOK_URL=          # leave empty to disable webhook

Connecting to Any MCP Server

BridgeKit works with any MCP server — you just pass different mcp_config values. The mcp_config tells BridgeKit which command to spawn:

Supported MCP Servers

MCP ServercommandargsExample Tools
AWS MCPnpx["-y", "@aws/aws-mcp"]describe_instances, list_s3_buckets
AWS CDKnpx["-y", "@aws/aws-cdk-mcp-server"]GenerateCDK, ExplainCDK
AWS Docsnpx["-y", "@aws/aws-documentation-mcp-server"]search_documentation
GitHubnpx["-y", "@modelcontextprotocol/server-github"]search_repositories, create_issue
Filesystemnpx["-y", "@modelcontextprotocol/server-filesystem", "/data"]read_file, write_file
PostgreSQLnpx["-y", "@modelcontextprotocol/server-postgres"]query
Custom Pythonpython["/path/to/server.py"]Whatever you define

Quick Example: AWS MCP from Your API

python
import httpx

BRIDGEKIT_URL = "http://your-bridgekit-host:8000"

# Step 1: Discover available tools
resp = await httpx.AsyncClient().get(
    f"{BRIDGEKIT_URL}/tools/discovery",
    params={"command": "npx", "args": "-y,@aws/aws-mcp"},
)
print(resp.json())  # Shows all tools with schemas

# Step 2: Call a tool
async with httpx.AsyncClient(timeout=60.0) as client:
    resp = await client.post(f"{BRIDGEKIT_URL}/chat", json={
        "user_id": "user-123",
        "messages": [{"role": "user", "content": "list instances"}],
        "mcp_config": {
            "command": "npx",
            "args": ["-y", "@aws/aws-mcp"],
        },
        "tool_name": "describe_instances",
        "tool_args": {"region": "us-east-1"},
    })

Prerequisites: Install the MCP server package on the BridgeKit host (npm install -g @aws/aws-mcp) and configure AWS credentials.

Full guide: See docs/INTEGRATION_GUIDE.md for deployment on AWS, credential setup, polling for long-running jobs, and complete working examples.

Code examples: See examples/aws_integration.py for 8 ready-to-use endpoint patterns.

Embedding in Your App

python
from fastapi import FastAPI
from mcp_bridgekit import BridgeKit, BridgeRequest

app = FastAPI()
bridge = BridgeKit()

@app.post("/chat")
async def chat(req: BridgeRequest):
    return await bridge.call(req)

Project Structure

TypeScript Version

A TypeScript implementation is available in ts/. Same architecture — session pooling, timeout handling, Redis queueing.

bash
cd ts && npm install && npm run build && npm start

End-to-End Testing Guide

Verify everything works with these steps:

1. Start Services

bash
# Option A — Docker (easiest)
docker-compose up --build

# Option B — Manual (3 terminals)
# T1: docker run -d -p 6379:6379 redis:7-alpine
# T2: mcp-bridgekit-worker
# T3: uvicorn mcp_bridgekit.app:app --reload --port 8000

2. Check Dashboard

Open http://localhost:8000/dashboard — should show 0 sessions, 0 jobs.

3. Call a Tool (instant response)

bash
curl -N -X POST http://localhost:8000/chat \
  -H "Content-Type: application/json" \
  -d '{
    "user_id": "test-001",
    "messages": [{"role": "user", "content": "hello"}],
    "tool_name": "analyze_data",
    "tool_args": {"query": "test query"}
  }'

→ SSE stream with result appears immediately. Dashboard shows 1 active session.

4. Test Timeout Survival (background job)

Edit examples/mcp_server.py — change asyncio.sleep(2) to asyncio.sleep(35), then re-run the curl above.

→ Immediate response: {"status": "queued", "job_id": "..."}
→ Dashboard updates live (Queued Jobs increases)
→ Worker terminal shows processing

5. Poll Job Result

bash
curl http://localhost:8000/job/{job_id_from_step_4}

→ Returns {"status": "completed", "result": {...}} once the worker finishes.

6. List Available Tools

bash
curl "http://localhost:8000/tools/test-001"

7. Cleanup Session

bash
curl -X DELETE http://localhost:8000/session/test-001

8. Health Check

bash
curl http://localhost:8000/health

→ Returns active sessions, request counts, error counts, queue depth.

Expected result: Tools respond instantly → slow tools get queued → dashboard shows live updates → sessions scale cleanly.


Horizontal Scaling

BridgeKit is designed to scale horizontally:

ComponentHow to ScaleNotes
Web servergunicorn --workers NDockerfile defaults to 4 workers. Each worker has its own event loop.
RQ workersRun multiple mcp-bridgekit-worker processesdocker-compose defaults to 3 replicas. All point to the same Redis.
RedisUse managed Redis (Upstash, ElastiCache, Redis Cloud)Single Redis handles thousands of connections.
Multi-machineRun workers on different machines pointing to same RedisMCP_BRIDGEKIT_REDIS_URL=redis://your-redis-host:6379
bash
# Scale workers to 5 replicas
docker-compose up --scale worker=5

# Or run standalone workers on any machine
MCP_BRIDGEKIT_REDIS_URL=redis://shared-redis:6379 mcp-bridgekit-worker

📐 Full Architecture Docs

See ARCHITECTURE.md for detailed diagrams and component docs. When running the server, visit /architecture for an interactive HTML version.

Contributing & Security

Issues and pull requests are welcome — see CONTRIBUTING.md. Every fix or hardening that lands is credited in CHANGELOG.md. To report a vulnerability privately, use GitHub's security advisories — details in SECURITY.md.

Acknowledgements

  • @NakedoShadow — timing-safe API key comparison, SSE connection timeout, .dockerignore / .gitignore hardening (#1)
  • @shunfeng8421 (blueQ) — reported the unauthenticated RCE via attacker-controlled MCP stdio command that led to fail-closed auth and the command allowlist (#3)

License

MIT

Χρησιμοποιήστε το MCP MCP Bridgekit με πολλά μοντέλα AI

Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας. Έτσι, μόλις συνδεθεί το MCP Bridgekit, μπορείτε να το χρησιμοποιείτε με διαφορετικά μοντέλα AI στο TypingMind, αντί να το ρυθμίζετε ξεχωριστά για κάθε μοντέλο. Αυτή η ενσωμάτωση MCP εκτελείται τοπικά στη συσκευή σας μέσω του συνδέσμου MCP του TypingMind.

Οδηγός ρύθμισης για τη χρήση του τοπικού συνδέσμου

Επιλέξτε αυτή τη μέθοδο όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές ή ιδιωτικούς πόρους στον υπολογιστή σας.

1

Ανοίξτε τις ρυθμίσεις MCP

Στο TypingMind, μεταβείτε στις «Ρυθμίσεις», έπειτα στις «Σύνθετες ρυθμίσεις» και στο «Model Context Protocol» και επιλέξτε «Ρύθμιση συνδέσμου».

  1. Ανοίξτε το TypingMind στο πρόγραμμα περιήγησής σας.
  2. Κάντε κλικ στο εικονίδιο «Ρυθμίσεις».
  3. Μεταβείτε στις «Σύνθετες ρυθμίσεις».
  4. Ανοίξτε την ενότητα Model Context Protocol.
  5. Κάντε κλικ στην επιλογή «Ρύθμιση συνδέσμου» και επιλέξτε «Αυτή η συσκευή».
Οθόνη ρύθμισης συνδέσμου MCP του TypingMind με επιλεγμένη την επιλογή «Αυτή η συσκευή»
2

Εκτελέστε την εντολή του συνδέσμου

Επιλέξτε «Αυτή η συσκευή», αντιγράψτε την εντολή από το TypingMind και εκτελέστε την στο Τερματικό. Διατηρήστε τη διεργασία σε λειτουργία όσο χρησιμοποιείτε το MCP.

  1. Αντιγράψτε την εντολή ρύθμισης που εμφανίζεται στο TypingMind.
  2. Ανοίξτε το Τερματικό στο macOS ή το Windows Terminal στα Windows.
  3. Επικολλήστε και εκτελέστε την εντολή.
  4. Εγκρίνετε την εγκατάσταση του πακέτου, αν το Τερματικό σάς ζητήσει επιβεβαίωση για να συνεχίσει.
  5. Διατηρήστε ανοιχτό το παράθυρο του Τερματικού και τη διεργασία σε λειτουργία όσο χρησιμοποιείτε εργαλεία MCP.
3

Προσθέστε το MCP Bridgekit ως διακομιστή

Όταν η κατάσταση του συνδέσμου είναι «Έτοιμος», κάντε κλικ στο «Αλλαγή servers» και επικολλήστε τις ρυθμίσεις του διακομιστή MCP.

  1. Περιμένετε μέχρι η κατάσταση του συνδέσμου να εμφανιστεί ως «Έτοιμος».
  2. Κάντε κλικ στο «Αλλαγή servers».
  3. Επικολλήστε τις ρυθμίσεις του διακομιστή MCP MCP Bridgekit.
  4. Αποθηκεύστε τη λίστα διακομιστών.
  5. Κάντε ανανέωση αν θέλετε να επιβεβαιώσετε ότι ο σύνδεσμος παραμένει έτοιμος για χρήση.
Ρυθμίσεις MCP του TypingMind με ενεργό διακομιστή και το κουμπί «Αλλαγή servers»
{
  "mcpServers": {
    "mcp-bridgekit": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Χρησιμοποιήστε τη σύνδεση με διαφορετικά μοντέλα

Αποθηκεύστε τη λίστα διακομιστών, ανοίξτε τα «Πρόσθετα», ενεργοποιήστε τα εργαλεία MCP του MCP Bridgekit και έπειτα επιλέξτε οποιοδήποτε υποστηριζόμενο μοντέλο AI στο TypingMind. Χρησιμοποιήστε τα εργαλεία στη συνομιλία ή αναθέστε τα σε έναν πράκτορα AI.

  1. Ανοίξτε τη σελίδα «Πρόσθετα» στο TypingMind.
  2. Ενεργοποιήστε τα εργαλεία MCP του MCP Bridgekit.
  3. Ξεκινήστε μια συνομιλία και επιλέξτε το μοντέλο AI που θέλετε να χρησιμοποιήσετε.
  4. Χρησιμοποιήστε τα εργαλεία MCP στη συνομιλία ή αντιστοιχίστε τα σε έναν πράκτορα AI.
  5. Μεταβείτε σε άλλο μοντέλο AI όποτε χρειάζεται, χωρίς να συνδέσετε ξανά το MCP.
Συνομιλία στο TypingMind με ενεργοποιημένα εργαλεία MCP και επιλεγμένο μοντέλο AI
Θα με βοηθήσετε σε αυτό μέσω MCP Bridgekit;
MCP Bridgekit
Βεβαίως. Το διάβασα.
Δείτε τι βρήκα μέσω του MCP Bridgekit.

Συχνές ερωτήσεις

Σε τι χρησιμεύει ο διακομιστής MCP MCP Bridgekit;

Το MCP Bridgekit είναι ένας διακομιστής MCP που επιτρέπει σε συμβατές εφαρμογές AI να συνδέονται με εξωτερικά εργαλεία και πληροφορίες πλαισίου. Στο TypingMind, μπορείτε να προσθέσετε αυτόν τον διακομιστή MCP μία φορά και να κάνετε τα εργαλεία του διαθέσιμα στον χώρο εργασίας AI σας.

Μπορώ να χρησιμοποιήσω το MCP Bridgekit MCP με πολλά μοντέλα AI στο TypingMind;

Ναι. Το TypingMind συνδέει τα εργαλεία MCP σε επίπεδο χώρου εργασίας, ώστε να μπορείτε να χρησιμοποιείτε το MCP Bridgekit με διαφορετικά μοντέλα AI, όπως τα Claude, ChatGPT, Gemini ή άλλα μοντέλα που έχετε ρυθμίσει στο TypingMind, χωρίς να ρυθμίζετε τον διακομιστή MCP ξεχωριστά για κάθε μοντέλο.

Γιατί να χρησιμοποιήσετε τον σύνδεσμο MCP MCP Bridgekit με το TypingMind;

Το TypingMind είναι ένα από τα καλύτερα περιβάλλοντα συνομιλίας με μεγάλα γλωσσικά μοντέλα, καθώς συγκεντρώνει πολλά μοντέλα AI, προτροπές, πρόσθετα, πράκτορες AI, κλειδιά API και εργαλεία MCP σε έναν χώρο εργασίας. Συνδέοντας το MCP Bridgekit, μπορείτε να χρησιμοποιείτε τα εργαλεία MCP του με τα μοντέλα που προτιμάτε, διατηρώντας οργανωμένη τη ροή εργασίας των συνομιλιών σας στο TypingMind.

Πώς συνδέω το MCP Bridgekit MCP στο TypingMind;

Το MCP Bridgekit λειτουργεί μέσω του τοπικού συνδέσμου MCP του TypingMind. Αυτή είναι η καλύτερη επιλογή όταν ο διακομιστής MCP χρειάζεται πρόσβαση σε τοπικά αρχεία, εφαρμογές υπολογιστή, εργαλεία γραμμής εντολών ή ιδιωτικούς πόρους στον υπολογιστή σας.

Ποια εργαλεία παρέχει το MCP Bridgekit MCP στο TypingMind;

Το MCP Bridgekit διαθέτει δυνατότητες MCP που μπορείτε να ενεργοποιήσετε από τη σελίδα Πρόσθετα του TypingMind και να χρησιμοποιήσετε σε συνομιλίες ή να αναθέσετε σε πράκτορες AI.

Χρειάζεται να κοινοποιήσω τα κλειδιά API μου στο TypingMind για να χρησιμοποιήσω το MCP Bridgekit MCP;

Όχι. Το TypingMind δίνει προτεραιότητα στην τοπική λειτουργία και σας επιτρέπει να διατηρείτε τον έλεγχο των παρόχων μοντέλων, των κλειδιών API, των προτροπών και των ρυθμίσεων MCP σας. Αν το MCP Bridgekit απαιτεί έλεγχο ταυτότητας, προσθέστε τις απαιτούμενες κεφαλίδες, τις ρυθμίσεις OAuth ή τις τοπικές ρυθμίσεις για τον συγκεκριμένο διακομιστή MCP κατά τη δημιουργία της σύνδεσης.

Σχετικοί διακομιστές MCP

Προβολή όλων

Στήστε δικό σας χώρο εργασίας AI τώρα

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇