
timescale/tiger-memory-mcp-server
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
간단한 메모리 구현
개요
LLM을 저장하고 검색 할 수있는 간단한 메모리 시스템. 이것은 모델 Context 프로토콜을 통해 LLMs에 초점을 맞춘 도구를 제공합니다. 모든 방법은 MCP 도구 및 REST API 엔드 포인트로 노출됩니다. npm을 실행하여 의존성을 설치하고 프로젝트를 구축합니다. npm run watch를 사용하여 변경 사항을 재구성합니다. .env.sample 파일을 기반으로 .env 파일을 만듭니다. ~/Library/Application Support/Claude/claude desktop config.json 을 작성하여 다음과 같은 항목을 추가하고, 로컬 tiger-memory-mcp-server 프로젝트의 절대 경로를 사용하기 위해, 실제 데이터베이스 자격 증명. Helm 차트를 사용하여 Kubernetes에 배포합니다. 세부 정보의 차트/ 디렉토리를 참조하십시오. 이 서비스는 DNS 이름 tiger-memory-mcp-server.savannah-system.svc.cluster.local을 통해 클러스터의 다른 서비스에 접근할 수 있습니다. 필요한 밀봉 비밀을 만들기 위해 다음을 실행합니다. 정확한 값을 입력해야 합니다.
개요(AI 번역)
LLM을 저장하고 검색 할 수있는 간단한 메모리 시스템. 이것은 모델 Context 프로토콜을 통해 LLMs에 초점을 맞춘 도구를 제공합니다.
API를
모든 방법은 MCP 도구 및 REST API 엔드 포인트로 노출됩니다.
개발
Cloning 및 서버를 로컬로 실행합니다.
건물
npm i 을 실행하여 의존성을 설치하고 프로젝트를 구축합니다. npm run watch를 사용하여 변경을 재구축합니다.
.env]파일을 .env.sample]파일로 만듭니다.
테스트
MCP Inspector는 매우 편리합니다.
| 필드 | 가치 | 인포메이션 인포메이션 | [T4] | | 사령 | [T5] | | 점포 | [T6] |
Claude 데스크탑 테스트
생성/파일 ~/Library/Application Support/Claude/claude_desktop_config.json] 을 추가하기 위해 다음과 같은 항목을 추가하고, 로컬 tiger-memory-mcp-server] 프로젝트에 절대 경로를 사용하는 것을 확인합니다, 그리고 실제 데이터베이스 자격.
배포
Helm 차트를 사용하여 Kubernetes에 배포합니다. chart/] 상세 디렉토리를 참조하십시오.
이 서비스는 DNS 이름 tiger-memory-mcp-server.savannah-system.svc.cluster.local을 통해 클러스터의 다른 서비스에 접근할 수 있습니다.
데이터베이스 설정
데이터베이스 사용자 만들기:
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Tiger Memory MCP Server
A simple memory system designed to allow LLMs to store and retrieve information. This provides some focused tools to LLMs via the Model Context Protocol.
API
All methods are exposed as MCP tools and REST API endpoints.
Development
Cloning and running the server locally.
git clone [email protected]:timescale/tiger-memory-mcp-server.git
Building
Run npm i to install dependencies and build the project. Use npm run watch to rebuild on changes.
Create a .env file based on the .env.sample file.
cp .env.sample .env
Testing
The MCP Inspector is very handy.
npm run inspector
| Field | Value |
|---|---|
| Transport Type | STDIO |
| Command | node |
| Arguments | dist/index.js |
Testing in Claude Desktop
Create/edit the file ~/Library/Application Support/Claude/claude_desktop_config.json to add an entry like the following, making sure to use the absolute path to your local tiger-memory-mcp-server project, and real database credentials.
{
"mcpServers": {
"tiger-memory": {
"command": "node",
"args": [
"/absolute/path/to/tiger-memory-mcp-server/dist/index.js",
"stdio"
],
"env": {
"PGHOST": "x.y.tsdb.cloud.timescale.com",
"PGDATABASE": "tsdb",
"PGPORT": "32467",
"PGUSER": "readonly_mcp_user",
"PGPASSWORD": "abc123"
}
}
}
}
Deployment
We use a Helm chart to deploy to Kubernetes. See the chart/ directory for details.
The service is accessible to other services in the cluster via the DNS name tiger-memory-mcp-server.savannah-system.svc.cluster.local.
Database setup
Creating the database user:
CREATE USER tiger_memory WITH PASSWORD 'secret';
GRANT CREATE ON DATABASE tsdb TO tiger_memory;
Secrets
Run the following to create the necessary sealed secrets. Be sure to fill in the correct values.
kubectl -n savannah-system create secret generic tiger-memory-mcp-server-database \
--dry-run=client \
--from-literal=user="tiger_memory" \
--from-literal=password="secret" \
--from-literal=database="tsdb" \
--from-literal=host="x.y.tsdb.cloud.timescale.com" \
--from-literal=port="32467" \
-o yaml | kubeseal -o yaml
# https://logfire-us.pydantic.dev/tigerdata/tigerdata/settings/write-tokens
kubectl -n savannah-system create secret generic tiger-memory-mcp-server-logfire \
--dry-run=client \
--from-literal=token="pylf_v1_us_" \
-o yaml | kubeseal -o yaml
# https://login.tailscale.com/admin/settings/keys
kubectl -n savannah-system create secret generic tiger-memory-mcp-server-tailscale \
--dry-run=client \
--from-literal=authkey="tskey-auth-" \
-o yaml | kubeseal -o yaml
Update ./chart/values/dev.yaml with the output.
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"tiger-memory": {
"command": "node",
"args": [
"/absolute/path/to/tiger-memory-mcp-server/dist/index.js",
"stdio"
],
"env": {
"PGHOST": "x.y.tsdb.cloud.timescale.com",
"PGDATABASE": "tsdb",
"PGPORT": "32467",
"PGUSER": "readonly_mcp_user",
"PGPASSWORD": "abc123"
}
}
}
}