gemini-mcp-server

gemini-mcp-server

3.3

Gemini MCP Server is a multi-context processing server using the Gemini API for analyzing webpages.

The Gemini MCP Server is designed to facilitate the analysis of webpages by capturing screenshots and extracting metadata. It provides a robust API that allows users to process webpages, retrieve screenshots, and access associated data. This server is particularly useful for applications that require visual analysis and metadata tagging of web content. By leveraging the Gemini API, the server can efficiently handle multiple contexts and deliver detailed insights into webpage structures and content.

Features

  • Screenshot and analyze webpages
  • Tag and metadata for screenshots
  • Retrieve screenshots and associated data via API

Usage with Different Platforms

nodejs

javascript
const axios = require('axios');

// Process a webpage
axios.post('http://localhost:3000/process', {
  url: 'https://example.com',
  prompt: 'Describe what you see on this webpage'
})
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});

// Get a screenshot by ID
axios.get('http://localhost:3000/screenshots/123')
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});

// Get screenshots with filters
axios.get('http://localhost:3000/screenshots?tag=initial_load')
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});