🎉 Initial release of Obsidian MCP Server plugin
Core Features:
- MCP server implementation with HTTP transport
- JSON-RPC 2.0 message handling
- Protocol version 2024-11-05 support
MCP Tools:
- read_note, create_note, update_note, delete_note
- search_notes, list_notes, get_vault_info
Server Features:
- Configurable HTTP server (default port: 3000)
- Health check and MCP endpoints
- Auto-start option
Security:
- Origin header validation (DNS rebinding protection)
- Optional Bearer token authentication
- CORS configuration
UI:
- Settings panel with full configuration
- Status bar indicator and ribbon icon
- Start/Stop/Restart commands
Documentation:
- Comprehensive README with examples
- Quick Start Guide and Implementation Summary
- Test client script
54 lines
949 B
CSS
54 lines
949 B
CSS
/* MCP Server Plugin Styles */
|
|
|
|
.mcp-status-bar {
|
|
cursor: pointer;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.mcp-server-status {
|
|
margin: 1em 0;
|
|
padding: 1em;
|
|
background-color: var(--background-secondary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mcp-button-container {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.mcp-button-container button {
|
|
padding: 8px 16px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
background-color: var(--interactive-accent);
|
|
color: var(--text-on-accent);
|
|
border: none;
|
|
}
|
|
|
|
.mcp-button-container button:hover {
|
|
background-color: var(--interactive-accent-hover);
|
|
}
|
|
|
|
.mcp-connection-info {
|
|
margin: 1em 0;
|
|
padding: 1em;
|
|
background-color: var(--background-secondary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.mcp-connection-info code {
|
|
display: block;
|
|
margin: 0.5em 0 1em 0;
|
|
padding: 8px;
|
|
background-color: var(--background-primary);
|
|
border-radius: 4px;
|
|
font-family: var(--font-monospace);
|
|
}
|
|
|
|
.mcp-connection-info p {
|
|
margin: 0.5em 0 0.25em 0;
|
|
font-weight: 600;
|
|
}
|