Custom MCP Server
For organizations with specific needs, it's possible to set up your own MCP (Model Context Protocol) server. This gives you full control over which functions and data are available to the AI.
What is MCP?β
The Model Context Protocol (MCP) is an open standard developed by Anthropic for connecting AI models with external systems. An MCP server exposes "tools" that the AI can use.
Capabilitiesβ
With a custom MCP server you can:
- π§ Build custom tools - Add organization-specific functions
- ποΈ Connect internal systems - Access databases and APIs
- π Control access - Determine precisely what's available
- π Integrate data - Connect to ERP, CRM, and other systems
Technical Requirementsβ
Server Requirementsβ
- HTTP(S) endpoint that implements the MCP protocol
- Authentication (API key, OAuth, or other)
- JSON-RPC compatible interface
Supported Transportsβ
| Transport | Description |
|---|---|
| HTTP/HTTPS | Standard web protocol |
| WebSocket | For real-time communication |
| stdio | For local development |
Setting Upβ
Step 1: Develop the MCP Serverβ
Create an MCP server following the official MCP specification:
// Example MCP tool definition
{
"name": "get_inventory",
"description": "Get the current inventory of a product",
"inputSchema": {
"type": "object",
"properties": {
"product_id": {
"type": "string",
"description": "The product ID"
}
},
"required": ["product_id"]
}
}
Step 2: Host the Serverβ
Host your MCP server on:
- Your own infrastructure
- Cloud platforms (AWS, Azure, GCP)
- Serverless platforms (Vercel, Cloudflare Workers)
Step 3: Configure in AI Schoolβ
- Go to Admin Panel > Integrations > MCP Servers
- Click Add MCP Server
- Enter the server URL
- Configure authentication
- Test the connection
Example Use Casesβ
ERP Integrationβ
Build an MCP server that provides access to inventory data, order information, or financial data.
Custom Knowledge Baseβ
Expose internal documentation and FAQ systems as tools.
Business Logicβ
Add organization-specific calculations, validations, or workflows.
IoT and Sensorsβ
Connect to physical systems and sensors for real-time data.
Security Best Practicesβ
- β Always use HTTPS
- β Implement authentication
- β Validate all inputs
- β Log all requests
- β Limit rate and scope
- β Use principle of least privilege
Resourcesβ
Related Integrationsβ
- Zapier MCP Server - Simpler option for many apps