Integrations
Uses .env files for configuration management, allowing customization of server settings through environment variables.
Built on the Django framework for web application development, providing the foundation for the MCP server's functionality including user authentication, admin interface, and database interactions.
Supports containerized deployment using Docker and Docker Compose, enabling consistent and isolated execution across different environments.
MCP Server
A Django-based implementation of the Model Context Protocol (MCP) for managing political preferences and visions for the future.
Features
- User authentication with JWT
- Agent-based architecture
- Context blocks for storing political preferences and beliefs
- Fine-grained permission system
- Vector embeddings for semantic search
Prerequisites
- Docker and Docker Compose
- Python 3.9+
Getting Started
- Clone the repository:Copy
- Copy the example environment file:Copy
- Update the
.env
file with your configuration. - Build and start the services:Copy
- Run database migrations:Copy
- Create a superuser:Copy
- Access the admin interface at
http://localhost:8000/admin/
Project Structure
mcp_server/
- Main Django project settingsusers/
- User authentication and managementagents/
- MCP agent definitionsmemories/
- Context blocks and memory managementpermissions/
- Fine-grained access controlembeddings/
- Vector embeddings and search
API Documentation
API documentation is available at /swagger/
and /redoc/
when running in development mode.
Testing
Run tests with:
License
MIT
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A Django-based implementation of the Model Context Protocol (MCP) for managing political preferences and visions for the future.
Related MCP Servers
- AsecurityAlicenseAqualityModel Context Protocol (MCP) is a new, standardized protocol for managing context between large language models (LLMs) and external systems. In this repository, we provide an installer as well as an MCP Server for Upstash Developer API's.Last updated -165827TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol service that wraps Django's migration commands as MCP endpoints, making it easy to manage migrations across multiple services and integrate with CI/CD pipelines.Last updated -Python
- -security-license-qualityA Model Context Protocol (MCP) server that interacts with system APIs, allowing users to check connections, search employees, register breakfast, and update chemical information by shifts.Last updated -2
- AsecurityAlicenseAqualityModel Context Protocol (MCP) server that provides weather forecast, warnings, water level associated with flood, and earthquake reports from Malaysia Government's Open API.Last updated -4PythonMIT License