Emmett-MCP
An extension for Emmett and Emmett55 to build MCP servers.
Note: Emmett-MCP only supports the SSE transport.
In a nutshell
from emmett55 import App
from emmett_mcp import MCP, MCPModule
app = App(__name__)
mcp = app.use_extension(MCP)
mcp_server: MCPModule = app.mcp_module(__name__, "mcp", url_prefix="/mcp")
@mcp_server.resource("echo://{message}")
def echo_resource(message: str) -> str:
return f"Resource echo: {message}"
@mcp_server.tool()
def echo_tool(message: str) -> str:
return f"Tool echo: {message}"
@mcp_server.prompt()
def echo_prompt(message: str) -> str:
return f"Please process this message: {message}"
License
Emmett-MCP is released under BSD license. Check the LICENSE file for more details.
Metadata
Release files for emmett-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| emmett_mcp-0.1.0.tar.gz | 9.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| emmett_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.0 kB
Release files / emmett_mcp-0.1.0.tar.gz
| Download URL | emmett_mcp-0.1.0.tar.gz |
|---|---|
| Size | 9.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95c183b29e2c001fbcd3f5ef201d69b367b0a3de2a370b5035096ad3ab3ba55a
|
|
BLAKE2b-256 checksum How to use checksums |
8eca8c6a877dd06566a4184d1f943ff8a9ed4499d5833995c1db073c93217fc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency logRelease files / emmett_mcp-0.1.0-py3-none-any.whl
| Download URL | emmett_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d6ef00767c74e67f0de5c035d60db2cc09125845de24f8a09642b87e1ebf7dc
|
|
BLAKE2b-256 checksum How to use checksums |
2adbf5bd9c7e1787daced855b276af02c2d4f66af5212dd2375b61829eb19936
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency log