Fire in da houseTop Tip:Paying $100+ per month for Perplexity, MidJourney, Runway, ChatGPT and other tools is crazy - get all your AI tools in one site starting at $15 per month with Galaxy AI Fire in da houseCheck it out free

Vibe-Model-Context-Protocol-Server

MCP.Pizza Chef: non-npc

Vibe Model Context Protocol Server is a Python-based MCP server designed for managing and analyzing code context in real time to support AI-assisted software development. It features automatic file change detection, project structure and dependency analysis, secure JWT authentication, and a RESTful API for seamless context management. Cross-platform compatible, it enables developers to integrate rich, up-to-date code context into AI workflows without subscription API costs.

Use This MCP server To

Provide real-time code context for AI-assisted coding tools Automatically detect and analyze file changes in projects Retrieve project structure and dependencies for context-aware development Securely manage authentication and authorization for context access Integrate with IDEs or development environments via RESTful API Support cross-platform development workflows on Windows, Linux, and macOS

README

Vibe Model Context Protocol Server (VMCPS)

A Python-based server for managing and analyzing code context for AI-assisted development. Vibe Model Context Protocol Server Screenshot

Features

  • Real-time code analysis and context generation
  • Automatic file change detection
  • Secure authentication and authorization
  • RESTful API for context management
  • Project structure analysis
  • Dependency tracking
  • Cross-platform support (Windows, Linux, macOS)

API Endpoints

  • POST /token - Get authentication token
  • POST /analyze - Analyze a project
  • GET /context - Get context for a file or project
  • GET /dependencies - Get project dependencies
  • GET /structure - Get project structure

Security

  • JWT-based authentication
  • Password hashing with bcrypt
  • CORS protection
  • Environment-based configuration

Installation

  1. Clone the repository:
git clone https://github.com/non-npc/Vibe-Model-Context-Protocol-Server.git
cd mcps
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure environment variables:
  • Copy .env.example to .env
  • Update the values in .env as needed

Example API Usage (curl commands)

Start the server:

python -m mcps.main
  1. Get token:
curl -X POST "http://localhost:8000/token" -H "Content-Type: application/x-www-form-urlencoded" -d "username=admin&password=admin"
  1. Analyze project (replace with actual token):
curl -X POST "http://localhost:8000/analyze" -H "Authorization: Bearer <token>" -H "Content-Type: application/json" -d '{"project_path": "/path/to/your/project"}'
  1. Get context:
curl -X GET "http://localhost:8000/context" -H "Authorization: Bearer <token>"

Access the API:

  • The server will be running at http://localhost:8000
  • API documentation is available at http://localhost:8000/docs

Development

  1. Install development dependencies:
pip install -r requirements-dev.txt
  1. Run tests:
pytest

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

MIT License

Vibe-Model-Context-Protocol-Server FAQ

How does Vibe-Model-Context-Protocol-Server handle authentication?
It uses JWT-based authentication with password hashing via bcrypt and CORS protection for secure access.
Can I use Vibe-Model-Context-Protocol-Server on different operating systems?
Yes, it supports Windows, Linux, and macOS platforms.
What API endpoints does the server provide?
It offers endpoints for token generation, project analysis, context retrieval, dependency listing, and project structure fetching.
How does the server detect changes in code files?
It features automatic file change detection to keep context data up to date in real time.
Is the server suitable for integration with AI models like OpenAI, Claude, or Gemini?
Yes, it provides structured code context that can be fed into models like OpenAI, Claude, and Gemini for enhanced AI-assisted development.
What security measures are implemented in the server?
The server uses JWT authentication, bcrypt password hashing, CORS protection, and environment-based configuration for security.
How do I install the Vibe-Model-Context-Protocol-Server?
Clone the GitHub repository, then follow the setup instructions including environment configuration and dependency installation.
Does the server support multi-project or monorepo analysis?
Yes, it can analyze entire projects including their structure and dependencies for comprehensive context.