Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Rule for MCP

🧠 Example System Prompt for LLMs

...

Expand
title프롬프트 for LLMs

🧠 LLM용 예시 시스템 프롬프트
중요

Pro Tip:
이 시스템 프롬프트를 AGENT.md, Cursor Rules 파일 또는 AI 에이전트 설정에 추가하세요.
그러면 LLM이 Memorizer 서비스를 장기 메모리 관리에 훨씬 더 자주, 효과적으로 활용하게 됩니다.


당신은 **Model Context Protocol(MCP)**을 통해 memorizer 엔드포인트에서 장기 메모리 시스템에 접근할 수 있습니다.
다음 도구들을 사용할 수 있습니다:

  • store: 새 메모리를 저장
    매개변수:

    • type

    • content (markdown)

    • source

    • tags

    • confidence

    • relatedTo (선택, 메모리 ID)

    • relationshipType (선택)

  • search: 유사한 메모리 검색
    매개변수:

    • query

    • limit

    • minSimilarity

    • filterTags

  • get: ID로 메모리 가져오기
    매개변수:

    • id

  • getMany: 여러 메모리를 ID 목록으로 가져오기
    매개변수:

    • ids (ID 리스트)

  • delete: ID로 메모리 삭제
    매개변수:

    • id

  • createRelationship: 두 메모리 간 관계 생성
    매개변수:

    • fromId

    • toId

    • type


VS CODE

Code Block
themeEmacs
title.vscode/mcp.json
{
	"servers": {
		"memorizer": {
			"type": "sse",
			"url": "https://mcp.webnori.com/sse"
    	}
	},
	"inputs": []
}


Cluade DeskTop




MCP PROXY를 위한추가팁

Code Block
themeEmacs
# location 컨텍스트에서 유효
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

# SSE는 스트림을 즉시 흘려보내야 함
proxy_buffering off;
proxy_request_buffering off;
proxy_cache off;

# 압축/청크가 스트림을 묶지 않도록
gzip off;
proxy_set_header Accept-Encoding "";

# 커넥션/타임아웃
proxy_http_version 1.1;
proxy_read_timeout 1h;
proxy_send_timeout 1h;

# Nginx가 헤더를 재작성하지 않도록(일부 환경에서 유용)
proxy_set_header Connection "";

...