04-enterprise-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@04-enterprise-mcp-serverSearch company documents for remote work policy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
04-enterprise-mcp-server — MCP Server with RAG Knowledge Tools
Overview
This project demonstrates how to build a custom Model Context Protocol (MCP) server that exposes reusable tools to AI applications.
Instead of an AI agent directly calling Python functions, MCP provides a standardized protocol that allows AI clients to discover and invoke external tools.
In this project, we build a simple MCP server that exposes calculator capabilities.
Related MCP server: RAG Memory MCP
What is MCP?
Model Context Protocol (MCP) is an open protocol that enables AI applications to securely connect with external tools, data sources, and services.
Traditional approach:
AI Agent
|
v
Direct Python Function Callsenterprise-mcp-server:
MCP Client
|
|
Authentication
|
v
MCP Server
|
+--------------+--------------+
| | |
v v v
RAG Tool Database Tool API Tool
search_docs employee_db system_healthThe MCP server acts as a bridge between AI systems and external capabilities.
Architecture
The MCP server exposes enterprise capabilities as AI tools.
AI Client
|
|
v
MCP Protocol
|
v
Enterprise MCP Server
|
v
RAG API Service
|
v
Vector Database
|
v
Enterprise Documents
Features
Available MCP Tools
search_company_documents
Searches enterprise documents using a RAG pipeline.
Example:
Input:
{ "question": "How many days can employees work remotely?" }
Output:
"Employees can work remotely up to three days per week."
Project Structure
04-mcp-server/
├── server.py
│
├── tools/
│ └── calculator.py
│
├── README.md
│
└── requirements.txtTechnology Stack
Python 3.11+
Model Context Protocol (MCP)
FastMCP
Python functions exposed as AI tools
Installation
1. Clone repository
git clone <repository-url>Navigate:
cd 04-mcp-server2. Create virtual environment
python -m venv venvActivate:
Mac/Linux:
source venv/bin/activate3. Install dependencies
pip install -r requirements.txtRunning the MCP Server
Start the server:
python server.pyThe MCP server will start and expose available tools.
Example Tool Definition
Example MCP tool:
@mcp.tool()
def calculator_add(a: float, b: float) -> float:
return a + bThe function becomes discoverable as an MCP tool.
Learning Outcomes
Through this project, I learned:
How MCP works as a communication layer for AI applications
How to create custom MCP tools
How to expose Python functions as AI capabilities
How AI agents can discover and use external tools
The difference between traditional function calls and protocol-based tool access
Future Enhancements
Planned improvements:
Add database MCP tools
Connect MCP server with an AI agent
Add RAG-powered knowledge retrieval tool
Add API integration tools
Add authentication and authorization
Deploy MCP server as a service
Relationship to Previous Projects
This project builds on previous AI engineering concepts:
Project 01 — Basic Tool Use
Agent
|
+-- ToolsProject 02 — RAG Agent
Documents
|
v
Vector Database
|
v
Knowledge RetrievalProject 03 — Multi-Agent Workflow
Orchestrator
|
+-- Research Agent
+-- Writer AgentProject 04 — MCP Server
AI System
|
v
MCP Protocol
|
v
Reusable External ToolsAuthor
AI Engineering Portfolio Project
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.
Latest Blog Posts
- 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/srirdeevi/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server