# Gemini MCP Client A TypeScript client library for interacting with Gemini MCP (Multi-Cloud Platform) services. ## Installation ```bash npm install gemini-mcp ``` ## Features - TypeScript support out of the box - Promise-based API - Comprehensive type definitions - Easy integration with Node.js applications ## Usage ```typescript import { ClientMCP } from 'gemini-mcp'; // Create a new instance const client = new ClientMCP({ apiKey: 'your-api-key', baseUrl: 'https://api.gemini-mcp.com/v1' }); // Use the client async function getBlogs() { try { const blogs = await client.getBlogs(); console.log(blogs); } catch (error) { console.error('Error fetching blogs:', error); } } getBlogs(); ``` ## API Reference ### `new ClientMCP(config: ClientMCPConfig)` Creates a new Gemini MCP client instance. #### Parameters - `config` (Object): Configuration object - `apiKey` (string): Your Gemini MCP API key - `baseUrl` (string): Base URL for the API (default: 'https://api.gemini-mcp.com/v1') - `timeout` (number): Request timeout in milliseconds (default: 30000) ### Methods #### `getBlogs(): Promise` Fetches all blogs for the authenticated user. #### `getBlog(id: string): Promise` Fetches a specific blog by ID. #### `createBlog(blog: BlogCreate): Promise` Creates a new blog. ## Development 1. Clone the repository 2. Install dependencies: ```bash npm install ``` 3. Build the project: ```bash npm run build ``` 4. Run tests: ```bash npm test ``` ## License MIT