Message Control Protocol (MCP) Server
Supports interaction with the MCP server's REST API endpoints using curl commands for creating and retrieving messages
Provides interactive API documentation through Swagger UI, allowing users to explore and test the MCP server's endpoints at http://localhost:8000/docs
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., "@Message Control Protocol (MCP) Servercreate a new message with content 'Meeting scheduled for 2 PM' and priority 2"
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.
Python Project
This is a Python project template with a basic structure.
Project Structure
.
├── README.md
├── requirements.txt
├── src/
│ └── main.py
└── .gitignoreRelated MCP server: Ollama_MCP_Guidance
Setup
Create a virtual environment (recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activateInstall dependencies:
pip install -r requirements.txt
Running the Project
To run the project:
python src/main.pyDevelopment
Add your Python code in the
srcdirectoryAdd new dependencies to
requirements.txtUpdate this README as needed
MCP Server with Oracle Database Integration
This is a Message Control Protocol (MCP) server implementation that provides a REST API for message handling with Oracle Database integration using ODBC.
Prerequisites
Python 3.8 or higher
Oracle Client installed and configured
ODBC Driver for Oracle installed
Installation
Clone the repository
Install the required dependencies:
pip install -r requirements.txtConfigure the database connection:
Update the database settings in
config.pyMake sure your Oracle ODBC driver is properly configured
Database Setup
Create the messages table in your Oracle database:
CREATE TABLE messages (
id NUMBER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
content VARCHAR2(4000) NOT NULL,
priority NUMBER DEFAULT 1,
metadata VARCHAR2(4000),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);Running the Server
Start the server with:
python main.pyThe server will start on http://localhost:8000 by default.
API Endpoints
POST /messages/- Create a new messageGET /messages/- Retrieve all messagesGET /health- Health check endpoint
API Documentation
Once the server is running, you can access the interactive API documentation at:
Swagger UI: http://localhost:8000/docs
ReDoc: http://localhost:8000/redoc
Example Usage
Create a new message:
curl -X POST "http://localhost:8000/messages/" \
-H "Content-Type: application/json" \
-d '{"content": "Test message", "priority": 1, "metadata": {"key": "value"}}'Get all messages:
curl "http://localhost:8000/messages/"Error Handling
The server includes comprehensive error handling for:
Database connection issues
Query execution errors
Invalid input data
Server health monitoring
Security Considerations
Update the default configuration in
config.pywith your secure credentialsConsider implementing authentication and authorization
Use HTTPS in production
Implement rate limiting for production use
This server cannot be installed
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
- Flicense-qualityDmaintenanceFacilitates interaction with a local MySQL database via a RESTful API, supporting database queries and real-time updates with integration for Cursor MCP services.Last updated4
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides standardized interfaces for interacting with Ollama API, offering JSON responses, error handling, and intelligent guidance for LLM-based API calls.Last updated9MIT
- Alicense-qualityDmaintenanceA Model Context Protocol Server that enables LLMs to interact with Oracle Database by providing database tables/columns as context, allowing users to generate SQL statements and retrieve results using natural language prompts.Last updated35Apache 2.0
- Alicense-qualityDmaintenanceA Model Context Protocol server that provides contextual Oracle database schema information, enabling AI assistants to understand and work with large databases containing thousands of tables.Last updated2MIT
Related MCP Connectors
MCP server for InsForge BaaS — database, storage, edge functions, and deployments
Hive MCP server implementing the EIP-712 over USB/DMK ledger-bridge integration spec…
A basic MCP server to operate on the Postman API.
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/avhrst/mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server