
boxpositron/with-context-mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
초시와 AI Agents를 위한 강화된 주.
개요
WithContext는 Obsidian과 함께 일하는 AI Agent에 대한 Project-scoped Notes Management를 제공합니다. 문서, 트랙 변경을 만들고, 지식을 구성합니다. AI 코딩 에이전트는 문서, 회의 노트 및 프로젝트 업데이트를 저장하는 장소가 필요합니다. WithContext는 Obsidian vault에 직접 액세스를 제공합니다. - - 각 프로젝트는 자체 폴더를 가져옵니다, 십자가 오염 없음 - - 에이전트는 frontmatter를 업데이트 할 수 있습니다, 섹션을 대체, prepend/부드 콘텐츠 - - 변경 로그와 todos로 어떤 변경 사항을 추적 - - - 고정 볼트를 청소하기위한 내장 사전 설정 - 일관된 문서에 대한 전문 템플릿 1. Open Obsidian Settings → Community Plugins → Browse 2. 검색 및 설치 3. 플러그인을 활성화하고 API 키 복사 AI 클라이언트의 MCP 구성에 이것을 추가하십시오: Claude Desktop, Cline, 커서, 윈드 서핑, Continue.dev, GitHub Copilot → 이제 AI 에이전트는 MyVault/Projects/에서 메모를 관리하기위한 33 + 도구에 액세스 할 수 있습니다.
개요(AI 번역)
** AI 코딩 에이전트가 노트 스테이킹 앱에 직접 작성합니다. ** WithContext는 Obsidian과 함께 일하는 AI Agent에 대한 Project-scoped Notes Management를 제공합니다. 문서, 트랙 변경을 만들고, 지식을 구성합니다.
왜 withContext?
AI 코딩 에이전트는 문서, 회의 노트 및 프로젝트 업데이트를 저장하는 장소가 필요합니다. WithContext는 Obsidian vault에 직접 액세스를 제공합니다.
- ** 자동 프로젝트 Scoping ** - 각 프로젝트는 자체 폴더를 얻고, 교차 오염 없음
- Smart Editing - 에이전트는 frontmatter를 업데이트할 수 있으며, 섹션을 대체, prepend/append content
- Session Tracking - 변경 로그와 토도로 만드는 내용을 추적
- Intelligent Organization - vaults를 깨끗하게 유지하기위한 내장 사전 설정
- Template System - 일관된 문서에 대한 전문 템플릿
** 한 번 설정. 당신의 AI 대리인은 나머지를 취급합니다.**
빠른 설치
##1. Obsidian REST API 플러그인 설치
- 오픈 Obsidian 설정 → 커뮤니티 플러그인 → 검색
- “Local REST API” 및 설치
- 플러그인을 활성화하고 API 키를 복사
##2. WithContext 설치
##3. AI 클라이언트 구성
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
WithContext MCP Server
Let your AI coding agents write directly to your note-taking apps. WithContext provides project-scoped note management for AI agents working with Obsidian, enabling them to create documentation, track changes, and organize knowledge as they code.
Why WithContext?
Your AI coding agent needs a place to store documentation, meeting notes, and project updates. WithContext gives them direct access to your Obsidian vault with:
- Automatic Project Scoping - Each project gets its own folder, no cross-contamination
- Smart Editing - Agents can update frontmatter, replace sections, prepend/append content
- Session Tracking - Track what changes the agent makes with changelogs and todos
- Intelligent Organization - Built-in presets for keeping vaults clean
- Template System - Professional templates for consistent documentation
You set it up once. Your AI agent handles the rest.
Quick Setup
1. Install Obsidian REST API Plugin
- Open Obsidian Settings → Community Plugins → Browse
- Search for “Local REST API” and install
- Enable the plugin and copy your API key
2. Install WithContext
npm install -g with-context-mcp
3. Configure Your AI Client
Add this to your AI client’s MCP configuration:
OpenCode (opencode.jsonc):
{
"mcp": {
"with-context": {
"type": "local",
"command": "npx",
"args": ["-y", "with-context-mcp"],
"environment": {
"OBSIDIAN_API_KEY": "{env:OBSIDIAN_API_KEY}",
"OBSIDIAN_API_URL": "{env:OBSIDIAN_API_URL}",
"OBSIDIAN_VAULT": "{env:OBSIDIAN_VAULT}",
"PROJECT_BASE_PATH": "{env:PROJECT_BASE_PATH}",
},
"enabled": true,
},
},
}
Other Clients: Claude Desktop, Cline, Cursor, Windsurf, Continue.dev, GitHub Copilot →
4. Set Environment Variables
export OBSIDIAN_API_KEY="your_api_key_here"
export OBSIDIAN_API_URL="https://127.0.0.1:27124"
export OBSIDIAN_VAULT="MyVault"
export PROJECT_BASE_PATH="Projects"
That’s it! Your AI agent now has access to 33+ tools for managing notes in MyVault/Projects/.
What Your Agent Can Do
Once configured, your AI coding agent can:
- Create and update documentation as it writes code
- Track changes with automatic changelogs and todos
- Organize the vault using intelligent presets
- Edit YAML frontmatter to add tags and metadata
- Search and update existing notes by content or filename
- Generate notes from templates for consistent formatting
- Replace specific sections in markdown files by heading
설치
npx -y with-context-mcp