0.1.1 • Published 4 months ago

mcp-access-inteligence-search v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

mcp-access-inteligence-search

A Model Context Protocol (MCP) server for integrating with the Agents Backend API. This server provides access intelligence search capabilities using RAG (Retrieval-Augmented Generation).

Features

  • 🔍 Search for access intelligence using RAG (Retrieval-Augmented Generation)
  • 🔒 JWT authentication for secure API access
  • 📝 Returns access intelligence results as comma-separated text
  • 🧠 Support for optional context to improve search relevance

Configuration

This server requires configuration through your MCP client. Here are examples for different environments:

Cline Configuration

Add this to your Cline MCP settings:

{
	"mcpServers": {
		"mcp-access-inteligence-search": {
			"command": "env",
			"args": [
				"JWT_TOKEN=your-jwt-token",
				"npx",
				"-y",
				"mcp-access-inteligence-search"
      ]
		}
	}
}

Claude Desktop Mac OS Configuration

For Mac OS environments, add this to your Claude Desktop configuration:

Edit file ~/Library/Application\ Support/Claude/claude_desktop_config.json and add the following:

{
	"mcpServers": {
		"mcp-access-inteligence-search": {
			"command": "env",
			"args": [
				"JWT_TOKEN=your-jwt-token",
				"npx",
				"-y",
				"mcp-access-inteligence-search"
			]
		}
	}
}

Claude Desktop with WSL Configuration

For WSL environments, add this to your Claude Desktop configuration:

{
	"mcpServers": {
		"mcp-access-inteligence-search": {
			"command": "wsl.exe",
			"args": [
				"bash",
				"-c",
				"source ~/.nvm/nvm.sh && JWT_TOKEN=your-jwt-token /home/username/.nvm/versions/node/v20.12.1/bin/npx mcp-access-inteligence-search"
			]
		}
	}
}

Environment Variables

The server requires the following environment variable:

  • JWT_TOKEN: Your JWT token for the Agents Backend API (required)

API

The server implements a single MCP tool with configurable parameters:

rag_search

Search for templates using the RAG (Retrieval-Augmented Generation) API.

Parameters:

  • query (string, required): The search query to find relevant templates
  • context (array, optional): Optional context strings to help with the search

Development

Setup

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Build the project:
pnpm build
  1. Run in development mode:
pnpm dev

Publishing

The project uses changesets for version management. To publish:

  1. Create a changeset:
pnpm changeset
  1. Version the package:
pnpm changeset version
  1. Publish to npm:
pnpm release

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

MIT License - see the LICENSE file for details.

Acknowledgments