{"id":28138580,"url":"https://github.com/johnib/ravendb-mcp","last_synced_at":"2025-05-14T17:15:22.676Z","repository":{"id":292426283,"uuid":"980729888","full_name":"johnib/ravendb-mcp","owner":"johnib","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-09T21:54:12.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T22:31:15.573Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-09T16:02:15.000Z","updated_at":"2025-05-09T21:54:16.000Z","dependencies_parsed_at":"2025-05-09T22:41:27.891Z","dependency_job_id":null,"html_url":"https://github.com/johnib/ravendb-mcp","commit_stats":null,"previous_names":["johnib/ravendb-mcp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2Fravendb-mcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2Fravendb-mcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2Fravendb-mcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnib%2Fravendb-mcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnib","download_url":"https://codeload.github.com/johnib/ravendb-mcp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254190408,"owners_count":22029637,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-14T17:14:34.074Z","updated_at":"2025-05-14T17:15:22.664Z","avatar_url":"https://github.com/johnib.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RavenDB MCP Server\n\nA Model Context Protocol (MCP) server that enables AI assistants to interact with RavenDB databases through a standardized interface.\n\n## Overview\n\nThis MCP server allows AI assistants to perform common RavenDB operations including:\n\n- Connection management\n- Database selection\n- Collection listing\n- Index management\n- Document operations (get, store, delete)\n- RQL queries\n\n## Requirements\n\n- Node.js 16+\n- RavenDB 7.x\n- Authentication using non-secured mode (no authentication)\n\n## Installation\n\n```bash\n# Install globally\nnpm install -g ravendb-mcp\n\n# Or run directly with npx\nnpx ravendb-mcp\n```\n\n## Configuration\n\n### Server Configuration\n\nConfigure the server using environment variables or a `.env` file:\n\n```\n# Authentication Method (Only non-secured mode is supported)\nRAVENDB_AUTH_METHOD=none\n\n# Connection\nRAVENDB_URL=http://your-ravendb-server:port\n\n# Optional settings\nRAVENDB_QUERY_TIMEOUT=30000  # Query timeout in milliseconds (optional)\n```\n\n### Cline MCP Configuration\n\nTo configure this MCP server for use with Cline AI, add the following to your MCP configuration:\n\n#### Non-secured Mode Configuration\n\n```json\n{\n  \"mcpServers\": {\n    \"github.com/johnib/ravendb-mcp\": {\n      \"disabled\": false,\n      \"timeout\": 60,\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"ravendb-mcp\"],\n      \"env\": {\n        \"RAVENDB_AUTH_METHOD\": \"none\",\n        \"RAVENDB_URL\": \"http://your-ravendb-server:port\"\n      },\n      \"transportType\": \"stdio\"\n    }\n  }\n}\n```\n\nYou can customize the environment variables based on your specific RavenDB setup.\n\n## Available Tools\n\n### Connection Tools\n\n#### initialize-connection\n\nEstablishes a connection to a RavenDB server.\n\n```json\n{\n  \"server_url\": \"https://your-ravendb-server:port\",\n  \"database\": \"YourDatabase\"\n}\n```\n\n#### select-database\n\nSwitches to a specific database context.\n\n```json\n{\n  \"database\": \"AnotherDatabase\"\n}\n```\n\n### Exploration Tools\n\n#### show-collections\n\nLists all collections in the current database.\n\n```json\n{}\n```\n\n#### show-indexes\n\nLists all indexes in the current database.\n\n```json\n{}\n```\n\n### Document Operations\n\n#### get-document\n\nRetrieves a document by ID.\n\n```json\n{\n  \"id\": \"employees/1\"\n}\n```\n\n#### store-document\n\nCreates or updates a document.\n\n```json\n{\n  \"document\": {\n    \"name\": \"John Doe\",\n    \"email\": \"john@example.com\",\n    \"department\": \"Engineering\"\n  },\n  \"id\": \"employees/1\"  // Optional, will be generated if not provided\n}\n```\n\n#### delete-document\n\nDeletes a document by ID.\n\n```json\n{\n  \"id\": \"employees/1\"\n}\n```\n\n### Query Operations\n\n#### query-documents\n\nExecutes RQL queries with results handling.\n\n```json\n{\n  \"query\": \"from Employees where department = 'Engineering'\"\n}\n```\n\n## Example Usage\n\nHere's a typical workflow for interacting with the RavenDB MCP server through an AI assistant:\n\n1. **Connect to the database**\n\n   ```\n   Use the initialize-connection tool to connect to your RavenDB server\n   ```\n\n2. **Explore the database structure**\n\n   ```\n   Use show-collections to see what collections are available\n   ```\n\n3. **Retrieve documents**\n\n   ```\n   Use get-document to fetch specific documents by ID\n   ```\n\n4. **Run queries**\n\n   ```\n   Use query-documents to execute RQL queries\n   ```\n\n5. **Modify data**\n\n   ```\n   Use store-document to create or update documents\n   Use delete-document to remove documents\n   ```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build the project\nnpm run build\n\n# Run in development mode\nnpm run dev\n\n# Test with the MCP inspector\nnpm run inspector\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnib%2Fravendb-mcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnib%2Fravendb-mcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnib%2Fravendb-mcp/lists"}