Agentforce MCP Integration Server
🧩 Agentforce MCP 統合サーバー
このリポジトリは、Model Context Protocol (MCP) クライアントおよび REST API アプリケーションを Python SDK を使用して LLM と統合するための統合ソリューションを提供します。
以下の2つの主要コンポーネントが含まれています。
MCP サーバー – MCP 互換クライアントが LLM/API と直接通信できるようにします。
FastAPI サーバー – LLM/API をプログラムから呼び出すための RESTful API エンドポイントを提供します。
どちらのサーバーも、統合チャネル全体でシームレスな接続性、安全な認証、一貫したパフォーマンスを確保するように構築されています。
📘 概要
このリポジトリには、異なる通信モード向けに設計された2つの主要なサーバーが実装されています。
MCP サーバー MCP クライアントが標準化された Model Context Protocol を使用して LLM/API に接続できるようにします。これにより、サポートされている MCP クライアントやインスペクターを通じて、リアルタイムの対話と動的なツールアクセスが可能になります。
FastAPI サーバー LLM/API への RESTful アクセスを提供し、単純な HTTP リクエストを使用して既存のシステムやアプリケーションに簡単に統合できるようにします。
どちらの実装も Agentforce Python SDK を利用して Salesforce および Agentforce バックエンドと通信し、信頼性と一貫性を確保しています。
Related MCP server: MCP Server Sample
⚙️ セットアップ手順
1. リポジトリのセットアップ
リポジトリをクローンし、必要な環境変数を設定します。
git clone hhttps://github.com/rajpatidar35/custommcp
cd custommcp⚠️ 注意: これらの認証情報が LLM/API にアクセスするための有効な CRED に対応していることを確認してください。
2. 依存関係のインストール
以下のコマンドを使用して、必要なすべての Python 依存関係をインストールします。
pip install -r requirements.txtこれにより、Agentforce Python SDK を含む、MCP サーバーと FastAPI サーバーの両方に必要なすべてのライブラリがインストールされます。
🚀 サーバーの実行
🧠 MCP サーバーの起動
MCP サーバー(MCP クライアントおよびインスペクター用)を起動するには:
python ./src/serverllm.pyMCP サーバーが初期化され、MCP クライアントからの接続待機状態になります。
🌐 FastAPI サーバーの起動
REST API アクセス用の FastAPI サーバーを実行するには:
fastapi dev ./src/serverllm.pyこれにより FastAPI アプリケーションの開発インスタンスが起動し、Agentforce エージェントと対話する REST エンドポイントが公開されます。
🔍 インスペクターサーバー(オプション)
MCP Inspector ツールを使用して MCP サーバーをテストおよびデバッグするには:
インスペクターサーバーを起動します:
npx @modelcontextprotocol/inspectorインスペクターの Web インターフェースを開きます(デフォルトポート:
http://localhost:5173またはコンソールに表示されるポート)。ホスト URL を使用して、実行中の MCP サーバーに接続します:
https://localhost:8000/mcpTools タブに移動して、利用可能な MCP ツールを探索およびテストします。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA high-performance FastAPI server supporting Model Context Protocol (MCP) for seamless integration with Large Language Models, featuring REST, GraphQL, and WebSocket APIs, along with real-time monitoring and vector search capabilities.8MIT
- AlicenseBqualityDmaintenanceAn educational implementation of a Model Context Protocol server that demonstrates how to build a functional MCP server integrating with various LLM clients.2MIT
- AlicenseNot gradedqualityDmaintenanceA high-performance Model Context Protocol (MCP) server designed for large language models, enabling real-time communication between AI models and applications with support for session management and intelligent tool registration.2MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that bridges MCP clients with local LLM services, enabling seamless integration with MCP-compatible applications through standard tools like chat completion, model listing, and health checks.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SanthoshSantoMCP/MCPNewTest'
If you have feedback or need assistance with the MCP directory API, please join our Discord server