sample-mcp-server
Verified Safeby obsidianempire
Overview
A Model Context Protocol (MCP) server for integrating with Salesforce AgentForce to provide intelligent banking service assistance.
Installation
MCP_SERVER_MODE=http PORT=10000 python src/content_mcp_server.pyEnvironment 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
bank-api
A design reference project for building a compliant and modern bank API, exposed via Model Context Protocol.
mcp-servers
A curated collection of Model Context Protocol (MCP) server configurations to integrate various developer tools and services with AI agents.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
MCP-Agent
An autonomous AI agent designed to discover, connect to, and utilize tools and resources from various Model Context Protocol (MCP) servers to accomplish tasks.