Skip to content

examples: add fast/smart, schema, and MCP configs - #6

Merged
0xspacecreated merged 3 commits into
mainfrom
cursor/neuroapi-examples-f8a8
Oct 28, 2026
Merged

0xspacecreated merged 3 commits into
mainfrom
cursor/neuroapi-examples-f8a8

Conversation

@0xspacecreated

@0xspacecreated 0xspacecreated commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

What this adds

Two Python recipes and MCP client configs. Keys come from NEUROAPI_KEY or a client secret prompt. No key is written into a URL or a file.

  • examples/07_fast_and_smart.py — one prompt, mode fast then smart. The response includes mode.
  • examples/08_output_schema.py — JSON Schema on output_schema, stream: false, mode: smart, then a local Pydantic check of output.
  • examples/mcp/ — Claude Code, Cursor, and VS Code configs for https://api.neurobro.ai/api/v1/mcp.

Python 3.9 stays the floor for the httpx recipes. .github/workflows/ci.yml, .gitignore, and CONTRIBUTING.md match main.

Sources

Wording follows the public docs:

How it was tested

On Python 3.9, the same checks as the Python job in .github/workflows/ci.yml:

  • uv run ruff check examples/
  • uv run ruff format --check examples/
  • uv run python -m compileall -q examples/

The three MCP JSON files parse. No live NEUROAPI_KEY was used, so these recipes were not run against a successful agent response.

Open in Web Open in Cursor 

Add runnable fast/smart and JSON Schema calls, TypeScript sync and
multi-turn clients, MCP configs for Claude Code, Cursor, and VS Code,
a Python MCP client, and a Pydantic AI toolset. Surface the MCP setup
near the top of the README.

Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
@cursor
cursor Bot marked this pull request as draft October 28, 2026 05:40
Drop the TypeScript recipes, the Pydantic AI MCP example, and the
typescript CI job. Restore .gitignore and CONTRIBUTING.md to main.
Point the READMEs only at the three remaining recipes.

Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
@cursor cursor Bot changed the title examples: add TypeScript, schema, mode, and MCP recipes examples: add fast/smart, schema, and MCP recipes Oct 28, 2026
Remove the unverified MCP client and its requirements pin. Keep fast/smart,
output schema, and the three documented MCP client configs. Docs use only
the public MCP URL.

Co-authored-by: Vlad Yashin <0xspacecreated@users.noreply.github.com>
@cursor cursor Bot changed the title examples: add fast/smart, schema, and MCP recipes examples: add fast/smart, schema, and MCP configs Oct 28, 2026

@0xspacecreated 0xspacecreated left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good

@0xspacecreated
0xspacecreated marked this pull request as ready for review October 28, 2026 05:59
@0xspacecreated
0xspacecreated merged commit f43b87f into main Oct 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants