peeper-mcp-server
A Model Control Panel (MCP) server for the Peeper application that provides a unified API to interact with various language models.
Added on 3/28/2025
Peeper MCP Server
A Model Control Panel (MCP) server for the Peeper application. This server provides a unified API to interact with various language models.
Features
- Unified API for different AI model providers
- Model discovery endpoint
- Text completion endpoint
- Easy to extend for additional models
Setup
-
Clone this repository
git clone https://github.com/maskedsaqib/peeper-mcp-server.git cd peeper-mcp-server -
Install dependencies
npm install -
Create a
.envfile based on the examplecp .env.example .env -
Add your API keys to the
.envfile -
Start the server
npm startFor development with auto-restart:
npm run dev
API Endpoints
GET /api/models
Returns a list of available models.
POST /api/completion
Generates text completion for the given prompt using the specified model.
Request body:
{
"modelId": "gpt-4",
"prompt": "Your prompt here"
}
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License.
Similar Resources
Developer Tools