Skip to main content
Glama
rspace-os

RSpace MCP Server

Official
by rspace-os

publish_form

Activates RSpace forms to make them available for creating documents. Use this tool to publish forms after creation or modification so they can be used for document generation.

Instructions

Makes a form available for creating documents

Usage: Activate form after creation/modification Note: Forms must be published before they can be used for document creation Returns: Updated form status

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
form_idYes

Implementation Reference

  • main.py:524-534 (handler)
    The core handler function for the 'publish_form' MCP tool. It is decorated with @mcp.tool which automatically registers it with the MCP server. The function takes a form_id and delegates to the eln_cli client to publish the form in RSpace, returning the updated form status.
    @mcp.tool(tags={"rspace"}) def publish_form(form_id: int | str) -> dict: """ Makes a form available for creating documents Usage: Activate form after creation/modification Note: Forms must be published before they can be used for document creation Returns: Updated form status """ return eln_cli.publish_form(form_id)
  • main.py:524-524 (registration)
    The @mcp.tool decorator registers the publish_form function as an MCP tool with the 'rspace' tag. FastMCP framework automatically discovers and exposes all such decorated functions.
    @mcp.tool(tags={"rspace"})

Latest Blog Posts

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/rspace-os/rspace-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server