Inkbloc MCP Server
MCP server for Inkbloc - a collaborative document workspace with interactive AI-powered blocks.
Setup
1. Get an API key
Sign up at inkbloc.ai, create a workspace, then go to Settings > API Keys to generate a key.
2. Install
npm install -g inkbloc-mcp
3. Configure Claude Code
Add to your .mcp.json:
{
"mcpServers": {
"inkbloc": {
"command": "npx",
"args": ["inkbloc-mcp"],
"env": {
"INKBLOC_API_KEY": "ink_your_key_here"
}
}
}
}
Tools
Documents
- list_documents - List all documents in the workspace
- create_document - Create a new document (auto-placed in workspace)
- get_document - Get a document and all its blocks
- update_document - Update document title
- delete_document - Permanently delete a document
- share_document - Set sharing (restricted or anyone with link)
- get_document_url - Get the editor URL
Blocks
- add_text_block - Add rich text (Tiptap JSON format)
- add_html_block - Add interactive HTML visualization
- add_table_block - Add a data table with columns and rows
- add_blocks - Add multiple blocks in one call
- update_block - Update block content
- delete_block - Delete a block
- reorder_blocks - Reorder blocks by sort order
AI Generation
- generate_visualization - Generate an interactive chart/visualization with AI and add it to a document
- generate_html - Generate HTML with AI for preview before adding
- preview_html - Save HTML to a temp file for local preview
Environment Variables
INKBLOC_API_KEY | Yes | Your Inkbloc API key (starts with ink_) |
INKBLOC_API_URL | No | API base URL (default: https://inkbloc.ai) |
Examples
"Create a new document called Q1 Analysis"
"Add a bar chart comparing revenue across regions to my Q1 Analysis doc"
"List all my documents"
"Add a data table with company names and valuations"
Links
- Inkbloc - Collaborative document workspace
- Inktype - Interactive publishing platform (sister product)