fast-note-sync-mcp
Provides tools to interact with the Fast Note Sync REST API, enabling management of Obsidian vaults, notes, folders, frontmatter, and more, including reading, writing, searching, organizing, and version history of notes.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fast-note-sync-mcplist my vaults"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fast-note-sync-mcp
Servidor MCP em Python para expor a REST API do Fast Note Sync como ferramentas MCP via FastMCP.
O projeto funciona como um wrapper entre clientes MCP e o backend fast-note-sync-service, permitindo consultar e editar o vault _Obsidian por stdio ou via transporte HTTP do fastmcp.
Visao Geral
Fluxo principal:
Cliente MCP
-> server.py (FastMCP + httpx)
-> REST API Fast Note Sync
-> vault _ObsidianO arquivo principal do projeto e server.py, que:
carrega configuracao de
.envmonta headers obrigatorios da API
encapsula chamadas HTTP com
httpxpublica as tools MCP com
@mcp.tool
Related MCP server: obsidian-local-mcp
Requisitos
Python 3.11 ou superior
acesso ao backend Fast Note Sync
token valido em
API_TOKEN
Dependencias Python usadas pelo projeto:
fastmcphttpx
Instalacao
Exemplo com venv:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtConfiguracao
O projeto le automaticamente o arquivo .env no mesmo diretorio do server.py.
Comece copiando o arquivo de exemplo:
cp .env.example .envExemplo:
API_BASE_URL=http://seu-servidor:9009/api
API_TOKEN=seu_token_aqui
API_TIMEOUT_SECONDS=20Variaveis suportadas:
API_BASE_URL: URL base da REST APIAPI_TOKEN: token Bearer obrigatorioAPI_TIMEOUT_SECONDS: timeout das requisicoes HTTP
Observacoes:
se
API_TOKENnao estiver definido, oserver.pyfalha no startupo arquivo
.envesta ignorado no.gitignore
Execucao
Rodar diretamente com Python:
.venv/bin/python server.pyEsse modo e o mais comum para clientes MCP locais via stdio.
Transporte HTTP
Para expor o MCP via HTTP:
fastmcp run server.py:mcp --transport http --host 0.0.0.0 --port 8001Exemplo De Configuracao MCP
Exemplo generico para clientes que aceitam processo Python:
{
"mcpServers": {
"fast-note-sync": {
"type": "python",
"command": "/caminho/para/.venv/bin/python",
"args": [
"/caminho/para/fast-note-sync-mcp/server.py"
]
}
}
}Exemplo de configuracao no Hermes:
mcp_servers:
fast-note-sync:
command: /caminho/para/.venv/bin/python
args:
- /caminho/para/fast-note-sync-mcp/server.py
enabled: trueTools Expostas
O server.py atualmente expoe 36 tools MCP, agrupadas nestas categorias:
Sistema:
health_check,get_version,get_webgui_config,get_user_infoVaults:
list_vaults,get_vault_detailPastas:
get_folder_info,create_folder,delete_folder,get_folder_tree,list_folders,list_folder_notesNotas leitura:
get_note,search_notes,get_note_outlinks,get_note_backlinksNotas escrita:
create_or_update_note,append_to_note,prepend_to_note,replace_in_note,delete_note,restore_noteFrontmatter:
set_note_frontmatter,delete_note_frontmatterOrganizacao:
move_note,rename_noteHistorico:
get_note_history,get_note_history_detailArquivos:
get_file_list,get_file_infoOutras:
list_shares,get_storage_configs,get_enabled_storage_types,get_git_sync_configs,get_system_info,get_backup_configs
Comportamento Importante
set_note_frontmatteresta funcional e envia o valor como lista de um item no payload de updatereplace_in_notesuporta busca literal e regexmove_noteerename_noteusam o mesmo endpoint backendalgumas tools podem depender das permissoes do token usado no backend
Teste Rapido
Validar import e carregamento do .env:
.venv/bin/python -c "import server; print(server.API_BASE_URL); print(bool(server.API_TOKEN))"Testar health check:
.venv/bin/python - <<'PY'
import json
import server
print(json.dumps(server.health_check(), ensure_ascii=False, indent=2))
PYEstrutura Atual
fast-note-sync-mcp/
.env
.env.example
.gitignore
requirements.txt
server.py
README.mdSeguranca
nao comite o
.envtrate
API_TOKENcomo credencial sensivelse o token ja tiver sido exposto anteriormente, faca rotacao
Desenvolvimento
Como o projeto esta concentrado em um unico arquivo, a manutencao tipica envolve:
adicionar ou ajustar uma tool em
server.pyvalidar a chamada contra a API real
atualizar este
README.mdse o contrato mudar
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/danieldoalto/mcp-fastnotesync'
If you have feedback or need assistance with the MCP directory API, please join our Discord server