
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
with-context-mcp
Advanced tools
MCP server for project-scoped note management across multiple note-taking apps (Obsidian, and more)
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.
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:
You set it up once. Your AI agent handles the rest.
npm install -g with-context-mcp
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 →
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/.
Once configured, your AI coding agent can:
You don't need to learn the tools. Your AI agent will use them automatically when it needs to document something, track a change, or organize notes.
When your AI agent works on a feature, it might:
start_session({ project_folder: 'my-app' })write_note({ path: 'docs/api.md', content: '...' })add_changelog_entry({ type: 'feature', message: 'Add user API' })add_todo({ content: 'Write integration tests' })update_frontmatter({ path: 'docs/api.md', frontmatter: { status: 'draft' } })Your vault automatically stays organized in:
MyVault/Projects/my-app/
├── docs/api.md
└── CHANGELOG.md
Setup: Installation & Setup • Configuration
Reference: All Tools • Common Workflows • Sessions • Vault Organization
Your AI agent has access to 33 tools across 6 categories:
| Category | Tools |
|---|---|
| Core | write, read, list, search, delete, batch_write, get_metadata |
| Editing | update_frontmatter, replace_section |
| Sessions | start, pause, resume, end, status, changelog, todos, commit_suggestion |
| Organization | analyze_structure, generate_plan, reorganize |
| Config | setup, validate, preview, ingest, teleport, sync |
| Templates | list_templates, create_from_template |
Connection Issues?
Ensure Obsidian is running, Local REST API plugin is enabled, and OBSIDIAN_API_URL matches the plugin port (default: 27124)
Authentication Failed?
Verify OBSIDIAN_API_KEY from plugin settings and check for extra spaces
Path Errors?
Use relative paths only (no ../ or absolute paths) - all paths are relative to your project folder
Contributions welcome! Fork the repository, create a feature branch, add tests, and submit a pull request.
npm: with-context-mcp • GitHub: boxpositron/with-context-mcp • Issues: Report bugs or request features
Made for AI coding agents and the humans who work with them
FAQs
MCP server for project-scoped note management across multiple note-taking apps (Obsidian, and more)
The npm package with-context-mcp receives a total of 38 weekly downloads. As such, with-context-mcp popularity was classified as not popular.
We found that with-context-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.