Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add docsmint --env HIAI_DOCS_API_KEY='<HIAI_DOCS_API_KEY>' -- npx -y @hiai-gg/docsmint~/.codex/config.toml
[mcp_servers.docsmint]
command = "npx"
args = ["-y", "@hiai-gg/docsmint"]
env = { HIAI_DOCS_API_KEY = "<HIAI_DOCS_API_KEY>" }
# codex mcp add docsmint --env HIAI_DOCS_API_KEY='<HIAI_DOCS_API_KEY>' -- npx -y @hiai-gg/docsmint~/.cursor/mcp.json
{
"mcpServers": {
"docsmint": {
"command": "npx",
"args": [
"-y",
"@hiai-gg/docsmint"
],
"env": {
"HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"docsmint": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hiai-gg/docsmint"
],
"env": {
"HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"docsmint": {
"command": "npx",
"args": [
"-y",
"@hiai-gg/docsmint"
],
"env": {
"HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"docsmint": {
"command": "npx",
"args": [
"-y",
"@hiai-gg/docsmint"
],
"env": {
"HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"docsmint": {
"command": "npx",
"args": [
"-y",
"@hiai-gg/docsmint"
],
"env": {
"HIAI_DOCS_API_KEY": "<HIAI_DOCS_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http docsmint https://docsmint.com/mcp --header 'Authorization: <AUTHORIZATION>'~/.codex/config.toml
[mcp_servers.docsmint]
url = "https://docsmint.com/mcp"
http_headers = { Authorization = "<AUTHORIZATION>" }
# codex mcp add docsmint --url https://docsmint.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"docsmint": {
"url": "https://docsmint.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"docsmint": {
"type": "http",
"url": "https://docsmint.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"docsmint": {
"httpUrl": "https://docsmint.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"docsmint": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://docsmint.com/mcp",
"--header",
"Authorization:<AUTHORIZATION>"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"docsmint": {
"url": "https://docsmint.com/mcp",
"headers": {
"Authorization": "<AUTHORIZATION>"
}
}
}
}Environment variables
HIAI_DOCS_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.