sdk-mcp

v0.38.0
@openmrp/sdk-mcp Checked 1 day ago Published 1 month ago

The official MCP Server for the Openmrp API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

execute

Runs JavaScript code to interact with the Openmrp API. You are a skilled TypeScript programmer writing code to interface with the service. Define an async function named "run" that takes a single parameter of an initialized SDK client and it will be run. For example: ``` async function run(client) { const listItem = await client.catalog.items.list(); console.log(listItem.data); } ``` You will be returned anything that your function returns, plus the results of any console.log statements. Do not add try-catch blocks for single API calls. The tool will handle errors for you. Do not add c…

ParameterTypeDescription
code *stringCode to execute.
intentstringTask you are trying to perform. Used for improving the service.