Official Neuronum Tools Library
Project description
Neuronum Tools Library
Getting Started
In this brief getting started guide, you will:
About Neuronum Tools
Neuronum Tools serve as plug and play Servers/Applications that allow ceLLai to connect to external data sources and systems. Neuronum Tools follow standardized MCP (Model Context Protocol) guidelines.
Requirements
- Python >= 3.8
Connect To Neuronum
Installation (optional but recommended: create a virtual environment)
pip install neuronum
Create your Cell (your secure identity):
neuronum create-cell
or
Connect an existing Cell (your secure identity):
neuronum connect-cell
Initialize a Tool
neuronum init-tool
You will be prompted to enter a tool name and description (e.g., "Test Tool" and "A simple test tool"). This will create a new folder named using the format: Tool Name_ToolID (e.g., Test Tool_019ac60e-cccc-7af5-b087-f6fcf1ba1299)
This folder will contain 2 files:
- tool.config - Configuration and metadata for your tool
- tool.py - Your Tool/MCP server implementation
Example tool.config:
{
"tool_meta": {
"tool_id": "019ac60e-cccc-7af5-b087-f6fcf1ba1299",
"version": "1.0.0",
"name": "Test Tool",
"description": "A simple test tool",
"audience": "private",
"logo": "https://neuronum.net/static/logo_new.png"
},
"legals": {
"terms": "https://url_to_your/terms",
"privacy_policy": "https://url_to_your/privacy_policy"
},
"requirements": [],
"variables": []
}
Example tool.py:
"""
Simple Standardized MCP Server Example
Demonstrates the official MCP protocol with stdio transport.
"""
import asyncio
import json
from mcp.server import Server
from mcp.server.stdio import stdio_server
from mcp.types import Tool, TextContent
# Create server instance
app = Server("simple-example")
@app.list_tools()
async def list_tools() -> list[Tool]:
"""List available tools using standard MCP protocol."""
return [
Tool(
name="echo",
description="Echo back a message",
inputSchema={
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "Message to echo back"
}
},
"required": ["message"]
}
)
]
@app.call_tool()
async def call_tool(name: str, arguments: dict) -> list[TextContent]:
"""Handle tool calls using standard MCP protocol."""
if name == "echo":
message = arguments.get("message", "")
return [TextContent(
type="text",
text=f"Echo: {message}"
)]
else:
raise ValueError(f"Unknown tool: {name}")
async def main():
"""Run the MCP server with stdio transport."""
async with stdio_server() as (read_stream, write_stream):
await app.run(
read_stream,
write_stream,
app.create_initialization_options()
)
if __name__ == "__main__":
asyncio.run(main())
Update a Tool
After modifying your tool.config or tool.py files, submit the updates using:
neuronum update-tool
Delete a Tool
To remove a tool from Neuronum:
neuronum delete-tool
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neuronum-12.0.0.tar.gz.
File metadata
- Download URL: neuronum-12.0.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
524f336634d6f3916223994b37e1e808f4f53b06a1d317e48d0b5eede1cb5c31
|
|
| MD5 |
cb699eaab29e43938afdb25d419fc80d
|
|
| BLAKE2b-256 |
1d99462f0e7149e2116b7b101be00c39fc922633a703d3616b54f57da1af9e2e
|
File details
Details for the file neuronum-12.0.0-py3-none-any.whl.
File metadata
- Download URL: neuronum-12.0.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107000a32e367b5eb264e8f1e147c29ededbff8a3b05822ffad98f64846be3e5
|
|
| MD5 |
0f36629a586e674adbe0d796a4f236e7
|
|
| BLAKE2b-256 |
d0e65b54f4f31914adf7895b8b62382faafd86135dc1d19d45260ef1e651e90d
|