Back to Home
obsidianempire icon

sample-mcp-server

Verified Safe

by obsidianempire

Overview

A Model Context Protocol (MCP) server for integrating with Salesforce AgentForce to provide intelligent banking service assistance.

Installation

Run Command
MCP_SERVER_MODE=http PORT=10000 python src/content_mcp_server.py

Environment Variables

  • MCP_SERVER_MODE
  • PORT
  • MCP_TRANSPORT
  • MOBIUS_SERVER
  • MOBIUS_PORT
  • MOBIUS_REPOSITORY_ID
  • MOBIUS_CERT_CONTENT
  • MOBIUS_CERT_PATH
  • DEBUG

Security Notes

The server's HTTP mode defaults to permissive CORS (allow_origins=['*']), which should be restricted in production. While it supports external authentication (e.g., Salesforce Named Credentials, API Keys), the server itself does not enforce authentication by default for most of its REST API endpoints, relying on external gateways or explicit middleware setup. The `/askme` endpoint acts as a proxy, handling Mobius credentials via HTTP Basic Auth. While certificate handling is implemented for Mobius SSL, proxying sensitive data requires careful security considerations for both the proxy and the upstream service. Temporary file handling for SSL certificates is present, requiring explicit cleanup.

Similar Servers

Stats

Interest Score0
Security Score7
Cost ClassMedium
Avg Tokens3000
Stars0
Forks0
Last Update2025-12-11

Tags

SalesforceAgentForceBankingREST APIMCP